Class: Gemsmith::Skeletons::BundlerSkeleton

Inherits:
BaseSkeleton show all
Defined in:
lib/gemsmith/skeletons/bundler_skeleton.rb

Overview

Configures Bundler support.

Instance Method Summary collapse

Methods inherited from BaseSkeleton

create, #enabled?, #initialize

Constructor Details

This class inherits a constructor from Gemsmith::Skeletons::BaseSkeleton

Instance Method Details

#createObject



5
6
7
8
9
10
# File 'lib/gemsmith/skeletons/bundler_skeleton.rb', line 5

def create
  Dir.chdir(File.join(cli.destination_root, cli.gem_name)) do
    cli.info "Installing gem dependencies..."
    `bundle install`
  end
end