P.S.: Do not
gem install rails
if you have files in app
Update: David has fixed that bug, but it should teach us all a leson to keep using CVS/Subversion all the time.