Ruby on Rails Wednesday, November 24, 2010

There are many threads showing the error...

no such file to load -- sqlite3

BUT they are all reported by people using sqlite3 wherease I am using
mysql2.

My gemfile clearly says mysql2. My database.yml file definitely only has
mysql2 configuration in it. And a search of my project shows no files
containing any reference to sqlite3.

So why am I getting this message and how to I fix it?

I can run db:create ok (and the mysql TEST and DEVELOPMENT databases are
created) but when I run db:migrate then I get this error.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment