Class: BundleDev::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/bundle_dev/cli.rb

Instance Method Summary collapse

Instance Method Details

#installObject



6
7
8
9
10
11
12
13
14
# File 'lib/bundle_dev/cli.rb', line 6

def install
  if Bundler.default_lockfile.exist?
    puts 'Please remove the `Gemfile.lock` to install.'
  else
    Bundler::Installer.install Bundler.root, Definition.build
    puts 'Your bundle is complete!'
    puts 'Use `bundle show [gemname]` to see where a bundled gem is installed.'
  end
end