Sha256: 0ca5f56acd377f1658fe0e98c36c5d4cfa84b50b1169fc84f7fa61758f7a83ec

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

module Bently
  class ForemanThin < RailsRecipe

    name '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

1 entries across 1 versions & 1 rubygems

Version Path
bently-1.0.0 lib/bently/recipe/foreman-thin.rb