Questions tagged [bootsnap]

14 questions
33
votes
2 answers

cannot load such file -- webrick/httputils

I have a project I'm trying to use ruby 3 (previously running with 2.7.2), but couldn't accomplish it. After updated my gemfile with the ruby version and ran bundle, I'm receiving this error when trying to access rails…
rwehresmann
  • 1,108
  • 2
  • 11
  • 27
9
votes
3 answers

Rails: Bootsnap fails to load

When launching a rails 5 application today the following error is being hit: 1: from /home/deploy/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.4/lib/bootsnap/compile_cache/iseq.rb:37:in…
Jerome
  • 5,583
  • 3
  • 33
  • 76
5
votes
0 answers

Why does bootsnap kernel_require is failling

I have a rails application that uses bootsnap, I am currently unable to run the app as I am getting an error from bootsnap. The error…
3
votes
1 answer

Rails bootsnap `cannot load such file` error after MacOS Big Sur

After updating to Big Sur, rails no longer runs my application. /Users/me/.rvm/gems/ruby-2.6.6@my_app/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in require': cannot load such file --…
tgbrock
  • 31
  • 3
3
votes
0 answers

Brand new Rails app 6.0.2.1 using Ruby 2.7.0 causes Traceback (most recent call last): bin/rails: Bootsnap::LoadPathCache::FallbackScan

this appears to be happening for me on a brand new rails app 6.0.2.1 running Ruby 2.7.0 $ be rails s => Booting Puma => Rails 6.0.2.1 application starting in development => Run `rails server --help` for more startup…
Jason FB
  • 4,752
  • 3
  • 38
  • 69
2
votes
1 answer

bootsnap `require': cannot load such file -- faraday/request/multipart (LoadError)

Suddenly got this error when starting my rails server bundle exec rails s Here is the error message 1: from…
helloroos
  • 293
  • 1
  • 2
  • 11
2
votes
1 answer

Rails 7 ActiveStorage file preview. rails app is crashing

I am trying to preview a pdf file in a rails 7 project like this: I am using poppler & rails default active storage. I am able to store the file, link it for download but not really preiview it in a web page. <%= image_tag…
1
vote
0 answers

Ruby on Rails LoadError in production environment

I am perplexed by the following issue: When launching a rails server in production using the following command: bundle exec rails s -e production, I get a LoadError: => Booting Puma => Rails 6.1.4.4 application starting in production => Run…
Lagastic
  • 137
  • 1
  • 1
  • 9
1
vote
0 answers

How to resolve a load error for gems in ruby on rails, nokogiri/bootsnap specifically

I couldnt find an answer to this question so... I am using ruby 2.2.5 with rails 6.1.1 on a mac I have played around with changing these versions as well but unsuccessfully... I keep getting this error when I enter 'rails c' to drop into the rails…
Alice Sun
  • 63
  • 4
1
vote
1 answer

Unable to deploy rails app to heroku (Could not detect rake tasks)

I'm having this error when i'm trying to deploy to Heroku: Could not detect rake tasks, ensure you can run $ bundle exec rake -P against your app and using the production group of your Gemfile. cannot load such file -- bootsnap/setup…
Joseph Palmezano
  • 1,245
  • 2
  • 11
  • 16
1
vote
2 answers

cannot load such file -- exception_notification (LoadError)

I'm attempting to send exceptions to a slack channel. This was my set up: Added the following to my Gemfile gem 'exception_notification' gem 'slack-notifier' Created a new initializer config/initializers/errors.rb # Works in development with or…
e-e
  • 1,071
  • 1
  • 11
  • 20
1
vote
1 answer

Rails: NameError: uninitialized constant Bootsnap::CompileCache::ISeq

I have a Ruby on Rails application that has been running fine for some time. Today, I added a few features to it and then started the application in a development environment, which started fine without errors. But when I try to access the…
Promise Preston
  • 24,334
  • 12
  • 145
  • 143
0
votes
2 answers

Bootsnap error running rails serve, "Could not load the 'mysql' Active Record adapter."

Ever since creating a different rails project I have been getting this mysql requirement error on every project that I have. I have tried installing 'mysql' and 'mysql2' (even though I'm using postgres) gem with bundler. I have tried different ruby…
Juan Plato
  • 13
  • 1
  • 5
-2
votes
1 answer

Switching from a mac x86 to arm m1 architecture, i ran into this error, anyone knows how fix it?

when I try start rails with command: rails s, this is the response from the terminal: /.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require':…