Sha256: 57b7623ab73761f1ae85be58c9f4f2f04c4b5429346eeffa9db5f82f8ddd1e17

Contents?: true

Size: 226 Bytes

Versions: 1

Compression:

Stored size: 226 Bytes

Contents

Standup.script do
  self.description = 'Run remote Rails application console'
  
  def run
    Kernel.exec "#{node.ssh_string} -t 'cd /opt/webapp && rails console #{scripts.webapp.params.rails_env}'".tap(&:bright_p)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
standup-0.3.1 scripts/appconsole.rb