You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bullet gem does not support Mongoid 9.0.3, causing initialization errors when attempting to use the gem with this version of Mongoid.
Environment
Ruby version: 3.4.0
Rails version: 8.0.1
Bullet version: 8.0.0
Mongoid version: 9.0.3
Error Message
5:27:11 web.1 | started with pid 22
15:27:11 web.1 | Starting server initialization...
15:27:11 web.1 | Starting web initialization...
15:27:11 web.1 | ✓ Loaded environment variables from .env
15:27:11 web.1 | Starting services in development environment
15:27:11 web.1 | Cleaning up existing process files...
15:27:11 web.1 | ✓ Directory structure verified
15:27:11 web.1 | Using port: 3000
15:27:11 web.1 | Starting Rails server...
15:27:11 web.1 | ✓ Rails server started on port 3000 with PID 32
15:27:11 web.1 | Waiting for Rails server to be ready...
15:27:21 web.1 | /usr/local/bundle/gems/bundler-2.4.22/lib/bundler/runtime.rb:63:in 'block (2 levels) in Bundler::Runtime#require': There was an error while trying to load the gem 'bullet'. (Bundler::GemRequireError)
15:27:21 web.1 | Gem Load Error is: Bullet does not support mongoid 9.0.3 yet
15:27:21 web.1 | Backtrace for gem load error is:
15:27:21 web.1 | /usr/local/bundle/gems/bullet-8.0.0/lib/bullet/dependency.rb:60:in 'Bullet::Dependency#mongoid_version'
Steps to Reproduce
Add bullet gem to Gemfile
Configure bullet in development environment
Start Rails server
Observe initialization error
Expected Behavior
Bullet should initialize successfully with Mongoid 9.0.3
Additional Context
This appears to be a compatibility issue with newer versions of Mongoid. It would be helpful to have support for Mongoid 9.x added to the gem.
The text was updated successfully, but these errors were encountered:
Description
Bullet gem does not support Mongoid 9.0.3, causing initialization errors when attempting to use the gem with this version of Mongoid.
Environment
Error Message
Steps to Reproduce
Expected Behavior
Bullet should initialize successfully with Mongoid 9.0.3
Additional Context
This appears to be a compatibility issue with newer versions of Mongoid. It would be helpful to have support for Mongoid 9.x added to the gem.
The text was updated successfully, but these errors were encountered: