Connor
Connor

Reputation: 806

How to reinstall Rails?

The config directory for rails was accidentally deleted. Now any attempt to run rails produces the following:

script/rails:5:in `require': no such file to load -- /Users/user/config/boot (LoadError) from script/rails:5

Any ideas how to fix this?

Upvotes: 0

Views: 435

Answers (1)

cpjolicoeur
cpjolicoeur

Reputation: 13106

make a new rails empty project with rails new project_name in a separate directory then copy that config directory into yours and update the files as needed

Upvotes: 1

Related Questions