Closed heythisisnate closed 4 years ago
@heythisisnate thanks for reporting this. I inadvertently messed up file permissions in my code folder when trying to cloud sync it. It should all be fixed now.
Thank you for the quick fix!
And thanks for the great library. It took me less than an hour to set up a bot to pull inventory data from my Amazon seller account ...
... then most of the following day trying to figure out why it wasn't working on production 😆
All good now. Cheers. 🍻
My application was unable to load peddler 2.4.2 and I tracked it down to a file permissions issue. The ruby files in the distributed gem do not have read permission for non-owner. This is problematic on environments where gems are not owned by the same system user as the running application, making it impossible for the application to load the files.
The file permissions in this github repo appear to be fine. It's the gem recently uploaded to rubygems.org that is problematic. Maybe something went wrong in the gem build process?
You can verify the problem from downloading peddler-2.4.2.gem from Rubygems, and extracting it with
tar -xvf peddler-2.4.2
then extractdata.tar.gz
withtar -zxvf data.tar.gz
. List the resultingdata/lib
directory:Notice that the ruby files do not have group or public read permissions.
This problem does not exist in peddler 2.4.1: