Class: Gemsmith::Generators::Bundler

Inherits:
Base
  • Object
show all
Defined in:
lib/gemsmith/generators/bundler.rb

Overview

Generates Bundler support.

Constant Summary

Constants inherited from Base

Gemsmith::Generators::Base::LIB_ROOT, Gemsmith::Generators::Base::LIB_ROOT_GEM

Instance Method Summary collapse

Methods inherited from Base

#initialize, run

Constructor Details

This class inherits a constructor from Gemsmith::Generators::Base

Instance Method Details

#runObject



7
8
9
10
11
12
# File 'lib/gemsmith/generators/bundler.rb', line 7

def run
  Dir.chdir(gem_root) do
    cli.say_status :info, "Installing gem dependencies...", :green
    `bundle install`
  end
end