Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Require a gem outside the Gemfile

Tags:

ruby

bundler

gem

I'm trying to require a gem temporarily that is not in Gemfile, without altering the Gemfile.

You can see why answers to questions such as:
Is it possible to require files outside the Gemfile?
Bundler how to require gems separately in Gemfile just in one file?

have been useless to my pursuit.

like image 734
Jonathan Allard Avatar asked Nov 01 '22 17:11

Jonathan Allard


1 Answers

You should try if debundle.rb works for your purpose!

like image 52
J-_-L Avatar answered Nov 15 '22 07:11

J-_-L