This forum is no longer active. Please post your questions to our new community site
Mysql gem problem
|
|
I keep getting this error when using rake db:schema:load or rails_env=development rake db:migrate. I have the mysql gem installed which is version 2.8.1. I am on mac os x. The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. |
|
|
Hi, Are you running the command from the “rubyconsole”? Try the following:
|
|
|
Yes, and I just tried it like you said but I am still getting the same error |
|
|
Hi, Which is your current Rails version? Could you try the following:
It requires to have installed the Xcode tools. |
|
|
I am running rails version 2.3.5. I tried your solution, but unfortunately I am still getting same error for some reason. I have Xcode installed. |
|
|
That’s strange. Could you let us know the exact application that you are using to run the “rake db:schema:load” command and reproduce on our side? It is possible that the application ships their own rails version. |
|
|
Sure :) Here is the app I am trying to run: |
|
|
Right, This application requires to install the gems with bundler. Try the following in the application directory: 1. Edit Gemfile and add:
2. Run “bundle install”. I hope it helps. |

