1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Fix broken switchtower_invoke function in switchtower.rake (missing require statement)

git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3619 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2006-02-20 03:04:15 +00:00
parent cbc637c9d7
commit e8c28b4cfb
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
*1.0.1* *SVN*
* Fix broken switchtower_invoke function in switchtower.rake (missing require statement)
*1.0.0* (Feburary 18th, 2006)
* Make CVS module's :local value default to "."

View file

@ -10,6 +10,8 @@ def switchtower_invoke(*actions)
# no rubygems to load, so we fail silently
end
require 'switchtower/cli'
options = actions.last.is_a?(Hash) ? actions.pop : {}
args = %w[-r config/deploy]