Method: Cms::Commands::Actions#run_bundle_update
- Defined in:
- lib/cms/commands/actions.rb
#run_bundle_update ⇒ Object
Run ‘bundle update`, exiting if it doesn’t work.
36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/cms/commands/actions.rb', line 36 def run_bundle_update return if [:skip_bundle] inside current_project do result = run "bundle update" unless result puts "Check your Gemfile to ensure the dependencies are correct. Update them, then rerun the last command.".red exit(false) end end end |