slimgems/slimgems — Issue #13: Installing from JRuby self-contained jar fails
Author: viking
Created: 2012-02-29 17:37:40+00:00
State: open

$ java -jar jruby-complete-1.6.7.jar -S gem install -i /tmp/gems slimgems
Fetching: slimgems-1.3.9.4.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing slimgems:
ERROR: Failed to build gem native extension.

"java -jar /tmp/jruby-complete-1.6.7.jar" -rubygems file:/tmp/jruby-complete-1.6.7.jar!/META-INF/jruby.home/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake RUBYARCHDIR=/tmp/gems/gems/slimgems-1.3.9.4/hide_lib_for_update RUBYLIBDIR=/tmp/gems/gems/slimgems-1.3.9.4/hide_lib_for_update
/bin/sh: java -jar /tmp/jruby-complete-1.6.7.jar: not found

Gem files will remain installed in /tmp/gems/gems/slimgems-1.3.9.4 for inspection.
Results logged to /tmp/gems/gems/slimgems-1.3.9.4/bootstrap/gem_make.out