Sha256: 7bd4a8026048bb0994a58961e14732938c47f9d847e9bfa6ee3bfec236df4ae7
Contents?: true
Size: 476 Bytes
Versions: 3
Compression:
Stored size: 476 Bytes
Contents
module Bently class HerokuRails < RailsRecipe homepage 'https://devcenter.heroku.com/articles/rails3' def initialize warn 'heroku commands may incur charges to your account'.upcase modify 'Gemfile', /gem 'sqlite3'/, "" gem 'pg' bundle run 'git add Gemfile Gemfile.lock' run 'git commit -m "postgres gem"' run 'heroku create' run 'git push heroku master' run 'heroku run rake db:migrate' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bently-1.0.2 | lib/bently/recipe/heroku-rails.rb |
bently-1.0.1 | lib/bently/recipe/heroku-rails.rb |
bently-1.0.0 | lib/bently/recipe/heroku-rails.rb |