lib/shelly/app.rb in shelly-0.4.28.pre2 vs lib/shelly/app.rb in shelly-0.4.28

- old
+ new

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