Sha256: 0c4365d7db69317da8c6fefe489fc8f358890e1290945211bda39be7e98ad015

Contents?: true

Size: 205 Bytes

Versions: 4

Compression:

Stored size: 205 Bytes

Contents

Standup.script :node do
  self.description = 'Run remote Rails application console'
  
  def run
    scripts.shell.make_shell "cd /opt/webapp && rails console #{scripts.webapp.params.rails_env}"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
standup-0.3.7 scripts/appconsole.rb
standup-0.3.6 scripts/appconsole.rb
standup-0.3.5 scripts/appconsole.rb
standup-0.3.4 scripts/appconsole.rb