How to do a minimal install using Bower?

How can I install the MySQL gem on Ruby 1.8.7 using RVM?

  • I tried to run " gem install mysql " to install the mysql adapter for ruby 1.8.7, but I get this error rake/rdoctask is deprecated.  Use rdoc/task instead (in RDoc 2.4.2+) !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. rake aborted! no such file to load -- mysql note: I'm using rvm

  • Answer:

    The problem was that I didn't install the mysql-dev lib. Install it, then it will works fine.

Kareem Hashem at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.