Closed Jimreed91 closed 1 year ago
I think this could be related to https://github.com/rubygems/rubygems/pull/5681, maybe your disk is full and a corrupt .gem
file was written due to lack of space?
I'll assume this is the same as #5681 and close this, since we got no further feedback.
I recently deployed my application to an aws ubuntu server with no issues but after adding pdfkit and wkhtmltopdf gems my deployment fails and I can't quite figure out why. I've updated rubygems and bundler but the result is the same...
Unfortunately, an unexpected error occurred, and Bundler cannot continue.
First, try this link to see if there are any existing issue reports for this error: https://github.com/rubygems/rubygems/search?q=undefined+method+%60size%27+for+nil+NilClass&type=Issues
If there aren't any reports for this error yet, please fill in the new issue form located at https://github.com/rubygems/rubygems/issues/new?labels=Bundler&template=bundler-related-issue.md, and copy and paste the report template above in there.
Tasks: TOP => deploy:updated => bundler:install (See full trace by running task with --trace) The deploy has failed with an error: Exception while executing as deploy@my_server_ip: bundle exit status: 1 bundle stdout: Nothing written bundle stderr: Exception while verifying /var/www/spray-day/shared/bundle/ruby/3.0.0/cache/wkhtmltopdf-binary-0.12.6.5.gem --- ERROR REPORT TEMPLATE -------------------------------------------------------
Environment
Bundler Build Metadata
Bundler settings
Gemfile
Gemfile
Gemfile.lock
--- TEMPLATE END ----------------------------------------------------------------