module Unwrappr::BundlerCommandRunner

Runs the bundle command. No surprises.

Public Class Methods

bundle_update!() click to toggle source
# File lib/unwrappr/bundler_command_runner.rb, line 9
def bundle_update!
  raise 'bundle update failed' unless updated_gems?
end

Private Class Methods

updated_gems?() click to toggle source
# File lib/unwrappr/bundler_command_runner.rb, line 15
def updated_gems?
  SafeShell.execute?(
    'bundle',
    'update',
    stdout: 'stdout.txt',
    stderr: 'error.txt'
  )
end