Projects

Ticket #574: gem-bindir-to-local.diff

File gem-bindir-to-local.diff, 389 bytes (added by honglilai@…, 2 years ago)
  • lib/rubygems/defaults.rb

    diff --git a/lib/rubygems/defaults.rb b/lib/rubygems/defaults.rb
    index 995b81e..b96d912 100644
    a b  
    5353 
    5454  def self.default_bindir 
    5555    if defined? RUBY_FRAMEWORK_VERSION then # mac framework support 
    56       '/usr/bin' 
     56      '/usr/local/bin' 
    5757    else # generic install 
    5858      ConfigMap[:bindir] 
    5959    end