Gem::loaderror: When Trying To Deploy On Heroku - Rails 4
I am trying to deploy an app (just a simple app from a Rails tutorial) to heroku but it keeps giving me the same error message. I use the command: git push heroku master It starts
Solution 1:
Kirti is right in saying that Heroku does not support sqlite as adapter,
do the following
in the Gemfile:
group :production, :stagingdo
gem 'pg'end
group :development, :testdo
gem 'sqlite3'endin database.yml
production:adapter:postgresqldatabase:name_of_your_dbpool:5timeout:5000Solution 2:
SQLite is not intended as a production grade database. Instead Heroku provides production grade PostgreSQL databases as a service.
Read the details SQLite on Heroku
Post a Comment for "Gem::loaderror: When Trying To Deploy On Heroku - Rails 4"