Reputation: 8122
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
GEM_HOME
/ bin
directory and then rails
. It doesn't work. It is picking rails 4
I went to app
which is using rails 3
and did this rails new ~/some_rails3_app
. Doesn't work. It gives me this error
Can'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 to 3.2.11
, deleted Gemfile.lock
and did bundle install
. Doesn't worked , giving some coffeescript
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
Upvotes: 0
Views: 43