Showing posts with label rubyonrails. Show all posts
Showing posts with label rubyonrails. Show all posts

Wednesday, June 23, 2010

Setting up Rails Environment on Windows Vista/XP


  Couple months back when I just started programming on Ruby on Rails, I faced so many problems regarding the configuration and all, in my developing machine Vista. I searched so many resources online but didn’t find a suitable one. Now I managed to resolve that problem. So, I would like to share the knowledge to you on how to setup Rails on Windows platform, using Ruby gems, Rails, Mongrel, and MySQL as a part of the stack. I am using windows Vista for my development process, but all the instructions will work in the Windows Xp
too.

1. Installing Ruby: Download and install the latest version of Ruby Installer (currently 1.8.6-27 RC2) from the rubyforge.org website: One-Click Ruby Installer.  Leave all the default settings during installations as such.  Its important that you install in the ruby path without any spaces in it. (Like C:/Ruby by default). 


Installing Ruby On Rails on Debian/Ubuntu



After some experience in developing RubyOnRails applications in windows, i came to know that the best environment for rails development is Linux. So i choose to have the Debian version Ubuntu 10.04. 
Today i'm going to show you guys how to install Ruby on Rails in Ubuntu 10.04. This can be applied to lower versions also. 

Get Ruby

$ sudo apt-get install ruby-full build-essential