John Kopanas
2006-Mar-20 19:51 UTC
[Rails] Capistrano: cap show_tasks working but rake show_tasks not?
Does it make sense that if I type cap show_tasks it works but when I type rake show_tasks I get: rake aborted! Don''t know how to build task ''show_tasks'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1287:in `[]'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:300:in `[]'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7 /usr/local/bin/rake:18 Thanks for your help :-) John Kopanas
Justin Forder
2006-Mar-21 04:24 UTC
[Rails] Capistrano: cap show_tasks working but rake show_tasks not?
John Kopanas wrote:> Does it make sense that if I type cap show_tasks it works but when I > type rake show_tasks I get: > > rake aborted! > Don''t know how to build task ''show_tasks'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1287:in `[]'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:300:in `[]'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'' > /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7 > /usr/local/bin/rake:18try rake -T> > Thanks for your help :-):-) Justin
John Kopanas
2006-Mar-21 14:15 UTC
[Rails] Capistrano: cap show_tasks working but rake show_tasks not?
The tasks from capistrano are not listed there... other then deploy. How come? How can I fix this? On 20-Mar-06, at 11:24 PM, Justin Forder wrote:> John Kopanas wrote: >> Does it make sense that if I type cap show_tasks it works but when >> I type rake show_tasks I get: >> rake aborted! >> Don''t know how to build task ''show_tasks'' >> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1287:in `[]'' >> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:300:in `[]'' >> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in >> `run'' >> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in >> `run'' >> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7 >> /usr/local/bin/rake:18 > > try > > rake -T > >> Thanks for your help :-) > > :-) > > Justin > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/railsJohn Kopanas http://www.kopanas.com ====================================================================http://www.soenlive.com - the sound of software engineering http://www.cusec.net - software engineering conference http://www.soen.info - source of the freshest software engineering information on the net
Jamis Buck
2006-Mar-21 14:28 UTC
[Rails] Capistrano: cap show_tasks working but rake show_tasks not?
On Mar 21, 2006, at 7:13 AM, John Kopanas wrote:> The tasks from capistrano are not listed there... other then > deploy. How come? How can I fix this?The capistrano tasks are all namespaced in rake (except for deploy and rollback). Look for the tasks prefixed with "remote:". Thus: rake remote:show_tasks ought to do the trick. - Jamis> > On 20-Mar-06, at 11:24 PM, Justin Forder wrote: > >> John Kopanas wrote: >>> Does it make sense that if I type cap show_tasks it works but >>> when I type rake show_tasks I get: >>> rake aborted! >>> Don''t know how to build task ''show_tasks'' >>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1287:in ` >>> []'' >>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:300:in `[]'' >>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in >>> `run'' >>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in >>> `run'' >>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7 >>> /usr/local/bin/rake:18 >> >> try >> >> rake -T >> >>> Thanks for your help :-) >> >> :-) >> >> Justin >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails > > > John Kopanas > http://www.kopanas.com > > > ====================================================================> http://www.soenlive.com - the sound of software engineering > http://www.cusec.net - software engineering conference > http://www.soen.info - source of the freshest software engineering > information on the net > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
John Kopanas
2006-Mar-21 17:51 UTC
[Rails] Capistrano: cap show_tasks working but rake show_tasks not?
ahhh... I feel really stupid... working now. Thanks Jamis. On 21-Mar-06, at 9:28 AM, Jamis Buck wrote:> On Mar 21, 2006, at 7:13 AM, John Kopanas wrote: > >> The tasks from capistrano are not listed there... other then >> deploy. How come? How can I fix this? > > The capistrano tasks are all namespaced in rake (except for deploy > and rollback). Look for the tasks prefixed with "remote:". Thus: > > rake remote:show_tasks > > ought to do the trick. > > - Jamis > >> >> On 20-Mar-06, at 11:24 PM, Justin Forder wrote: >> >>> John Kopanas wrote: >>>> Does it make sense that if I type cap show_tasks it works but >>>> when I type rake show_tasks I get: >>>> rake aborted! >>>> Don''t know how to build task ''show_tasks'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1287:in >>>> `[]'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:300:in ` >>>> []'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in >>>> `run'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in >>>> `run'' >>>> /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7 >>>> /usr/local/bin/rake:18 >>> >>> try >>> >>> rake -T >>> >>>> Thanks for your help :-) >>> >>> :-) >>> >>> Justin >>> _______________________________________________ >>> Rails mailing list >>> Rails@lists.rubyonrails.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> >> John Kopanas >> http://www.kopanas.com >> >> >> ====================================================================>> http://www.soenlive.com - the sound of software engineering >> http://www.cusec.net - software engineering conference >> http://www.soen.info - source of the freshest software engineering >> information on the net >> >> >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/railsJohn Kopanas http://www.kopanas.com ====================================================================http://www.soenlive.com - the sound of software engineering http://www.cusec.net - software engineering conference http://www.soen.info - source of the freshest software engineering information on the net