ruby-changes:15293
From: nobu <ko1@a...>
Date: Fri, 2 Apr 2010 13:57:35 +0900 (JST)
Subject: [ruby-changes:15293] Ruby:r27178 (trunk): * lib/rdoc/ri/paths.rb: follows $ridir. reapplied r23554.
nobu 2010-04-02 13:57:16 +0900 (Fri, 02 Apr 2010) New Revision: 27178 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27178 Log: * lib/rdoc/ri/paths.rb: follows $ridir. reapplied r23554. Modified files: trunk/ChangeLog trunk/lib/rdoc/ri/paths.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 27177) +++ ChangeLog (revision 27178) @@ -1,5 +1,7 @@ -Fri Apr 2 13:51:52 2010 Nobuyoshi Nakada <nobu@r...> +Fri Apr 2 13:57:08 2010 Nobuyoshi Nakada <nobu@r...> + * 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. Index: lib/rdoc/ri/paths.rb =================================================================== --- lib/rdoc/ri/paths.rb (revision 27177) +++ lib/rdoc/ri/paths.rb (revision 27178) @@ -10,7 +10,7 @@ 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/