Cap 1.4.1? Go 1.4.2. Now.
Are you currently using Capistrano 1.4.1? If so, drop everything (I mean it, do this RIGHT NOW) and install Capistrano 1.4.2.
Why, you ask?
Capistrano 1.4.1 will work just fine, right up until you decide you want to experiment with Capistrano 2. When you do that, Cap 2.3+ will install net-ssh 2.x, which kills Capistrano 1.4.1 in all kinds of really obscure ways.
The good news is that Cap 1.4.2 is completely compatible with Cap 1.4.1. It adds no new features. The only “bug” it fixes is that if you ever install net-ssh 2.x, Cap 1.4.2 will still happily continue to work.
Ultimately, an upgrade to Cap 2 is recommended, but I understand it’s not feasible for everyone. So, if you’re one of those who can’t go cap2 yet, please please please PLEASE PLEASE FOR THE LOVE OF ALL THAT IS HOLY upgrade to Cap 1.4.2. It’ll make your life easier, and it’ll make my life easier (because I won’t have to keep troubleshooting the same issues over and over). Thanks!
Reader Comments
Thanks for doing this! As a service (and not that it’s difficult to figure out) could you give the gem command that one would issue to upgrade from 1.4.1 to 1.4.2? It would make this post a true one-stop.
Thanks!
26 Aug 2008
Thanks very much for this Jamis, I’ve a couple of legacy projects that this will fall in place nicely for.
26 Aug 2008
To install cap 1.4.2:
gem install capistrano -v 1.4.2
It’s that easy!
26 Aug 2008
Dude, I just dropped my coffee on my lap! Only to realize that I’m already on the Capistrano 2 bandwagon.
But oh, I couldn’t blame you, you’re doing a terrific job as it is. Anyway, if I ever meet you, I owe you a beer, or two.
- Dax. Not your biggest fan, but a fan nonetheless.
26 Aug 2008
I will try 1.4.2 in my new project.
27 Aug 2008
@Sebastian, if you’re starting a new project, then I’d strongly encourage you to use the latest Capistrano (2.4.3 right now, though a new release is imminent). The 1.4.x series is not recommended for new projects.
27 Aug 2008