- Install Cygwin (http://www.cygwin.com/)
- Select the folowing packages: curl, git, nano, openssh, openssl, unzip, util-linux, vim, wget
- Install Ruby (https://rubyinstaller.org/downloads/)
- Download and install ruby.
- Make sure you've ammend PATH in environment variable
- Verify in Cygwin by closing and starting cygwin then type:
echo $PATH
- Make sure you got
/cygdrive/c/Ruby22/bin
(according to your path)
- Edit
~/.bash_profile
or~/.profile
- Add
alias gem=gem.bat
- Install Mailcatcher
gem install mailcatcher
Now whenever you install any package from gems you need to add alias in
~/.bash_profile
in order to run in cygwin OR you can directly batch file withgem.bat -v
e.g. add
alias mailcatcher=mailcatcher.bat
in~/.bash_profile