File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed
elasticsearch-persistence Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ namespace :bundle do
3333 gemfiles = ENV [ 'RAILS_VERSIONS' ] ? ENV [ 'RAILS_VERSIONS' ] . split ( ',' ) . map { |v | "#{ v } .gemfile" } : GEMFILES
3434 gemfiles . each do |gemfile |
3535 puts "GEMFILE: #{ gemfile } "
36- Bundler . with_clean_env do
36+ Bundler . with_unbundled_env do
3737 sh "bundle install --gemfile #{ File . expand_path ( '../gemfiles/' +gemfile , __FILE__ ) } "
3838 end
3939 puts '-' * 80
Original file line number Diff line number Diff line change 4040namespace :bundle do
4141 desc 'Install gem dependencies'
4242 task :install do
43- puts '-' * 80
44- Bundler . with_clean_env do
43+ puts '-' * 80
44+ Bundler . with_unbundled_env do
4545 sh 'bundle install'
4646 end
47- puts '-' * 80
47+ puts '-' * 80
4848 end
4949end
5050
Original file line number Diff line number Diff line change 1818require "bundler/gem_tasks"
1919
2020desc "Run unit tests"
21- task : default => 'test:unit'
22- task : test => 'test:unit'
21+ task default : 'test:unit'
22+ task test : 'test:unit'
2323
2424# ----- Test tasks ------------------------------------------------------------
2525
2626require 'rake/testtask'
2727require 'rspec/core/rake_task'
2828
2929namespace :test do
30-
3130 RSpec ::Core ::RakeTask . new ( :spec )
3231
3332 Rake ::TestTask . new ( :all ) do |test |
3433 test . verbose = false
3534 test . warning = false
36- test . deps = [ :spec ] unless defined? ( JRUBY_VERSION )
35+ test . deps = [ :spec ] unless defined? ( JRUBY_VERSION )
3736 end
3837end
3938
4039namespace :bundle do
4140 desc 'Install gem dependencies'
4241 task :install do
43- puts '-' * 80
44- Bundler . with_clean_env do
42+ puts '-' * 80
43+ Bundler . with_unbundled_env do
4544 sh 'bundle install'
4645 end
47- puts '-' * 80
46+ puts '-' * 80
4847 end
4948end
5049
You can’t perform that action at this time.
0 commit comments