My home directory had a bad name on my Mac, so I renamed it. I did this by creating a temp user, signing in as that user, deleting my original user (but preserving the home directory), creating a new real user, and having that new user take the home directory of the old one.
Now, when I try to start Rails, I get this error (See OLD_USER
and NEW_USER
):
11:41:19 web.1 | started with pid 17653
11:41:19 sidekiq.1 | started with pid 17654
11:41:20 web.1 | bundler: failed to load command: bin/rails (bin/rails)
11:41:20 web.1 | LoadError: cannot load such file -- /Users/OLD_USER/Code/my_project/config/boot
11:41:20 web.1 | /Users/NEW_USER/.rbenv/versions/2.3.4/lib/ruby/gems/2.3.0/gems/bootsnap-0.2.14/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
What can I do?