
Its been a long time since i have posted on TOS . Today i decided to write an article on Setting up Rails Environment on Windows . This tutorials helps to understand where your rails environment files are located as it helps for beginners to understand the dependencies softwares and files required for the developing rails application.
You can also check this post by my friend on HowTo: Configure Instant Rails and Aptana IDE
Above link comes handy once you install rails environment . Following are the Steps that are involved to Install Rails Web framework
Step1 : Install ruby 1.8.6 with one click installer you can download the exe file here
File name is : rubyinstaller-1.8.6-p398-rc2.exe
Step2 : Run the exe and select all the defaults , This will install Ruby under C:\ruby
and it also install RubyGems . Automatically it will set the path . If it is not done set in the
Mycomputer ->Rightclick->Properties->Advanced->Environments . Set the path ie C:\ruby
Step3 : From the command prompt type the following command
> gem update –system
Step4: Install Rails Framework
> gem install rails –VERSION=2.3.2
Step5: Download the Mysql Server from here
http://dev.mysql.com/downloads/mysql/5.1.html#downloads
Step6 : Install Mysql gem from the command prompt
> gem install mysql
Step7: To check rails version which is installed is right version or not from the command prompt type the following command
>rails –version
If you find this post useful please spread a word about http://talkonsomething.com . You can also follow me on twitter here .
Related posts
- HowTo: Configure Instant Rails and Aptana IDE
- Google Go Installation procedure on Ubuntu 9.10 Karmic Koala
- HOW TO CONNECT MYSQL DATABASE FROM WINDOWS XP TO UBUNTU
- Useful Rails plugins ,Ruby gems and Ruby libraries
- Installation guide for Novel’s Mono,Mono-develop,Xsp2 Server in Ubuntu 9.10 Karmic Koala