"No Rakefile found" error during deploy

86 views
Skip to first unread message

Tony

unread,
Jan 2, 2010, 10:21:52 PM1/2/10
to Capistrano
I have been successfully deploying with capistrano for few weeks on
this particular project. I deployed tonight and got an error stating
the Rakefile was nowhere to be found. I SSH'd into my server and
verified that there was no Rakefile. However, in my repository, there
is certainly a Rakefile and I can see it clearly. I also have noticed
that files such as environment.rb, boot.rb, etc. are missing from the
config directory in my new deploy. My deploy.rb looks like:
https://gist.github.com/76e85078fb7873c0722c

and my staging.rb (I am using Capistrano multistage) looks like:
https://gist.github.com/e6db07f981156414ed84

Any idea what is going on here? I am very confused because I changed
nothing in my deploy files since my last successful deploy.

Lee Hambley

unread,
Jan 4, 2010, 6:37:37 AM1/4/10
to capis...@googlegroups.com
Tony,

I can verify that nothing has changed in that part of the deployment script – are you using remote cache, maybe there's a problem there (sometimes you can have conflicts, so things go missing!)

-- Lee Hambley

Twitter: @leehambley | @capistranorb
Blog: http://lee.hambley.name/
Working with Rails: http://is.gd/1s5W1


2010/1/3 Tony <corga...@gmail.com>

--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en

Tony Amoyal

unread,
Jan 4, 2010, 8:32:14 AM1/4/10
to capis...@googlegroups.com
Thanks for the response, Lee. I am still a bit new to capistrano.
Turning copy_cache off fixed the issue

>> capistrano+...@googlegroups.com<capistrano%2Bunsu...@googlegroups.com>For


>> more options, visit this group at
>> http://groups.google.com/group/capistrano?hl=en
>
> --
> * You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> * To post to this group, send email to capis...@googlegroups.com
> * To unsubscribe from this group, send email to
> capistrano+...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/capistrano?hl=en

--
Sent from my mobile device

Tony C. Amoyal
www.tonyamoyal.com
www.dailysongfix.com
(240) 417-3112
tonya...@gmail.com
@tonyamoyal

Reply all
Reply to author
Forward
0 new messages