Class: SleepingKingStudios::Tasks::Apps::Bundle::InstallRunner

Inherits:
ProcessRunner
  • Object
show all
Defined in:
lib/sleeping_king_studios/tasks/apps/bundle/install_runner.rb

Overview

Service object to run bundle install as an external process.

Instance Attribute Summary

Attributes inherited from ProcessRunner

#default_env, #default_options

Instance Method Summary collapse

Methods inherited from ProcessRunner

#initialize

Constructor Details

This class inherits a constructor from SleepingKingStudios::Tasks::ProcessRunner

Instance Method Details

#call(gemfile) ⇒ Object



9
10
11
12
13
# File 'lib/sleeping_king_studios/tasks/apps/bundle/install_runner.rb', line 9

def call gemfile
  command = build_command :env => { :bundle_gemfile => gemfile }

  stream_process(command)
end