I get this error no such file to load -- mysql2/mysql2 from Passenger in production.
Details about this error /var/www/releases/20120103021152/vendor/cache/ruby/1.9.1/gems/mysql2-0.2.18/lib/mysql2.rb and it is true, that file doesn’t not exist.
Why am I getting this error? How can I fix it?
I ended up manually deleting all the gems inside my gems folder and running bundle install. The troublesome gem (a mysql-2.0.18 or something gem version) stopped being installed.