To edit pages or tickets please login with username/password: aaf/aaf

Ticket #221 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

capistrano syntax error in aaf_recipes.rb

Reported by: aaf Assigned to: jk
Priority: major Milestone:
Component: 0plugin Version:
Keywords: Cc: gerrit+bugmail@gerritkaiser.de

Description

line 68 in aaf_recipes.rb has

    task :rebuild => :environment, :roles => :app do

which is rake syntax, not capistrano… capistrano rightly complains about this:

/Library/Ruby/Gems/1.8/gems/capistrano-2.2.0/lib/capistrano/configuration/namespaces.rb:91:in task': undefined method to_sym' for {:rebuild=>:environment, :roles=>:app}:Hash (NoMethodError)

Just renmoving the => :environment fixes this. And since the task calls out to rake anyway, I don't see any reason why this was even in there in the first place

Change History

06/13/08 10:30:39 changed by jk

  • status changed from new to closed.
  • resolution set to fixed.

fixed in trunk, thanks!

To edit pages or tickets please login with username/password: aaf/aaf