зеркало из https://github.com/github/ruby.git
* lib/rdoc/ri/paths.rb: follows $ridir. reapplied r23554.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
6926a10297
Коммит
6a08bd9624
|
@ -1,4 +1,6 @@
|
|||
Fri Apr 2 13:51:52 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Fri Apr 2 13:57:08 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/rdoc/ri/paths.rb: follows $ridir. reapplied r23554.
|
||||
|
||||
* lib/rdoc/ri/paths.rb (RDoc::HOMEDIR): expand_path deals with
|
||||
platform dependent envirionments. reapplied r21312.
|
||||
|
|
|
@ -10,7 +10,7 @@ module RDoc::RI::Paths
|
|||
|
||||
version = RbConfig::CONFIG['ruby_version']
|
||||
|
||||
base = File.join RbConfig::CONFIG['datadir'], "ri", version
|
||||
base = File.join RbConfig::CONFIG['ridir'], version
|
||||
SYSDIR = File.join base, "system"
|
||||
SITEDIR = File.join base, "site"
|
||||
HOMEDIR = (File.expand_path("~/.rdoc") rescue nil)
|
||||
|
|
Загрузка…
Ссылка в новой задаче