about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-27 15:19:52 -0800
committerEric Wong <normalperson@yhbt.net>2010-12-27 15:20:47 -0800
commit5d7910029cc331cd2498f868df1d1e3211994a50 (patch)
treeca5237d4d732d7b5d5ba6ace2eff930cce8ef348
parente4857711b394634edee25a682d607a16c6880608 (diff)
downloadwrongdoc-5d7910029cc331cd2498f868df1d1e3211994a50.tar.gz
rdoc: forcibly load rdoc ~> 3.0.1
We don't want the rdoc 2.5.x from Ruby 1.9.2
-rw-r--r--lib/wrongdoc/rdoc.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/wrongdoc/rdoc.rb b/lib/wrongdoc/rdoc.rb
index 0b54aef..ffed059 100644
--- a/lib/wrongdoc/rdoc.rb
+++ b/lib/wrongdoc/rdoc.rb
@@ -2,8 +2,10 @@
 if (!defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby") && \
    RUBY_VERSION.to_f <= 1.8
   require 'rubygems'
-  gem 'rdoc', '~> 3.0.1'
 end
+
+# we never want the rdoc 2.5.x from Ruby 1.9.2
+gem 'rdoc', '~> 3.0.1'
 require 'rdoc/rdoc'
 
 class Wrongdoc::Rdoc