-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`require': cannot load such file -- bootsnap/setup (LoadError) #73
Comments
What is in your Gemfile? |
I have the same issue Gemfile boot.rb
Gemfile.lock
Gemfile
|
@nicolasmlv you are using Please run |
ok it works, I think you can close the issue |
Hello world ! I did the Can anyone help me ? |
Facing similar issue: Ruby (2.4.3) Any pointers? |
@Ericfreespirit @kgaikwad can you open new issues and please include the full error output? :) Thanks! |
I had a string of various
h/t #53 Not sure if deleting both the directory and the binary file there are necessary, perhaps you only have to clear one? Regardless, clearing it out got rid of load errors. |
Sorry I found the solution, I installed just the wrong rails version ... |
In our case, we didn't have wrong rails version installed and this still happened. Even removing
because gems are okay and everything else is installed correctly. Only way to get rid of random LoadErrors is deleting the files below IN THE APP. This still happens with the newest bootsnap 1.4.6. For some reason, it doesn't clean up the load path cache after new gem installations or updates. I'm not sure the logic behind it. |
* DEFF-565 replace calls to logger.with with just logger * rubocop fixes * more rubocop fixes * DEFF-565 rubocop fixes * rubocop * set auth method to trust * DEFF-565 skip bootsnap -> Shopify/bootsnap#73 * set base config for db * set password to nothing and dbname to the one matching database.yml file * DEFF-565 snap cache * DEFF-565 set auth method set uset to postgres propagate config to other containers, this is the step prior to a refactor ignore support folder * DEFF-565 cleanup * DEFF-565 refactor
|
how do i delete the files |
It happened every I call
ruby --version rails --version (this also give me those error, so I move to non rails project folder and excecute this) bootsnap |
@riyanpratamap brew upgrade ruby-build and rebuild the Ruby by rbenv. rbenv install ruby 2.7.5 # do not forget to delete it before and it helped. I think this issue is connected to the Mac OS update (Ventura in my case) |
I was getting the following error:
I solved this by adding the listen gem to my Gemfile.
Oddly, I didn't even need to do a To test, I removed the |
The issue occurred (in hindsight) when I was moving around and stashing while experimenting gems (adding/removing gems in Gemfile). This seems to have cleared the issue. |
I just followed the setup process mentioned in the README and got this error.
The text was updated successfully, but these errors were encountered: