Skip to content
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

NoMethodError: undefined method `downcase' for nil:NilClass #6

Closed
drummman opened this issue Nov 2, 2016 · 3 comments
Closed

NoMethodError: undefined method `downcase' for nil:NilClass #6

drummman opened this issue Nov 2, 2016 · 3 comments
Assignees

Comments

@drummman
Copy link

drummman commented Nov 2, 2016

Hi @gettalong , I'm not able to use the "write" method on a document object. It always raises this exception:

NoMethodError:` undefined method `downcase' for nil:NilClass
from ...gems/hexapdf-0.1.0/lib/hexapdf/serializer.rb:91:in `block (2 levels) in initialize'

I'm getting this even copying your Hello World example.

Thanks!

@gettalong gettalong self-assigned this Nov 2, 2016
@gettalong
Copy link
Owner

Are you by chance using Rails? They are known to change the built-in classes, see #2. But the latest commits on master should help you out.

@ajcubeta
Copy link

@gettalong - Is there any chance that your (latest commits on master for https://github.com/gettalong/hexapdf) can be updated too and publish to RubyGems?

@gettalong
Copy link
Owner

@ajcubeta The change to fix this is already on Github, see #2. The next gem version will be released once I have finished the items on my work list, probably in two weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants