Permalink
Browse files

- Honor sysconfdir on 1.8. Fixes #291

  • Loading branch information...
1 parent 2ae7cf8 commit c08a42556372675efd48ad027bb398ba9f25a93a @evanphx evanphx committed Mar 7, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 Rakefile
  2. +1 −1 lib/rubygems/config_file.rb
View
@@ -18,7 +18,7 @@ Hoe::RUBY_FLAGS << " --disable-gems" if RUBY_VERSION > "1.9"
Hoe.plugin :minitest
Hoe.plugin :git
-Hoe.plugin :isolate
+# Hoe.plugin :isolate
hoe = Hoe.spec 'rubygems-update' do
self.rubyforge_name = 'rubygems'
@@ -68,7 +68,7 @@ class Gem::ConfigFile
path.strip
rescue LoadError
- "/etc"
+ RbConfig::CONFIG["sysconfdir"] || "/etc"
end
end

0 comments on commit c08a425

Please sign in to comment.