Method: TorqueBox::DeployUtils.run_command
- Defined in:
- lib/xnlogic/deploy.rb
.run_command(cmd) ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/xnlogic/deploy.rb', line 12 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 |