summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 473ebf6..6667caa 100644
--- a/Rakefile
+++ b/Rakefile
@@ -64,7 +64,7 @@ desc "Installing library (extension)"
task :install_ext => [ :compile_ext, :install_pure, :install_ext_really ]
desc "Installing library (extension)"
-if PLATFORM =~ /java/
+if RUBY_PLATFORM =~ /java/
task :install => :install_pure
else
task :install => :install_ext