[Rails] mysql gem recognized by script/server but not rake
Hi all,
I recently installed the ruby mysql gem (2.8.1) on my Mac Leopard
after much trouble (http://groups.google.com/group/rubyonrails-talk/
browse_thread/thread/586c29ca813cd391/fb5f34c8f9eb9e3f?lnk=gst&q=mysql
+gem#fb5f34c8f9eb9e3f)
Now, when I start up the Rails 2.3.5 application using script/server,
it connects to the database just fine. But when I run rake db:migrate,
!!! 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
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
/Users/ram/.gem/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/
dependencies.rb:156:in `require'
...
Anybody got any idea why this is happening and how I can fix it?
Thanks!
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home