-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No method error on Heroku. #29
Comments
This could be one of two things. #1, there is a rubyzip update pull request that I haven't had time to look at that could be the culprit. #2 something else. Most apps that I have written for this have targeted Heroku, but something may have changed and we hadn't gone to 2.0 at the time. Can you share some of the relative snippets in your app too? This is the first issue we have had in a while....but I will look at it today. |
Here's the method that causes the problem. (Just trying to serve a pkpass file from a static url, like I said it's only a barebones app at the moment.)
at the top I'm requiring a file which contains:
|
I think this might be related to the changes with RubyZip. Can I see your Gemfile.lock ? |
|
It looks like your issue is related to Rubyzip. Try updating your passbook gem to the latest one and let me know if you have any problems. |
Hi,
I made a simple Sinatra app that uses this Gem. It runs fine on localhost, but when I deploy to Heroku I get the error
NoMethodError - undefined method 'write_buffer' for Zip::ZipOutputStream:Class:
which is being raised by the line/app/vendor/bundle/ruby/2.0.0/gems/passbook-0.2.1/lib/passbook/pkpass.rb:122:in outputZip
.Any idea what the cause of this could be?
I posted on StackOverflow with the same problem, more detailed description here
The text was updated successfully, but these errors were encountered: