summaryrefslogtreecommitdiff
path: root/lib/rubygems/config_file.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-25 01:04:18 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-25 01:04:18 +0000
commit5e3ebde7c8dc9f6fff12a8f69e73aa0ff5ba0556 (patch)
tree8644dc7b622f52106decaf82521b76801dc40223 /lib/rubygems/config_file.rb
parente2d341d9e529fbf6e63264c851d7a9a4a89c3406 (diff)
* lib/rubygems/compatibility.rb: Hide compatibility shims from RDoc
* lib/rubygems/config_file.rb: Hide RbConfig use from RDoc * lib/rubygems/test_case.rb: Added note to use realpath when 1.8 support is dropped. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/config_file.rb')
-rw-r--r--lib/rubygems/config_file.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rubygems/config_file.rb b/lib/rubygems/config_file.rb
index 61ee3b73eb..81ee32a1d6 100644
--- a/lib/rubygems/config_file.rb
+++ b/lib/rubygems/config_file.rb
@@ -50,6 +50,8 @@ class Gem::ConfigFile
PLATFORM_DEFAULTS = {}
+ # :stopdoc:
+
system_config_path =
begin
require "etc"
@@ -77,6 +79,8 @@ class Gem::ConfigFile
end
end
+ # :startdoc:
+
SYSTEM_WIDE_CONFIG_FILE = File.join system_config_path, 'gemrc'
##