For some reason when I run rails command, it installs 2.2.3 version of Rails in /vendor/rails and webbrick uses that version instead of 2.3.5 which is installed as a gem.
If I delete that, then it uses the right directory. I remember using git submodule once, but I don't think that has anything to do with this.
How can I correct this? Thanks
Edit:
I never installed Rails 2.2.3. Although I do vaguely remember using git submodule, if that helps anyone.