24 Mar '12, 1pm
I am using OSX Lion with rvm installed . Ruby version ->ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0] Rails gem -> rails (3.1.3, 2.3.14) On executing 'RAILS_ENV=production rake db:migrate', I get the following error message. Warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. rake aborted! no such file to load -- mysql Tasks: TOP => db:migrate => environment (See full trace by running task with --trace) I searched the forums for similar posts but could not find anything specific to resolving the issue on OSX. Also execution of 'RAILS_ENV=YOUR_ENVIRONMENT script/about' fails.