I am such a chicken. I very much wanted the next release of Capistrano to be the official “Capistrano 2.0” release. But as I watched the changelog grow, I started to get cold feet.
Thus, tonight I announce the fourth (and final, hopefully!) preview release of Capistrano 2.0. As before, you can grab it from the Rails beta gems server:
gem install -s http://gems.rubyonrails.com capistrano
(What is Capistrano, you ask? Allow me to direct your attention to http://www.capify.org…)
The following items are just some of the changes new in preview #4:
You can see the entire list of changes in the CHANGELOG.
So, give it a go. Try it out. Post your feedback to the Capistrano mailing list. I’d love to release cap2 final next week!
P.S. If you are on a Windows machine, and you get Zlib errors trying to install the Capistrano gem, try this. Find the rubygems/package.rb file (wherever it happens to be in your Ruby installation), open it up, and find the zipped_stream method. Then, replace it, wholesale, with the following:
def zipped_stream(entry)
entry.read(10) # skip the gzip header
zis = Zlib::Inflate.new(-Zlib::MAX_WBITS)
is = StringIO.new(zis.inflate(entry.read))
ensure
zis.finish if zis
end
That seems to do the trick for me; let me know if it doesn’t work for you.