summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2013-12-22 22:22:21 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2013-12-22 22:22:21 -0800
commit877b90e020b356bdfe75bc2585a108299fbb2afe (patch)
tree7a51517221ae377e89b7d6401c1fb960978fa710 /Rakefile
parent98fd860e233babe1cb5d4c0484ca3f0216f7836d (diff)
downloadffi-yajl-877b90e020b356bdfe75bc2585a108299fbb2afe.tar.gz
fix RUBY_ENGINE
Diffstat (limited to 'Rakefile')
-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}