Forum: JRuby bundle install failed for JRuby

77bd435212b88949704a87792c48990e?d=identicon&s=25 Ravi Gudipati (rgud)
on 2014-03-19 21:07
I uncommented unicorn in my Gemfile and tried to run bundle install, I
got this following error.

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /usr/local/rvm/rubies/jruby-1.7.10/bin/jruby extconf.rb
/usr/local/rvm/rubies/jruby-1.7.10/lib/ruby/shared/mkmf.rb:14: Use
RbConfig instead of obsolete and deprecated Config.
mkmf.rb can't find header files for ruby at
/usr/local/rvm/rubies/jruby-1.7.10/lib/native/include/ruby/ruby.h

extconf failed, uncaught signal 1

Gem files will remain installed in
/usr/local/rvm/gems/jruby-1.7.10/gems/kgio-2.9.2 for inspection.
Results logged to
/usr/local/rvm/gems/jruby-1.7.10/extensions/universal-java-1.7/1.9/kgio-2.9.2/gem_make.out
An error occurred while installing kgio (2.9.2), and Bundler cannot
continue.
Make sure that `gem install kgio -v '2.9.2'` succeeds before bundling.

Any idea?
77bd435212b88949704a87792c48990e?d=identicon&s=25 Ravi Gudipati (rgud)
on 2014-04-01 02:57
Never mind, I was able to fix this.

FYI, Unicorn won't work with JRuby
E62069e45e98cc5c1401a6847098492c?d=identicon&s=25 Ananth (Guest)
on 2014-04-23 20:41
(Received via mailing list)
Ravi Gudipati <lists <at> ruby-forum.com> writes:

>
> Never mind, I was able to fix this.
>
> FYI, Unicorn won't work with JRuby
>

Ravi - Did you remove the unicorn gem then?
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.