Capistrano: cap show_tasks working but rake show_tasks not?


#1

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:inrun’
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7
/usr/local/bin/rake:18

Thanks for your help :slight_smile:

John K.


#2

John K. wrote:

/usr/local/bin/rake:18
try

rake -T

Thanks for your help :slight_smile:

:slight_smile:

Justin


#3

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 F. wrote:

`run’

Justin


Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

John K.
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


#4

ahhh… I feel really stupid… working now. Thanks Jamis.

On 21-Mar-06, at 9:28 AM, Jamis B. wrote:

ought to do the trick.

Don’t know how to build task ‘show_tasks’

Rails mailing list
http://www.cusec.net - software engineering conference
Rails mailing list
removed_email_address@domain.invalid
http://lists.rubyonrails.org/mailman/listinfo/rails

John K.
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


#5

On Mar 21, 2006, at 7:13 AM, John K. 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