Skip to content

Instantly share code, notes, and snippets.

@mike1011
Forked from kirkelifson/cygwin-rvm.md
Created September 4, 2019 12:35
Show Gist options
  • Save mike1011/c8d9ac84d2aa609238d763ce8a5002dc to your computer and use it in GitHub Desktop.
Save mike1011/c8d9ac84d2aa609238d763ce8a5002dc to your computer and use it in GitHub Desktop.
RVM Install on Windows

Do you have spaces in your Windows username?

  1. Create a new account on Windows without a space.

#Installation

  1. Download cygwin from http://cygwin.com
  2. Run setup-(x86|x86_64).exe
  3. Click next until selecting repo to download packages
  4. Choose http://cs.vt.edu (gotta go fast), click next
  5. Select the following packages (search for each):
* unzip
* openssl
* curl
* gcc-core
* git
* libtool
* make
* readline
* zlib
* zlib-devel
* libyaml
* libyaml-dev
* ncurses
* patch
* gnupg
  1. Keep 'Add shortcut to desktop' checked, then click Finish
  2. Start cygwin from desktop terminal shortcut
  3. Go to https://rvm.io
  4. Follow instructions to install (gpg & curl)

#Post-installation

  1. Make a 'bin' directory in your home dir $ mkdir ~/bin
  2. Copy setup-(x86|x86_64).exe to the new bin dir (e.g., C:/cygwin/home/user/bin)
  3. Add bin to your PATH $ export PATH=/home/user/bin:$PATH
  4. Test to verify rvm is working:
$ rvm --version
$ rvm install 2.1.7

#Cygwin problems

"It look like you're one of those happy space users..."

You didn't make a new Windows user without a space. Step #0

"gpg iconv.dll not found"

Ignore this.

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