Setting Up the Rail Environment - Using VMware with Ubuntu 12.04 on Window 8

By on

I really want to dual boot my current Sony Vaoi to Ubuntu OS, but with Window 8, it is an extremely time-consuming, and frustrating process (and I don’t want to risk another system reboot) . So I resort I use my second best option, which is to run a virtual machine (I use VMware) to boot Ubuntu. Some of the reasons have to do with many reported bugs and issues both Window 8 and Mac OS, which prompt the Rails community to use a virtual machine to boot a Linux-based system.

Also, while working on my first website project, I want to use Jekyll to deploy my blogs from github. Jekyll is supported on window, but to optimize its performance, I rather use it for Linux .

So I spent a good day testing out many tutorials for installing git, curl, rvm for ruby version 1.9.3 and 2.0.0, and ruby on rails. I ran into issues with first trial, since the order of how you install each component DOES matter. Some of other issues which I learned, through trial and error are:

  • Running the latest version of VMware player 6.0.1 will NOT work. The internet cannot be connected. Download version 6.0.0 instead, and it will work fine.
  • I am using Ubuntu 12.04 x64bit. Some people reported that x32 bit will cause some error.

But, on second try, I used Amit’s tutorial for initial rvm set-up at :

http://amit-thawait.blogspot.com/2012/07/ruby-on-rails-on-ubuntu-using-vmware.html

And Daft on Tap’s Rails tutorial for installing the gems and rails at:

http://daftontap.com/post/10799052366/why-weve-switched-to-ruby-on-rails-and-an

For troubleshooting:

http://amit-thawait.blogspot.com/2012/07/ruby-on-rails-on-ubuntu-using-vmware.html

http://amit-thawait.blogspot.com/2012/07/ruby-on-rails-on-ubuntu-using-vmware.html

And for sharing files from host OS (window or mac) to Ubuntu on VMware (using Samsa):

http://amit-thawait.blogspot.com/2012/07/ruby-on-rails-on-ubuntu-using-vmware.html

And finally, installing jekyll site-generator:

http://amit-thawait.blogspot.com/2012/07/ruby-on-rails-on-ubuntu-using-vmware.html

http://amit-thawait.blogspot.com/2012/07/ruby-on-rails-on-ubuntu-using-vmware.html

Updated