Rails 4 and Ruby 2 on Windows 8.1

101 views
Skip to first unread message

Eastside Developer

unread,
Jan 9, 2014, 4:50:43 PM1/9/14
to rubyonra...@googlegroups.com
Has anyone been able to do this successfully? and what's the best
equivalent to RVM in the Windows world?

--
Posted via http://www.ruby-forum.com/.

Robert Walker

unread,
Jan 9, 2014, 7:29:58 PM1/9/14
to rubyonra...@googlegroups.com
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!

Timothy Mukaibo

unread,
Jan 9, 2014, 7:45:36 PM1/9/14
to rubyonra...@googlegroups.com
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.


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f92deed99b4b8d74fa8b7a42a147bd11%40ruby-forum.com.

Anthony Brushwood

unread,
Jan 10, 2014, 7:47:24 AM1/10/14
to rubyonra...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages