# Rails 4 and Ruby 2 on Windows 8.1

**URL:** <https://www.ruby-forum.com/t/rails-4-and-ruby-2-on-windows-8-1/238438>\
**Category:** Rails\
**Created:** [January 9, 2014, 10:50pm UTC](https://www.ruby-forum.com/t/rails-4-and-ruby-2-on-windows-8-1/238438 "2014-01-09T22:50:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [January 9, 2014, 10:50pm UTC](https://www.ruby-forum.com/t/rails-4-and-ruby-2-on-windows-8-1/238438/1 "2014-01-09T22:50:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![eastsidedev](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/8dc957/32.png) [@eastsidedev](https://www.ruby-forum.com/u/eastsidedev)\
**Post date:** [January 10, 2014, 1:29am UTC](https://www.ruby-forum.com/t/rails-4-and-ruby-2-on-windows-8-1/238438/2 "2014-01-10T01:29:58Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![eastsidedev](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/8dc957/32.png) [@eastsidedev](https://www.ruby-forum.com/u/eastsidedev)\
**Post date:** [January 10, 2014, 1:48am UTC](https://www.ruby-forum.com/t/rails-4-and-ruby-2-on-windows-8-1/238438/3 "2014-01-10T01:48:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![eastsidedev](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/8dc957/32.png) [@eastsidedev](https://www.ruby-forum.com/u/eastsidedev)\
**Post date:** [January 10, 2014, 1:48pm UTC](https://www.ruby-forum.com/t/rails-4-and-ruby-2-on-windows-8-1/238438/4 "2014-01-10T13:48:52Z")

</div>

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: [Downloads](http://rubyinstaller.org/downloads/)

For version management I have used Pik  
([GitHub - vertiginous/pik: Ruby version manager for Windows](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
