- To run rails app (here demo_rails contains the rails application) do :
rake run_app:rails
- To
bundle install
in a folder(e.g. demo_rails) :
rake run_app:bundle_install['demo_rails']
- To
bundle update
in a folder(e.g. demo_rails) :
rake run_app:bundle_update['demo_rails']
- To
bundle exec rails s
in a folder(e.g. demo_rails) :
rake run_app:rails_server['demo_rails']
Note: Actually rake run_app:rails
calls the bundle_install
,
bundle_update
,rails_server
.
- To run nanoc web app :
rake run_app:nanoc
- To
bundle exec nanoc compile
in a folder(e.g. demo_nanoc) :
rake run_app:nanoc_compile['demo_nanoc']
- To
bundle exec nanoc view
in a folder(e.g. demo_nanoc) :
rake run_app:nanoc_server['demo_nanoc']
Note: Actually rake run_app:nanoc
calls the bundle_install
,
bundle_update
,nanoc_compile
,nanoc_server
.
- To
bundle exec ruby app.rb
in a folder(e.g. demo_sinatra) :
rake run_app:sinatra_server
- To run sinatra app,which is in demo_sinatra :
rake run_app:sinatra
Note: Actually rake run_app:sinatra
calls the bundle_install
,
bundle_update
,sinatra_server
.