Class: Flynn::Recipes::Gem

Inherits:
RvmBase
  • Object
show all
Defined in:
lib/flynn/recipes/gem.rb

Instance Method Summary collapse

Methods inherited from RvmBase

#initialize

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



4
5
6
7
8
9
# File 'lib/flynn/recipes/gem.rb', line 4

def create(app_name, *options)
  puts "Creating new project in: #{app_name}"
  run("bundle gem #{app_name}")

  create_project_rvmrc(app_name)
end