rkb81
7/30/2012 - 4:13 PM

Cygwin + Ruby + RubyGems => Deploy with Capistrano from Windows

Cygwin + Ruby + RubyGems => Deploy with Capistrano from Windows

h1. Deploy with Capistrano from Windows

Install Cygwin (http://www.cygwin.com/)
* Select the folowing packages: curl, git, nano, openssh, openssl, ruby, unzip, util-linux, vim, wget

Download the RubyGems tarball from Ruby Forge (http://rubyforge.org/projects/rubygems/)
* wget http://rubyforge.org/frs/download.php/76072/rubygems-1.8.24.zip
* unzip rubygems-1.8.24.zip

In a bash terminal, navigate to the unpacked directory and run:
* ruby setup.rb install
* gem update --system

Install Capistrano
* gem install capistrano

And also could be useful
* gem install capistrano-ext (for instace for Multistage Deploys)
* gem install railsless-deploy