asee / pdf417

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

Need to call create_makefile("pdf417/pdf417") on Ruby 2.7.7 / Bundler 2.4.2 #12

Open ndbroadbent opened 1 year ago

ndbroadbent commented 1 year ago

Closes #11

Sorry I'm not exactly sure when or where this changed, but I started seeing this error message: LoadError: cannot load such file -- pdf417/pdf417.

This change fixes the issue

ndbroadbent commented 1 year ago

I think the library might have actually been broken before this change and it wasn't working properly on recent Ruby versions. After fixing the native extension, I can see that PDF417 barcode images are actually being generated properly in my test suite:

Screen Shot 2023-01-06 at 12 36 57 AM

(Which ironically broke the test... I didn't realize it was broken before!)