lib/shelly/app.rb in shelly-0.4.28 vs lib/shelly/app.rb in shelly-0.4.29.pre

- old
+ new

@@ -214,19 +214,19 @@ def rake(task) ssh(:command => "rake_runner \"#{task}\"") end def dbconsole - ssh_with_db_server(:command => "dbconsole") + ssh_with_db_server(:command => "start_dbconsole") end def mongoconsole - ssh_with_db_server(:command => "mongo") + ssh_with_db_server(:command => "start_mongodb") end def redis_cli - ssh_with_db_server(:command => "redis-cli") + ssh_with_db_server(:command => "start_redis") end def attributes @attributes ||= shelly.app(code_name) end @@ -293,11 +293,15 @@ def open Launchy.open("http://#{attributes["domain"]}") end - def console(server = nil) + def ssh_console(server = nil) ssh(:server => server) + end + + def console(server = nil) + ssh(:command => "start_console", :server => server) end def list_files(path) ssh(:command => "ls -l #{persistent_disk}/#{path}") end