Class: Cowboycoded::CommonAppGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/cowboycoded/common_app/common_app_generator.rb

Constant Summary collapse

TEMPLATES_DIR =
File.join(File.dirname(__FILE__), 'templates')

Instance Method Summary collapse

Instance Method Details

#common_appObject



9
10
11
12
# File 'lib/generators/cowboycoded/common_app/common_app_generator.rb', line 9

def common_app
  append_file("Gemfile", "\ngem 'boilerplate_engine', :git=>'[email protected]:charlotte-ruby/boilerplate_engine.git'")
  append_file("Gemfile", "\ngem 'social_engine', :git=>'[email protected]:charlotte-ruby/social_engine.git'")
end