After the MimeMagic dependency fiasco, I'm now unable to generate a model in Rails. I've got the following warning message and stack trace error after trying to generate a User model in rails
rails generate model User email:string
password_digest:string
Warning: the running version of Bundler (2.2.3) is
older than the version that created the lockfile
(2.2.15). We suggest you to upgrade to the version
that created the lockfile by running `gem install
bundler:2.2.15`.
However, my Gemfile is updated to 2.2.15 and I've run bundle install again to no avail.
Here is part of the stack trace error after that Warning:
/Users/shmeadyy/Desktop/Projects/scheduled_tweets/vendor/bundle/ruby/3.0.0/gems/msgpack-1.4.2/lib/msgpack.rb:8:in `require': incompatible library version - /Users/shmeadyy/Desktop/Projects/scheduled_tweets/vendor/bundle/ruby/3.0.0/gems/msgpack-1.4.2/lib/msgpack/msgpack.bundle (LoadError)
from /Users/shmeadyy/Desktop/Projects/scheduled_tweets/vendor/bundle/ruby/3.0.0/gems/msgpack-1.4.2/lib/msgpack.rb:8:in `<top (required)>'
from /Users/shmeadyy/Desktop/Projects/scheduled_tweets/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/store.rb:4:in `require'
from /Users/shmeadyy/Desktop/Projects/scheduled_tweets/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/store.rb:4:in `block in <top (required)>'