assets/rakelib/ruboto.rake in ruboto-1.6.0 vs assets/rakelib/ruboto.rake in ruboto-1.6.1
- old
+ new
@@ -662,12 +662,10 @@
env_home = ENV['GEM_HOME']
env_path = ENV['GEM_PATH']
# Override RUBY_ENGINE (we can bundle from MRI for JRuby)
Gem.platforms = [Gem::Platform::RUBY, Gem::Platform.new("universal-dalvik-#{sdk_level}"), Gem::Platform.new('universal-java')]
- ENV['GEM_HOME'] = BUNDLE_PATH
- ENV['GEM_PATH'] = BUNDLE_PATH
- Gem.paths = BUNDLE_PATH
+ Gem.paths = {'GEM_HOME' => BUNDLE_PATH, 'GEM_PATH' => BUNDLE_PATH}
Gem.refresh
old_verbose, $VERBOSE = $VERBOSE, nil
begin
Object.const_set('RUBY_ENGINE', 'jruby')
Object.const_set('JRUBY_VERSION', '7.7.7') unless defined?(JRUBY_VERSION)