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
/bin
directory and thenrails
. It doesn't work. It is pickingrails 4
I went to
app
which is usingrails 3
and 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 4
app , changed gem version to3.2.11
, deletedGemfile.lock
and didbundle install
. Doesn't worked , giving somecoffeescript
version conflict error.
In case if that matters, i am using
Mac
zsh
rvm
ruby 1.9.3p484
Rails 4.0.3
Rails 3.2.11