Ruby on Rails Saturday, September 6, 2014

On 6 September 2014 15:56, Cristiano D. <lists@ruby-forum.com> wrote:
> ...
> Installing mysql2 (0.3.16)
> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
> extension.

You are missing some dependencies required to build gems, but since
you have not told us which OS you are using it is difficult to make
recomendations. For example, on Ubuntu running the following will
likely get you going.

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.
Then in the application top level folder run
bundle install
to fetch and build the gems

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%3D0gLsCdV%2BpRgxuSKfj4F5renwqLCQZuitHqBneftc7yR-oEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment