I did have some gems locally in /home/senthil/.gem/ruby/1.8/gems, but then I un installed everything from there. I don't think I had Rails in there to begin with. Besides I never installed Rails 2.2.3. I got into Rails only recently, definitely after 2.3.5 was released.
–
sent-hilJan 26 '10 at 6:00

Actually you were Tyler. I looked at usr/bin/rails. Turns out there was a section where it copied Rails from another folder. I commented that out and commented another line in environment.rb and it works now. Thanks!
–
sent-hilJan 27 '10 at 3:02

does the rails gem get vendored at the same time you create the app? that seems very strange if so.

if you are on linux or mac then it's possible you have something in your bash profile that's overriding the rails command. to be honest it sounds like a rails template is being run when you create your app....

failing that is it perhaps possible that you have something like 'instant rails' running on your machine and it's taking control instead of the rails gem?

very strange. what OS are you on? sometimes it helps to try creating a new user profile and seeing if you get the same problems when you login to that account....

Thanks for your reply. I'm on Ubuntu (9.10). I created new user, but still it uses rails 2.2.3. I don't remember installing Instant rails or anything else like that. I loooked at my .bashrc and .gemrc, nothing out of ordinary there. It says 2.3.5 in my gem list, so I have no idea where its getting 2.2.3 from.
–
sent-hilJan 8 '10 at 19:02