You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to deploy an app on JRuby with Mina, but one gem doesn't install and actually it shouldn't be installed in the first place...
The gem is unf_ext and it is a Mechanize dependency. If I SSH to the server and try to install Mechanize, it installs without problems and only unf installs as a result, not unf_ext.
Error:
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/linkrecover/.rbenv/versions/jruby-1.7.13/bin/jruby extconf.rb
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS.
(root) at /home/linkrecover/.rbenv/versions/jruby-1.7.13/lib/ruby/shared/mkmf.rb:8
require at org/jruby/RubyKernel.java:1065
(root) at /home/linkrecover/.rbenv/versions/jruby-1.7.13/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
(root) at extconf.rb:1
Gem files will remain installed in /var/www/lr/tmp/build-14062262733806/vendor/bundle/jruby/1.9/gems/unf_ext-0.0.6 for inspection.
Results logged to /var/www/lr/tmp/build-14062262733806/vendor/bundle/jruby/1.9/gems/unf_ext-0.0.6/ext/unf_ext/gem_make.out
An error occurred while installing unf_ext (0.0.6), and Bundler cannot continue.
Make sure that `gem install unf_ext -v '0.0.6'` succeeds before bundling.
So how to make bundler install everything nicely when run through Mina? It's possible that this is a bundler issue... How could I test it? E.g. try to install gems for the app in question manually to where mina is trying to install them - shared/bundle/jruby/1.9/gems?
The text was updated successfully, but these errors were encountered:
I'm trying to deploy an app on JRuby with Mina, but one gem doesn't install and actually it shouldn't be installed in the first place...
The gem is
unf_ext
and it is a Mechanize dependency. If I SSH to the server and try to installMechanize
, it installs without problems and onlyunf
installs as a result, notunf_ext
.Error:
My Gemfile: https://gist.github.com/davidhq/09d84bc79683b9d3332e
So how to make bundler install everything nicely when run through Mina? It's possible that this is a bundler issue... How could I test it? E.g. try to install gems for the app in question manually to where mina is trying to install them -
shared/bundle/jruby/1.9/gems
?The text was updated successfully, but these errors were encountered: