Sanjai Palliyil
Sanjai Palliyil

Reputation: 609

Install Ruby on Rails

How do I install Ruby on Rails in my PC? What files do I need to download and what is the installation procedure?

Upvotes: 1

Views: 333

Answers (1)

Daniel O'Hara
Daniel O'Hara

Reputation: 13438

  1. Download RubyInstaller 1.8.7 from here. During the installation, check the 'Add Ruby executables to your PATH' box. After the installation, don't forget to restart cmd. Try ruby -v and gem -v to check for installed Ruby and RubyGems and ensure they work;
  2. Install the latest stable Rails release: gem install rails and check it using rails -v;
  3. Create a new application using rails myapp;
  4. cd myapp, run script/server, and develop, develop, develop.

Upvotes: 1

Related Questions