On Wed, Apr 15, 2009 at 10:14 AM, Ken Hudson
<[email protected]> wrote:
>
> Hi Darren,
>
> I'm doing (was doing) a "cap deploy:migrations" which will do a deploy
> and run the pending migrations unlike "cap deploy:migrate" which will
> only run the migrate rake task.  And, yes, the source is being saved
> and then commited to git prior to the redeploy.  That said, I think
> there is something wrong with the deploy.rb file.  Maybe.
>

We use shoulda in our project, and have not come across this specific
problem.  Although, we don't add the rake tasks to the Rakefile (I
didn't even know there were any until your post).

Are you requiring that file elsewhere?  Possibly in one of your
lib/tasks/*.rake files?

Also, do you have it in your environment.rb?  What does 'rake gems'
tell you?  (having said that, rake gem dependencies are separate from
rails gem dependencies, since rake needs its dependencies before it
loads the rails environment.)

Darren

--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to