Skip to content

Instantly share code, notes, and snippets.

@geedelur
Created July 30, 2012 16:13
Show Gist options
  • Save geedelur/3208130 to your computer and use it in GitHub Desktop.
Save geedelur/3208130 to your computer and use it in GitHub Desktop.
Cygwin + Ruby + RubyGems => Deploy with Capistrano from Windows

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
@PhillipHuynh
Copy link

@superoddy Thanks this worked!

@feryardiant
Copy link

Replace all 'user32', 'kernel32' og 'advapi32' with 'user32.dll', 'kernel32.dll' og 'advapi32.dll' (line 46, 47, 48, 53 and 59).

@superoddy, you safe my day bro, thank you.

@juliorosseti
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment