Forum: Ruby on Rails Capistrano: cap show_tasks working but rake show_tasks not?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9904f8acaf66a3c1a4b4434676be11cf?d=identicon&s=25 John Kopanas (Guest)
on 2006-03-20 20:51
(Received via mailing list)
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
Eea7ad39737b0dbf3de38874e0a6c7d8?d=identicon&s=25 Justin Forder (Guest)
on 2006-03-21 05:24
(Received via mailing list)
John Kopanas wrote:
> /usr/local/bin/rake:18
try

   rake -T

>
> Thanks for your help :-)

:-)

   Justin
9904f8acaf66a3c1a4b4434676be11cf?d=identicon&s=25 John Kopanas (Guest)
on 2006-03-21 15:15
(Received via mailing list)
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:

>> `run'
>
>   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
992fe8c19bbbc27f2b562a9f96efc03d?d=identicon&s=25 Jamis Buck (Guest)
on 2006-03-21 15:28
(Received via mailing list)
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
9904f8acaf66a3c1a4b4434676be11cf?d=identicon&s=25 John Kopanas (Guest)
on 2006-03-21 18:51
(Received via mailing list)
ahhh... I feel really stupid... working now.  Thanks Jamis.

On 21-Mar-06, at 9:28 AM, Jamis Buck 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
> 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
This topic is locked and can not be replied to.