class Ella::GemfileGenerator

Generates a Gemfile with the necessary dependencies for an ella project, and runs Bundle to install those dependencies.

Public Instance Methods

run() click to toggle source
# File lib/ella/generator/gemfile_generator.rb, line 7
def run
  Ella.find_root
  Ella::Template.new('Gemfile').write
  Log.newline
  Log.info('Running Bundle')
  puts `bundle update`
end