As I need to upgrade a Rails app to 3.1 , I am trying to deploy it on
a remote production server ( Linux Debian, after installing Rails
3.0.9 under rvm with all needed gems including mysql2 version 0.2.18
used by the app)

after deployment, starting the app, I get a Load error w mysql2...

** [out ::] /var/www/vhosts/
9:in `require': cannot open shared object
file: No such file or directory - /var/www/vhosts/
testsbga/shared/bundle/ruby/1.9.1/gems/mysql2-0.2.18/lib/mysql2/ (LoadError)
** [out ::] from /var/www/vhosts/
9:in `<top (required)>'

I surely forgot something when install mysql2 w this gem set ...
but I don't see what ..

( I am using the same server w Rails 3.1 wo any problem...)

thanks for your feedback

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
To unsubscribe from this group, send email to
For more options, visit this group at

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
grouprubyonrails-talk @
postedJan 14, '12 at 3:25p
activeJan 15, '12 at 11:53p

2 users in discussion

Erwin: 2 posts Alex Mercer: 1 post



site design / logo © 2021 Grokbase