Wednesday, April 4, 2012

[Rails] Re: Problem: jruby -S bundle install - tries to build native extension of yajl-ruby

On Monday, April 2, 2012 3:42:38 PM UTC-3, Jedrin wrote:

 I am trying to build a rails app I wrote in JRuby.
When I run bundle install it errors out on
  yajl-ruby trying to build it as a native extension.  I think it must
have some dependency
with a different gem. How can I figure out what is causing it to want
to use that gem or how to
work around it ?


For JRuby to be able to compile the extension you need a compiler.

Get a compiler that can compile C extensions for JRuby (hint: RubyInstaller's DevKit is known to be compatible).

Once you install it try to install the gem again.

--
Luis Lavena

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/MgK3mhkC9jYJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate