Class: Flynn::Recipes::Refinerycms
- Defined in:
- lib/flynn/recipes/refinerycms.rb
Instance Method Summary collapse
Methods inherited from RvmBase
Methods included from Helpers
#create_file, #executable_path, #inside, #run
Constructor Details
This class inherits a constructor from Flynn::Recipes::RvmBase
Instance Method Details
#create(app_name, options = []) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/flynn/recipes/refinerycms.rb', line 6 def create(app_name, =[]) RVM.gemset_create app_name RVM.gemset_use! app_name run("gem install refinerycms --no-rdoc --no-ri") puts "Creating #{app_name}" run("rvm gemset use #{app_name} && refinerycms #{app_name} #{options.join(" ")}") create_project_rvmrc(app_name) end |