Well just tried doing a mysql gem install using bundler (Gemfile) but got an error like this
sudo apt-get install libmysqlclient-dev
and redid the bundle install and wohooo it worked!
and i forgot to install libmysqlclient-dev :) how careless! so didGem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/praveen/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... noand much more
sudo apt-get install libmysqlclient-dev
and redid the bundle install and wohooo it worked!
No comments:
Post a Comment