Skip to content

Instantly share code, notes, and snippets.

@gabrieljoelc
Created February 13, 2013 14:26
Show Gist options
  • Save gabrieljoelc/4944952 to your computer and use it in GitHub Desktop.
Save gabrieljoelc/4944952 to your computer and use it in GitHub Desktop.
Windows symlink to deal with some Ruby gems not installing because of spacing in path (i.e. "C:\Program Files (x86)\Ruby-1.9.2").
# create the link
> mklink /d c:\ruby "C:\Program Files (x86)\Ruby-1.9.2"
#run the gem install command
> c:\ruby\bin\gem install rails
# delete the link
> ???
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment