Class: Bently::ForemanThin
- Inherits:
-
RailsRecipe
- Object
- Recipe
- RubyRecipe
- RailsRecipe
- Bently::ForemanThin
- Defined in:
- lib/bently/recipe/foreman-thin.rb
Constant Summary
Constants inherited from RubyRecipe
Instance Method Summary collapse
-
#initialize ⇒ ForemanThin
constructor
A new instance of ForemanThin.
Methods inherited from RailsRecipe
Methods inherited from RubyRecipe
Methods inherited from Recipe
#append, breakdown, category, #code, #create, description, homepage, #insert, #modify, #operate, #operations, #prepend, #remove, #requirement, #run, #say, title, #todo, #usage, version, #warn
Constructor Details
#initialize ⇒ ForemanThin
Returns a new instance of ForemanThin.
9 10 11 12 13 14 15 16 |
# File 'lib/bently/recipe/foreman-thin.rb', line 9 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 |