here is the ouput
https://gist.github.com/1721589
in summary below
robinhood:~ steve$ cat ~/.railsrc
cat: /Users/steve/.railsrc: No such file or directory
robinhood:~ steve$ rvm current
ruby-1.9.2-p290@rails3
robinhood:~ steve$ rvm gemdir
/Users/steve/.rvm/gems/ruby-1.9.2-p290@rails3
robinhood:~ steve$ cd /Users/steve/.rvm/gems/ruby-1.9.2-p290@rails3
Sorry that I was not clear here. I meant the cat Gemfile to
be executed in your home directory.
$ cd
$ cat Gemfile
But probably, there is no Gemfile there.
robinhood:ruby-1.9.2-p290@rails3 steve$ cat Gemfile
cat: Gemfile: No such file or directory
robinhood:ruby-1.9.2-p290@rails3 steve$ gem list rail
*** LOCAL GEMS ***
rails (3.1.0.rc6, 3.0.10, 3.0.3)
railties (3.1.0.rc6, 3.0.10, 3.0.3)
robinhood:ruby-1.9.2-p290@rails3 steve$ which rails
/Users/steve/.rvm/gems/ruby-1.9.2-p290@rails3/bin/rails
robinhood:ruby-1.9.2-p290@rails3 steve$ ruby -ve ‘puts 4’
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.6.0]
4
Is there any chance that the 3.1.0.rc6 is used and has a known bug ?
Actually, something I don’t understand. IIRC (??) you said, you threw
away everything and reinstalled rails. But how come we have these
“old” versions or Rails then ?
What happens when you do this as a fresh new install :
I copied the output on my side in https://gist.github.com/1722491
$ cd
$ rvm install ruby-1.9.3 # this will install 1.9.3-p0
$ rvm use ruby-1.9.3
$ rvm gemset create new_rails
$ rvm gemset use new_rails
$ gem install bundler
$ gem install rails # this will install rails 3.2.1
$ rails new new_app --skip-bundle
$ # in previous tests, you never arrived here ?
$ cd new_app
$ vim Gemfile # active therubyracer
$ bundle install
$ rake environment # should not fail
HTH,
Peter