Skip to content

Commit a7037ca

Browse files
committed
Fix post-install message and required ruby version
1 parent 51755c8 commit a7037ca

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

History.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* Darkfish now supports sections. Template and generator author see
1313
RDoc::Context#each_section to add section support. RubyForge Bug #26883
1414
by Jeff Hodges.
15+
* Fixed post-install message for Ruby 1.9.2 users.
16+
* Set required ruby version to >= 1.8.7.
1517

1618
=== 3.5.1 / 2010-01-30
1719

Rakefile

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ Hoe.spec 'rdoc' do
1616
developer 'Tony Strauss', '[email protected]'
1717

1818
self.rsync_args = '-avz'
19+
rdoc_locations << 'docs.seattlerb.org:/data/www/docs.seattlerb.org/rdoc/'
1920
rdoc_locations << '[email protected]:/var/www/gforge-projects/rdoc/'
2021

2122
self.testlib = :minitest
2223
self.isolate_dir = 'tmp/isolate'
2324

25+
require_ruby_version '>= 1.8.7'
2426
extra_dev_deps << ['minitest', '~> 2']
2527
extra_dev_deps << ['isolate', '~> 3']
2628
extra_dev_deps << ['ZenTest', '~> 4'] # for autotest/isolate
@@ -30,10 +32,12 @@ Hoe.spec 'rdoc' do
3032
spec_extras['homepage'] = 'http://rdoc.rubyforge.org'
3133

3234
spec_extras[:post_install_message] = <<-EOF
33-
RDoc 2.5 did not save method parameters, so you should upgrade your rdoc-data
34-
gem to a version >= 2.5.3.
35+
NOTE: If you are running Ruby 1.9.2 you can ignore this message.
3536
36-
To have ri data for core and stdlib you'll need to:
37+
RDoc 2.5+ has a new ri data format for Ruby 1.8.7 and 1.9.1. (1.9.2 contains
38+
RDoc 2.5 so there is nothing to do!)
39+
40+
To install new ri data for core and stdlib you'll need to:
3741
3842
gem install rdoc-data
3943
@@ -46,6 +50,9 @@ To have ri data for you gems you'll also need to run:
4650
gem rdoc --all --overwrite
4751
4852
If you don't want to rebuild the rdoc for `gem server`, add --no-rdoc.
53+
54+
NOTE: RDoc 2.5 did not save method parameters, so you should upgrade your
55+
rdoc-data gem to a version >= 2.5.3 if you installed an older version.
4956
EOF
5057
end
5158

0 commit comments

Comments
 (0)