Displaying 2 results from an estimated 2 matches for "diff_from_last_deploy".
2006 Feb 19
10
Switchtower - unitialized constant
Just loaded up Switchtower 1.0 today, via gems. I''m on OS X (10.4.5),
with ruby and friends installed via darwinports in opt/local.
After installing ST, I switchtowerized my app, set up the deploy recipe,
then ran:
rake remote_exec ACTION=setup
When I do, i get this error:
rake aborted!
uninitialized constant SwitchTower
Obviously, this happens with any of the tasks in ST (like
2006 Aug 02
0
Capistano - before_update_code issue
...ture use - however I''ve noticed that when the before_update_code is
included in config/deploy.rb - the deployment script symlinks to the
previous release versus the new one checked out - am I overriding
something with the custom before_update_code? It uses the same code
that''s in diff_from_last_deploy task, except writing to file versus
screen. Any other ways to write the diff to file during just a call
to "rake deploy"?
task :before_update_code, :roles => [:app] do
diff = source.diff(self)
File.open(''deploy.diff'',''w'') do |f|
f.write(dif...