Rails 3 App Deployment Observations
I already have two Rails 3 apps that are in production. While deploying these, I observed the following.
- Painfully obvious, you need to add a task to perform bundle install in your Capistrano script.
- When deploy hangs, it’s usually because Bundler is prompting for password.
- Haven’t found anything significant different from Rails 2.x.
- Ruby 1.9.2 really is much faster.
- While it solves a ton of problems, Bundler manages to piss me off on regular basis.
- Having multiple Ruby versions with Passenger is not a good idea. Besides, VPS’s are cheap these days.
I’m sure you guys are feeling the Capistrano screencast coming. However, the reason why I’m holding up the screencast is that PeepCode has that subject covered rather thoroughly. Check out Geoffrey’s good work, it’s only $9 and if you can’t invest that little in yourself, then I have nothing good to say.