diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-22 09:49:56 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-22 09:49:56 +0000 |
commit | a0c371dcf3158e517ca77a0f4d7c6afee7a2eaa1 (patch) | |
tree | 81ba70e78345d4fa0c294472b36673ff44e26ed3 /instruby.rb | |
parent | 7cb5dc271d939a93aa1e9310b69f7d3cdf9165bd (diff) | |
download | ruby-a0c371dcf3158e517ca77a0f4d7c6afee7a2eaa1.tar.gz ruby-a0c371dcf3158e517ca77a0f4d7c6afee7a2eaa1.tar.xz ruby-a0c371dcf3158e517ca77a0f4d7c6afee7a2eaa1.zip |
* instruby.rb (rdoc): considers --program-prefix and --program-suffix
for the path to ri documents.
fixes [ruby-core:23519]. c.f. [ruby-dev:38255].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'instruby.rb')
-rwxr-xr-x | instruby.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instruby.rb b/instruby.rb index c496d89b0..17dc6a4c9 100755 --- a/instruby.rb +++ b/instruby.rb @@ -283,7 +283,7 @@ install?(:rdoc) do if $rdocdir puts "installing rdoc" - ridatadir = File.join(CONFIG['datadir'], "ri", CONFIG['ruby_version'], "system") + ridatadir = File.join(CONFIG['datadir'], CONFIG['ruby_install_name'].sub('ruby', 'ri'), CONFIG['ruby_version'], "system") makedirs [ridatadir] install_recursive($rdocdir, ridatadir, :mode => $data_mode) end |