Projects
openEuler:24.03:SP1:Everything
jruby
_service:tar_scm:jruby-remove-rubygems-dirs-def...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:jruby-remove-rubygems-dirs-definition.patch of Package jruby
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? #
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2