Forum: Ruby on Rails how-to verify rails is using mysql gem instead of whatever "-d mysql" provides

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
smitty (Guest)
on 2009-01-16 06:56
(Received via mailing list)
How does one verify that a Rails project is using the mysql gem (which
I assume is
faster) instead of whatever "-d mysql" provides ?
smitty (Guest)
on 2009-01-16 08:01
(Received via mailing list)
Answered my own question, but in case anyone is curious:
- renaming /usr/lib/ to anything else causes
script/console to complain like so:

>> Budgie.find(:all)

!!! The bundled mysql.rb driver has been removed from Rails 2.2.
Please install the mysql gem and try again: gem install mysql.
LoadError: cannot open shared object file: No
such file or directory - /usr/lib/ruby/1.8/i486-linux/
  from /usr/lib/ruby/1.8/i486-linux/
  from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
  from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/
active_support/dependencies.rb:153:in `require'

This topic is locked and can not be replied to.