Skip to content

Instantly share code, notes, and snippets.

@skhani
Last active October 27, 2017 22:17
Show Gist options
  • Save skhani/2d3e914ac8dcbe43248d to your computer and use it in GitHub Desktop.
Save skhani/2d3e914ac8dcbe43248d to your computer and use it in GitHub Desktop.
Deploy Capistrano on windows and Cygwin

##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/)

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment