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

> $ bundle show mysql
> /home/bhas/.rvm/gems/ruby-1.9.2-p136/gems/mysql-2.8.1
> 
> 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)
> 

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

Fred
> 
> Please help.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to