Bundle Install: Can not load such file issue: LoadError⚓︎
This is most likely reference to self and might save few people who are facing this issue. If you ever face the following issue:
1 2 | |
Then you should understand the following things:
-
You are trying to do
bundle installwith a different bundler version than the one Gemfile is locked with. -
You can solve the above by installing the bundler that the Gemfile is locked with.
1 2 | |
while the above gives you the bundle version, to get rid of the error just install the bundler version
1 | |
While doing the above operation, if you do not have permission or get error like below
1 2 | |
You can also solve the above by installing bundler to user path instead of system
path; to do that add --user-install to the end of gem install command.
1 | |
Last update: 2021-06-21
Authors: