asee / pdf417

A Ruby wrapper for the PDF417 barcode library
MIT License
15 stars 20 forks source link

After updating to Ruby 2.7.7 and Bundler 2.4.2: LoadError: cannot load such file -- pdf417/pdf417 #11

Open ndbroadbent opened 1 year ago

ndbroadbent commented 1 year ago

I started seeing this error: LoadError: cannot load such file -- pdf417/pdf417.

In case anyone else finds this, it was because ext/pdf417/extconf.rb contained create_makefile(extension_name) (which resolves to create_makefile('pdf417').) This now needs to be create_makefile('pdf417/pdf417') in order for require('pdf417/pdf417') to work properly.

I fixed this issue in our fork: https://github.com/DocSpring/pdf417