scripts/appconsole.rb in standup-0.3.7 vs scripts/appconsole.rb in standup-0.3.8
- old
+ new
@@ -1,7 +1,7 @@
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}"
+ scripts.shell.make_shell "cd #{scripts.webapp.app_path} && rails console #{scripts.webapp.params.rails_env}"
end
end