Bundle show

$ bundle show mysql

but when I run

$ rake db:migrate
(in /home/bhas/projects/schapp)
rake aborted!
no such file to load – mysql-2.8.1
/home/bhas/projects/schapp/Rakefile:4:in `<top (required)>’
(See full trace by running task with --trace)

Please help.

On 4 Feb 2011, at 07:54, hari [email protected] wrote:

(See full trace by running task with --trace)

Could it be that although the mysql gem is present, it can’t be loaded
because (for example) it can’t find a required library?
In those situations, you sometimes get a better error message by trying
to load the gem from an irb session


Thanks Fred,

I had created the project using rails new app -d mysql which bydefault

I had changed the Gemfile to use mysql instead of mysql2 but did not
the database.yml file in the config directory.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs