summaryrefslogtreecommitdiffstats
path: root/install.rb
diff options
context:
space:
mode:
Diffstat (limited to 'install.rb')
-rwxr-xr-xinstall.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/install.rb b/install.rb
index c0ac95703..a4abcb9ab 100755
--- a/install.rb
+++ b/install.rb
@@ -157,11 +157,7 @@ def prepare_installation
# Only try to do docs if we're sure they have rdoc
if $haverdoc
InstallOptions.rdoc = true
- if RUBY_PLATFORM == "i386-mswin32"
- InstallOptions.ri = false
- else
- InstallOptions.ri = true
- end
+ InstallOptions.ri = RUBY_PLATFORM != "i386-mswin32"
else
InstallOptions.rdoc = false
InstallOptions.ri = false