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

viking opened this Issue Feb 29, 2012 · 1 comment


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- (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- RUBYLIBDIR=/tmp/gems/gems/slimgems-
/bin/sh: java -jar /tmp/jruby-complete-1.6.7.jar: not found

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

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