I don't want to install rails 3 or whatever, since i already have it somewhere in my computer. And,it runs smoothly in one of my application . There is one thing special with that app is in its Gemfile file i have
ruby '1.9.3'
gem 'rails', '3.2.11'
I tried few things
- I tried to run it via absolute path but still it doesn't works. might be i have used wrong path. I went to
GEM_HOME/bindirectory and thenrails. It doesn't work. It is pickingrails 4 I went to
appwhich is usingrails 3and did thisrails new ~/some_rails3_app. Doesn't work. It gives me this errorCan't initialize a new Rails application within the directory of another, please change to a non-Rails directory first. Type 'rails' for help.
Created
rails 4app , changed gem version to3.2.11, deletedGemfile.lockand didbundle install. Doesn't worked , giving somecoffeescriptversion conflict error.
In case if that matters, i am using
Maczshrvmruby 1.9.3p484Rails 4.0.3Rails 3.2.11