I updated my application from Rails 3.1.x to 3.2.1. I followed the
update instructions in the Rails Guide which hardly requires any
modifications apart from development mode. On my local machine -
running development mode - the application is running fine using Ruby
1.9.3 with the mysql2 gem.
After deployment with Capistrano to the production server (running
Rvm, Ruby 1.9.2) I get:
executing “cd ~/rails/releases/20120202145157 && bundle exec rake
RAILS_ENV=production RAILS_GROUPS=assets assets:precompile”
[server] executing command
*** [err :: server] rake aborted!
*** [err :: server Can’t connect to local MySQL server through socket
*** [err :: server]
*** [err :: server] Tasks: TOP => environment
*** [err :: server] (See full trace by running task with --trace)
Before the update to Rails 3.2.1 all deployments went allright.