I am trying to temporarily use a gem that is not in the Gemfile without modifying the Gemfile .
You can understand why the answers to questions such as:Is it possible to require files outside of the Gemfile?Bundler, how to claim gems separately in the gemfile in just one file?
were useless for my pursuit.
You should try if debundle.rb works for your purpose!