Posts [ 5 ]

Topic: HOWTO: Roll back from Capistrano 2.0 to 1.4

This may be simple for more advanced users, but it escaped a newb like me until about 5 minutes ago :-)

Why roll back?After googling for information on how to deploy using Capistrano 2.0 for the last eighteen hours (no I'm not kidding - that's including learning how to use subversion for the first time, numerous database debacles, lots of coke, etc. etc.), I've seen numerous references of people saying, "don't use 2.0, use 1.4 instead, it's much easier."

Of course, having NEVER deployed a rails app in my life, the first question out of my mouth is: "uhh...how?"

Here's how it works.

If you already have Capistrano 2.0 installed:

sudo gem uninstall capistrano

Pop in that root password, and when it asks:

Remove executables and scripts for'cap, capify' in addition to the gem? [Yn]

...tell it yes (Y).

Starting FreshIf you didn't have capistrano on your system prior to that, or just now executed the above, do this:

Re: HOWTO: Roll back from Capistrano 2.0 to 1.4

Re: HOWTO: Roll back from Capistrano 2.0 to 1.4

>>>>After googling for information on how to deploy using Capistrano 2.0 for the last eighteen hours (no I'm not kidding - that's including learning how to use subversion for the first time, numerous database debacles, lots of coke, etc. etc.)

I spent the last 48 hours of my life trying to get Cap2 and SVN to work!