Rails disappeared from workspace


#1

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?


#2

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


#3

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.


#4

Eh, I just reinstalled it.

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