Ruby on Rails Friday, August 22, 2014

On 22 August 2014 06:58, Selvag Ruby <lists@ruby-forum.com> wrote:
> Hi expects,
> Please give a solution to this problem. I use Ubuntu.
> ...
> Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
>
> /home/selvag/.rvm/rubies/ruby-2.0.0-p481/bin/ruby extconf.rb
> checking for main() in -lIL... no
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of necessary
> libraries and/or headers. Check the mkmf.log file for more details.

You are probably missing something that is required for building gems.
In a terminal run
sudo apt-get install build-essential bison openssl libreadline6
libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev
libyaml-dev libxml2-dev autoconf libc6-dev ncurses-dev automake
libtool

That is all one line. See if that helps.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsnNS-q7k2%3DUix%2BqAUYEfMrU%2BjEQk%3DpbAcmq8i4a35Abg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment