Lunarpages Web Hosting Forum

Scripting Languages Hosting Help => Ruby Hosting Support => Topic started by: stevek91411 on March 23, 2011, 07:15:20 PM

Title: mysql problem
Post by: stevek91411 on March 23, 2011, 07:15:20 PM
i am trying to change the default ROR project setup to use mysql rather than sqlite.  I have changed the database.yml file to specify mysql. Even though my app is in development mode the changes are not taking effect and i can  see an error in the log

/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/sqlite_adapter.rb:189:in `columns'


where it is still using the sqlite gem. Any idea how to reload the database.yml file to use mysql?