I was having some issues with my Cygwin/RVM install so I decided to try using the DOS command prompt and pik instead.
http://stackoverflow.com/questions/9189628/install-ruby-on-rails-on-windows
I think the answerer to this post incorrectly uses bundler to try and install gems (at least for me it gave an error, but using pik gem install <gemname> worked).
Note that for the console I'm using the Windows DOS command line instead of cygwin
Installed Ruby via the Ruby installer
Added Ruby to path as part of the installer optionInstalled pik
D:\> gem install pikD:\> pik_install <directory_in_PATH>
Ran pik
D:\> pikD:\> pik list ## confirm proper Ruby version
Installed DevKit
Ran installer to %DEVKIT_HOME%
%DEVKIT_HOME%\> ruby dk.rb init%DEVKIT_HOME%\> ruby dk.rb install
Test the DevKit installation
%DEVKIT_HOME%\> pik gem install rdiscount --platform=ruby%DEVKIT_HOME%\> ruby -rubygems -e "require 'rdiscount'; puts Discount.new('**Hello there, Eric!**').to_html"
Should output
<p><strong>Hello there, Eric!</strong></p>
Installed gems using pik
I didn't find a lot of pik usage information, but I decided to install gems with pik. Using 'gem list' and 'pik gem list' in different consoles leads me to believe that the installation methods acheive the same result. Pik dosen't appear to have native gemset-like commands, but see this post for a hack.D:\> pik gem install bundler --pre
D:\> pik gem install rake
D:\> pik gem install activesupport
D:\> pik gem install mysql
D:\> pik gem install libv8
D:\> pik gem install rails
D:\> pik gem install execjs
D:\> pik gem install jquery-rails
Installed locally downloaded gems
D:\> pik gem install linecache19-0.5.13.gemThis one required the source code for my Ruby version
D:\> set RVM_SRC=<path_to_source>
D:\> pik gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=%RVM_SRC%