Class: Prebundler::Cli::Install

Inherits:
Base
  • Object
show all
Defined in:
lib/prebundler/cli/install.rb

Instance Attribute Summary

Attributes inherited from Base

#args, #global_options, #options, #out

Instance Method Summary collapse

Methods inherited from Base

#initialize, run

Constructor Details

This class inherits a constructor from Prebundler::Cli::Base

Instance Method Details

#runObject



19
20
21
22
23
24
25
26
27
28
29
# File 'lib/prebundler/cli/install.rb', line 19

def run
  prepare
  install
  update_bundle_config
  generate_binstubs
  # always run `bundle install` just in case
  bundle_install
rescue BundleFailedError => e
  out.puts e.message
  exit e.exitstatus
end