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