Hello,
the fact that the gem name contains two uppercase characters makes it unavailable under case-sensitive OSs like linux because autoloading with zeitwerk doesn't manage to pick it up.
Manual require fails too:
irb(main):001:0> require 'IPinfo'
LoadError (cannot load such file -- IPinfo)
but it works using the file name in lowercase:
irb(main):002:0> require 'ipinfo'
=> true
In my case all was working in my development environment (OSX) but failed on circleCI.
At the moment the only workaround I've found is adding the following line to application.rb:
require 'ipinfo' unless defined?(IPinfo)
Would it be possible to address this issue so that the gem can be required automatically also under linux?
Thank you
gem version: 1.0.1
rails version: 6.0.3.2
Hello,
the fact that the gem name contains two uppercase characters makes it unavailable under case-sensitive OSs like linux because autoloading with zeitwerk doesn't manage to pick it up.
Manual require fails too:
but it works using the file name in lowercase:
In my case all was working in my development environment (OSX) but failed on circleCI.
At the moment the only workaround I've found is adding the following line to
application.rb:Would it be possible to address this issue so that the gem can be required automatically also under linux?
Thank you
gem version: 1.0.1
rails version: 6.0.3.2