error message:
Loading production environment (Rails 2.3.15)
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
/Users/fun-mac-desktop02/.rbenv/versions/1.8.7-p374/lib/ruby/gems/1.8/gems/activerecord-2.3.15/lib/active_record/connection_adapters/mysql_adapter.rb:620:in `real_connect':Mysql::Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
solve the problem:
1 mysql.server start
Starting MySQL
. SUCCESS!
2 ruby script/console