Here’s my recipe to get a source tree commited into subversion, then setup Capistrano and then deploy the application on a production server.
I’ve done this many times, and everytime I stumble of one or more steps to find find what comes next, what path to use, etc. So here’s a note to hopefully settle this once and for all.
Pascal’s svn and Capistrano Cheat Sheet
by Pascal on April 25, 2006 in Rails
Selecting a rails hosting service
by Pascal on April 21, 2006 in Rails
Is there is one thing you could agree with, it is that there are many hosting options for your Ruby on Rail application. And this is a good thing for you. This is good because this means that there are a lot of companies competing for your business.
Freeze all your ruby gems on a shared host
by Pascal on March 28, 2006 in Quid Pro Quo, Rails
Things started to go downlhill when I had to check back on a previous article I had written about (Allowing full access to a sub directory in Apache Server) and my server would just hang!
Well, not a problem, let’s just try to hit the refresh key, hmmm, nothing. Ok, for good measure, let’s hit the button, just to be sure. Hmmm, still nothing.
Ok, let’s check out the logs, started from the apache logs.
Upgrading from SwitchTower to Capistrano
by Pascal on March 7, 2006 in Rails
Upgrading/switching from SwitchTower to Capistrano is easy if you follow this recipe (for linux):
A better alternative to killall
by Pascal on March 5, 2006 in Rails
On my host, severall other users are running other rails applications.
So, when using “rake deploy” while using Capistrano (used to be called SwitchTower before someone objected in infringed on their trademark), the default “killall -9 dispatch.fcgi” is trying to kill other processes that do not belong to me. This creates a problem near the end of the deploy command and it returns a failed status. In this case this is harmless, but… your brain has a tendency to learn to ignore errors when running deploy. Next time you get a real error, it might take you a while to realize that the error wasnt caused by the “killall” command. There is a better alternative where you can filter on the user: pkill.
uninitialized constant SwitchTower (Capistrano?)
by Pascal on March 4, 2006 in Quid Pro Quo
I did setup this blog (using the most excellent typo if you need to ask). The next step was to setup switchtower, and you guessed it, it almost worked. Here’s why.
Followed the directions to get it going and was ready to type my first command:





Recent Comments