I see in your gemfile that you set postgresql as your production database, however you also set sqlite to run on production, test, and development.
group :production do
gem 'pg', '0.12.2'
end
# Skip some lines to here
gem 'sqlite3'
I would make sure your database is uniform across the test, development, and production servers. I would remove sqlite3 and simply have
group :production do
gem 'pg', '0.12.2'
end
replaced with
gem 'pg', '0.12.2'
That way, postgresql will run on all platforms. Or if your database.yml
is connected to sqlite, then get rid of postgresql and keep the sqlite gem in your gemfile.