After a failure trying to install Ruby on Rails from here: http://railsinstaller.org/, I am now trying to install things manually.
I thought I would install Pik first and then hit "pik install ruby" from the command prompt. Seemingly, nothing could be simpler than that. However, I am receiving the message "Ruby not found". How could this be?
it seems Pik cannot install Ruby automatically. It's just manager of ruby versions. In order to install Ruby on Windows it's necessary to use RubyInstaller for Windows http://rubyinstaller.org/downloads/ and then pik add C:\Ruby193\bin (or any other path to installed ruby)
While the
pik
gem is no longer maintained,pik
from here is still the best way to manage multiple ruby versions on windows. (Please someone write another one. Or talk Gordon Thiesfeld into letting someone else manage it.)Setting up
pik
is painful (you are require to manually install the ruby versions, the requireddevkit
s and then tellpik
to use them).If you don't need multiple, ruby versions, I recommend you use the excellent installers from here and use
gem install rails
to get your windows, ruby on rails fix.