Blog (capistrano)
Don’t you just hate it when you get the following errors during a Capistrano deployment?
bundle: command not found
Could not find RubyGem bundler (>= 0) (Gem::LoadError)
In fact, even if you don’t use bundler, you might still get errors like this:
rake: command not found
Could not find RubyGem rake (>= 0) (Gem::LoadError)
It turns out this has something to do with the $PATH and $GEM_HOME variables.
So here’s the quick fix.
Log in to your deployment server, as a root us...
A few days ago I discovered Padrino, an excellent ruby framework built on top of Sinatra. What can be a better than experimenting with it? Build an actual website with it!
So last night I ported Wuit.com from using vanilla PHP + Flourish to using Padrino + DataMapper + Haml.
The entire porting experience was positive, albeit the website only has two pages.
I did encounter a strange problem with Capistrano though - both current_release and latest_release were giving me strange results. In the e...
The Rails deployment flow is really smooth thanks to the powerful (and easy to use) Capistrano.
Capistrano not only works with Rails and other Ruby code bases, but also code bases in any programming languages, such as PHP!
Here is an overview of what I did to get one of our PHP production sites up and running with Capistrano.
If you don’t already have Ruby and Rubygems installed, install them!
After you got ruby and rubygems, install Capistrano and its related gems -
gem install capistra...