summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rakefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index d621f39..4649a98 100644
--- a/Rakefile
+++ b/Rakefile
@@ -27,10 +27,7 @@ unix_gemspec = eval(File.read("ffi-yajl.gemspec"))
desc "install the gem locally"
task :install => [:package] do
- puts "RUBY_ENGINE: #{RUBY_ENGINE}"
- puts "RUBY_VERSION: #{RUBY_VERSION}"
- puts "RUBY_PLATFORM: #{RUBY_PLATFORM}"
- if defined?(RUBY_ENGINE) && RUBY_ENGINE == "java"
+ if defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
sh %{gem install pkg/#{unix_gemspec.name}-#{unix_gemspec.version}-x86-java.gem}
else
sh %{gem install pkg/#{unix_gemspec.name}-#{unix_gemspec.version}.gem}