I\'m trying to deploy a basic app and it\'s not working. Using
git push heroku master
I got this error message:
remote:
You may also want to add PG Gem file in production in your gem file
GemFile
group :production do
gem 'pg'
gem 'rails_12factor'
end
group :development do
gem 'sqlite3'
end
OR:
# Use sqlite3 as the database for Active Record
gem 'sqlite3', group: [:development, :test]
gem 'rails_12factor', group: :production
gem 'pg', group: :production
Once you added that there save and run the following:
Terminal
gem install bundler
bundle install
git add .
git commit -m "Some comment here..."
git push heroku master