lib/deis/helpers.rb in deis-rails-1.0.4 vs lib/deis/helpers.rb in deis-rails-1.0.5

- old
+ new

@@ -1,6 +1,6 @@ -require 'pty' + require 'pty' require 'benchmark' module Deis module Helpers @@ -69,9 +69,11 @@ result end def deis_command(*cmds) shell :deis, *cmds + rescue Errno::ENOENT + shell 'curl -sSL http://deis.io/deis-cli/install.sh | sh -s 1.6.1' end def git_clone(url, flags = {}) shell "git clone #{url}", flags end