Do you have a .caprc file in your home directory? What does your  
Capfile look like? Do you have any plugins in vendor/plugins that have  
cap recipes?

I'm just wondering if there is something, somewhere, that is mucking  
with your load path. Try adding this to the bottom of both your  
deploy.rb and deploy/staging.rb files:

   puts(__FILE__, load_paths.join(":"))

The load paths that are printed should be (by default) "." and the  
path to the "recipes" subdirectory in your capistrano installation (/ 
path/to/gems/capistrano-2.4.0/lib/capistrano/recipes).

- Jamis

On Jun 23, 2008, at 10:10 AM, [EMAIL PROTECTED] wrote:

>
> [EMAIL PROTECTED]:~$ ls -l /usr/lib/ruby/gems/1.8/gems/ 
> capistrano-2.4.0/
> lib/capistrano/recipes/deploy/strategy
> total 32
> -rw-r--r-- 1 root root 2562 2008-06-23 14:36 base.rb
> -rw-r--r-- 1 root root  533 2008-06-23 14:36 checkout.rb
> -rw-r--r-- 1 root root 8417 2008-06-23 14:36 copy.rb
> -rw-r--r-- 1 root root  469 2008-06-23 14:36 export.rb
> -rw-r--r-- 1 root root 1488 2008-06-23 14:36 remote_cache.rb
> -rw-r--r-- 1 root root 1735 2008-06-23 14:36 remote.rb
>
> I've tried uninstalling all the gems relating to capistrano but this
> did not help either.  I also tried running capistrano 2.3.0 (which it
> was working for previously) but that did not help
>
> Thanks
> Nick
>
>
> On Jun 23, 4:54 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
>> I don't think it is related to rubygems, since I just tried
>> uninstalling capistrano and reinstalling (using rubygems 1.2.0) and I
>> can find the remote_cache strategy just fine. What does the lib/
>> capistrano/recipes/deploy/strategy directory look like in your
>> capistrano installation? Is there a remote_cache.rb file?
>>
>> - Jamis
>>
>> On Jun 23, 2008, at 9:38 AM, [EMAIL PROTECTED] wrote:
>>
>>
>>
>>> I did a fresh install of Ubuntu 8.04 at the weekend
>>
>>> ruby 1.8.6 (2007-09-24 patchlevel 111) [i486-linux]
>>
>>> I wonder if it has anything to do with the new version of rubygems?
>>
>>> thanks
>>> Nick
>>
>>> On Jun 23, 4:06 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
>>>> Very odd. :( I can't duplicate this at all. What version of Ruby  
>>>> are
>>>> you using? And what OS?
>>
>>>> - Jamis
>>
>>>> On Jun 23, 2008, at 8:53 AM, [EMAIL PROTECTED] wrote:
>>
>>>>> Hi,
>>
>>>>> I'm getting a similar problem with my deploy:
>>>>> could not find any strategy named `remote_cache'
>>
>>>>> capistrano (2.4.0)
>>>>> capistrano-ext (1.2.1)
>>>>> gem 1.2.0
>>
>>>>> deploy.rb:http://pastie.org/220387
>>>>> deploy/staging.rb:http://pastie.org/220389
>>
>>>>> I've tried uninstalling and reinstalling capistrano but no luck
>>
>>>>> Any ideas?
>>>>> Thanks
>>>>> Nick
>>
>>>>> On Jun 23, 2:29 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
>>>>>> Sounds like maybe you've got a botched install of capistrano.  
>>>>>> Does
>>>>>> the
>>>>>> file lib/capistrano/recipes/deploy/strategy/checkout.rb exist in
>>>>>> your
>>>>>> capistrano installation? What version of rubygems do you have
>>>>>> installed?
>>
>>>>>> If nothing else, you might want to "gem uninstall" all versions  
>>>>>> of
>>>>>> capistrano that you've got installed, and then "gem install
>>>>>> capistrano" and see if that works any better.
>>
>>>>>> - Jamis
>>
>>>>>> On Jun 22, 2008, at 11:43 PM, Parker McGee wrote:
>>
>>>>>>> Whenever I try to deploy using Capistrano 2.4.0, I get the
>>>>>>> following
>>>>>>> output:
>>
>>>>>>> $ cap deploy
>>>>>>>  * executing `deploy'
>>>>>>>  * executing `deploy:update'
>>>>>>> ** transaction: start
>>>>>>>  * executing `deploy:update_code'
>>>>>>> *** [deploy:update_code] rolling back
>>>>>>>  * executing "rm -rf /home/pmcgee/homeless-shelter/releases/
>>>>>>> 20080623053142; true"
>>>>>>>    servers: ["twistingmaze.com"]
>>>>>>> Password:
>>>>>>>    [twistingmaze.com] executing command
>>>>>>>    command finished
>>>>>>> could not find any strategy named `checkout'
>>
>>>>>>> On deploy:check, I get the same error:
>>
>>>>>>> $ cap -q deploy:check
>>>>>>> could not find any strategy named `checkout'
>>
>>>>>>> My deploy.rb file is available here:http://pastie.org/220188
>>
>>>>>>> I've never had this problem before, though I did just upgrade to
>>>>>>> 2.4.0.  I can't see anywhere where I'm trying to call a  
>>>>>>> 'checkout'
>>>>>>> strategy.  Could someone please help?  Thanks!
>>
>>>>>>> Parker McGee
> >


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to