Monday, November 1, 2010

Rails3: Migrating from MySQL to PostgreSQL

I encountered an error even though I had successfully run:
gem install pg
I googled:
install postgresql rails windows "no such file to load -- pg"
and Peter Mac helped me out. In your Rails 3 Gemfile, make the following change:
#  gem 'mysql'
gem 'pg', :require => 'pg'

No comments:

Post a Comment