diff --git a/lib/ruby/shared/rubygems/defaults/jruby.rb b/lib/ruby/shared/rubygems/defaults/jruby.rb index 0fa6467..b555b0f 100644 --- a/lib/ruby/shared/rubygems/defaults/jruby.rb +++ b/lib/ruby/shared/rubygems/defaults/jruby.rb @@ -36,25 +36,6 @@ module Gem end end - # Default home directory path to be used if an alternate value is not - # specified in the environment. - # - # JRuby: We don't want gems installed in lib/jruby/gems, but rather - # to preserve the old location: lib/ruby/gems. - def self.default_dir - dir = RbConfig::CONFIG["default_gem_home"] - dir ||= File.join(ConfigMap[:libdir], 'ruby', 'gems', 'shared') - dir - end - - # Default locations for RubyGems' .rb and bin files - def self.default_rubygems_dirs - [ - File.join(ConfigMap[:libdir], 'ruby', 'shared'), - ConfigMap[:bindir] - ] - end - ## # Is this a windows platform? #