Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Installing from JRuby self-contained jar fails #13

Open
viking opened this Issue Feb 29, 2012 · 1 comment

Comments

Projects
None yet
1 participant

viking commented Feb 29, 2012

$ 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

viking commented Feb 29, 2012

It's an edge case, but I have reasons for installing slimgems this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment