Getting Started with Ruby on Heroku
Gemfile
:
gem 'sqlite3', group: :development
group :production do
gem 'pg'
gem 'rails_12factor'
end
$ bundle install --without production
$ git init
$ git add --all
$ git commit -am "Initial commit"
$ heroku login
$ heroku create
$ git push heroku master
$ heroku run rake db:migrate
$ heroku open