Rails 4 and Ruby 2 on Windows 8.1

Has anyone been able to do this successfully? and what's the best equivalent to RVM in the Windows world?

Eastside Developer wrote in post #1132713:

Has anyone been able to do this successfully? and what's the best equivalent to RVM in the Windows world?

Why would you want to? Throw a Linux VM on there and go to town with Rails.

P.S. I know there are some extreme circumstances where this is simply not possible, but if it is for you then you'll have FAR AND AWAY less trouble developing in Rails and all the cool UNIX'y tool that go along with it. Everything related to Rails just works better!

I agree with Robert 100%. In fact, this is what I do, except I’m running Windows 8.

Windows 8+ Pro and Enterprise actually allow you to enable Hyper-V. As I’m on a laptop, I’ve found that it’s much more power efficient compared to Virtualbox, and my Linux distribution of choice (Ubuntu 12.04) is fully supported.

Best of both worlds really!

Thanks,

Timothy.

I agree with both responses, in that you should consider using a VM.

However, if this is not possible then I have successfully set it up but only on Windows 7. There are a few workarounds you will need to implement, like DevKit for instance, but I would think that the ruby installer should still work: http://rubyinstaller.org/downloads/

For version management I have used Pik (https://github.com/vertiginous/pik). It is your choice to install ruby via pik OR do it manually and then just attach your install to the pik config yml file that gets generated after install. Normally, I have done the latter. Also, depending on what kind of DB you are using you may have to search around for a few missing DLL’s.

Let us know if you successfully get it running on Windows 8 though…

Anthony