Method: TorqueBox::DeployUtils.run_command
- Defined in:
- lib/xnlogic/deploy.rb
.run_command(cmd) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/xnlogic/deploy.rb', line 9 def self.run_command(cmd) puts cmd # RUBYOPT has to be unset from the environment so bundler doesn't lose its shit env_vars = { 'RUBYOPT' => nil } system(env_vars, "#{cmd} 2>&1") end |