Sha256: 776163555898b258680cc8c7965eafbeb5bf0aef92ef36dc192bde7d85dc29e7

Contents?: true

Size: 237 Bytes

Versions: 23

Compression:

Stored size: 237 Bytes

Contents

Standup.script :node do
  self.description = 'Run remote Rails application console'
  
  def run
    scripts.shell.make_shell "cd #{scripts.webapp.app_path} && sudo -u www-data rails console #{scripts.webapp.params.rails_env}"
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
standup-0.5.0 scripts/appconsole.rb
standup-0.4.0 scripts/appconsole.rb
standup-0.3.37 scripts/appconsole.rb
standup-0.3.36 scripts/appconsole.rb
standup-0.3.35 scripts/appconsole.rb
standup-0.3.34 scripts/appconsole.rb
standup-0.3.33 scripts/appconsole.rb
standup-0.3.32 scripts/appconsole.rb
standup-0.3.31 scripts/appconsole.rb
standup-0.3.30 scripts/appconsole.rb
standup-0.3.29 scripts/appconsole.rb
standup-0.3.28 scripts/appconsole.rb
standup-0.3.27 scripts/appconsole.rb
standup-0.3.26 scripts/appconsole.rb
standup-0.3.25 scripts/appconsole.rb
standup-0.3.24 scripts/appconsole.rb
standup-0.3.23 scripts/appconsole.rb
standup-0.3.22 scripts/appconsole.rb
standup-0.3.20 scripts/appconsole.rb
standup-0.3.19 scripts/appconsole.rb