diff options
Diffstat (limited to 'lib/rdoc')
-rw-r--r-- | lib/rdoc/ri/ri_paths.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/ri/ri_paths.rb b/lib/rdoc/ri/ri_paths.rb index ff8257a546..c610b6e551 100644 --- a/lib/rdoc/ri/ri_paths.rb +++ b/lib/rdoc/ri/ri_paths.rb @@ -26,9 +26,9 @@ module RI DOC_DIR = "doc/rdoc" - version = Config::CONFIG['ruby_version'] + version = RbConfig::CONFIG['ruby_version'] - base = File.join(Config::CONFIG['datadir'], "ri", version) + base = File.join(RbConfig::CONFIG['datadir'], "ri", version) SYSDIR = File.join(base, "system") SITEDIR = File.join(base, "site") homedir = ENV['HOME'] || ENV['USERPROFILE'] || ENV['HOMEPATH'] |