smitty
2009-Jan-16 04:55 UTC
how-to verify rails is using mysql gem instead of whatever "-d mysql" provides
How does one verify that a Rails project is using the mysql gem (which I assume is faster) instead of whatever "-d mysql" provides ? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
smitty
2009-Jan-16 06:00 UTC
Re: how-to verify rails is using mysql gem instead of whatever "-d mysql" provides
Answered my own question, but in case anyone is curious: - renaming /usr/lib/libmysqlclient.so.15.0.0 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: libmysqlclient.so.15: cannot open shared object file: No such file or directory - /usr/lib/ruby/1.8/i486-linux/mysql.so from /usr/lib/ruby/1.8/i486-linux/mysql.so from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:153:in `require'' peace --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---