diff --git a/CHANGELOG b/CHANGELOG index 0ff51a7a..2d9c4a9a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 "." diff --git a/lib/switchtower/generators/rails/deployment/templates/switchtower.rake b/lib/switchtower/generators/rails/deployment/templates/switchtower.rake index c08cb666..371a8002 100644 --- a/lib/switchtower/generators/rails/deployment/templates/switchtower.rake +++ b/lib/switchtower/generators/rails/deployment/templates/switchtower.rake @@ -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]