I just installed ruby 1.9.2-p136 using the installer from rubyinstaller.org and now I am trying to install rails. When I do "gem install rails" I get the following error:
C:\Users\Clayton.USA>gem install rails
ERROR: While executing gem ... (Errno::EINVAL)
Invalid argument - P:/
Here are the ruby and gem versions I'm running:
C:\Users\Clayton.USA>ruby -v
ruby 1.9.2p136 (2010-12-25) [i386-mingw32]
C:\Users\Clayton.USA>gem -v
1.3.7
Update: found the solution here: How to stop the 'gem' utility from accessing my home directory?
Added the following to the start of my bin/gem:
ENV['HOME'] = "D:/Ruby192"