5

I'm new to ruby and to rails.

How do I create a new application directory using rails 3.2.13? Below is the info regarding my rails installation.

$ rails --version
Rails 4.0.4
$ gem list rails

*** LOCAL GEMS ***

rails (4.0.4, 3.2.13)

Whenever I create a new rails app, the latest rails, 4.0.4, is being used.

Abhijith Madhav
  • 2,748
  • 5
  • 33
  • 44

1 Answers1

6

Do this:

rails _3.2.13_ new YOUR_APP_NAME
apneadiving
  • 114,565
  • 26
  • 219
  • 213
  • Thanks. Actually I had tried this before. But was getting an error. After your answer I tried to read through the error and it occured to me that maybe my default version of ruby(2.0.0) was incompatible with rails 3.2.13. So I changed my default ruby to something lower(1.9.3) and tried creating with the above command and it worked. – Abhijith Madhav Apr 01 '14 at 10:21