Rails disappeared from workspace


Not sure how to reproduce, but tried to rails s… today and saw: “bash: rails: command not found”

Attempted to bundle install and saw: “bash: bundle: command not found”

Has this happened to anyone before?


Are you sure your terminal is at your application’s directory?


Have you checked that Rails is currenly installed into your workstation by typing gem list rails? If so, try gem pristine rails to recover the gem and its executable.


Eh, I just reinstalled it.

But I have no idea why suddenly it disappeared when it was working perfectly fine every other previous day.