Sha256: 1523387616f13ac15736ffbca4761ab8f2e927fffe58ea015a58eda179dda998

Contents?: true

Size: 483 Bytes

Versions: 2

Compression:

Stored size: 483 Bytes

Contents

module Bently
  class ForemanThin < RailsRecipe

    title 'foreman-thin'
    category 'gem'
    description 'downloads and installs foreman and thin Ruby gems'
    homepage 'https://devcenter.heroku.com/articles/rails3#webserver'

    def initialize
      gem 'thin'
      bundle
      append 'Procfile', 'web: bundle exec thin start -p $PORT -e $RACK_ENV'
      run 'gem install foreman'
      run 'echo "RACK_ENV=development" >>.env'
      todo 'foreman start'
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bently-1.0.2 lib/bently/recipe/foreman-thin.rb
bently-1.0.1 lib/bently/recipe/foreman-thin.rb