summaryrefslogtreecommitdiff
path: root/lib/rdoc/ri
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/ri')
-rw-r--r--lib/rdoc/ri/paths.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/rdoc/ri/paths.rb b/lib/rdoc/ri/paths.rb
index b1d584878b..7891d1e0ac 100644
--- a/lib/rdoc/ri/paths.rb
+++ b/lib/rdoc/ri/paths.rb
@@ -14,10 +14,7 @@ module RDoc::RI::Paths
BASE = File.join RbConfig::CONFIG['ridir'], version
- HOMEDIR = begin
- File.expand_path('~/.rdoc')
- rescue ArgumentError
- end
+ HOMEDIR = RDoc.home
#:startdoc:
##