Skip to content
This repository
Browse code

- Honor sysconfdir on 1.8. Fixes #291

  • Loading branch information...
commit c08a42556372675efd48ad027bb398ba9f25a93a 1 parent 2ae7cf8
Evan Phoenix authored March 06, 2012
2  Rakefile
@@ -18,7 +18,7 @@ Hoe::RUBY_FLAGS << " --disable-gems" if RUBY_VERSION > "1.9"
18 18
 
19 19
 Hoe.plugin :minitest
20 20
 Hoe.plugin :git
21  
-Hoe.plugin :isolate
  21
+# Hoe.plugin :isolate
22 22
 
23 23
 hoe = Hoe.spec 'rubygems-update' do
24 24
   self.rubyforge_name = 'rubygems'
2  lib/rubygems/config_file.rb
@@ -68,7 +68,7 @@ class Gem::ConfigFile
68 68
 
69 69
         path.strip
70 70
       rescue LoadError
71  
-        "/etc"
  71
+        RbConfig::CONFIG["sysconfdir"] || "/etc"
72 72
       end
73 73
     end
74 74
 

0 notes on commit c08a425

Please sign in to comment.
Something went wrong with that request. Please try again.