Repairing Rails and Server and on Nitrous.io
问题 I was doing One Month Rails's tutorial on Nitrous.io. At one point, some weird files appeared on my tree, and I deleted them. Everything stopped working. I ran: $ git add . $ git checkout -f and restored the tree. BUT, when I ran: $ rails server I get: action@first-project-48185:~/pinteresting$ rails server -bash: rails: command not found I also tried: $ ruby -v #and got an older version, so I reinstalled it $ rails -v action@first-project-48185:~/pinteresting$ rails -v -bash: rails: command