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

pdf-labels and ruby 1.9.2 #1

Closed
mattmon opened this issue Nov 30, 2011 · 3 comments
Closed

pdf-labels and ruby 1.9.2 #1

mattmon opened this issue Nov 30, 2011 · 3 comments

Comments

@mattmon
Copy link

mattmon commented Nov 30, 2011

I get this error on startup:

/usr/local/rvm/gems/ruby-1.9.2-head/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `require': /usr/local/rvm/gems/ruby-1.9.2-head/gems/pdf-labels-2.0.1/vendor/pdf/writer.rb:752: invalid multibyte char (US-ASCII) (SyntaxError)
/usr/local/rvm/gems/ruby-1.9.2-head/gems/pdf-labels-2.0.1/vendor/pdf/writer.rb:752: invalid multibyte char (US-ASCII)
/usr/local/rvm/gems/ruby-1.9.2-head/gems/pdf-labels-2.0.1/vendor/pdf/writer.rb:752: syntax error, unexpected $end, expecting keyword_end
content = "%PDF-#{@Version}\n%����\n"

I can start the app if the PDF related code in models/group.rb is commented out... it's looks good and seems like it would be usable but much of the functionality is broken.

Help?

@jwood
Copy link
Owner

jwood commented Nov 30, 2011

Sorry, but because of the dependency on pdf-labels, addressbook is currently Ruby 1.8.x only. As far as I know, pdf-lables is the only thing holding addressbook back from running on Ruby 1.9. I'd like to swap it out with something, but I'm not aware of a good replacement.

@jwood
Copy link
Owner

jwood commented Nov 30, 2011

Oh, and I just saw your comment about broken functionality. I use addressbook on a regular basis (it serves as my personal addressbook), and I'm not aware of any broken functionality. Although, it does suffer from some usability issues. Could you try getting it running on ruby 1.8.7, and let me know if you continue to see issues?

@mattmon
Copy link
Author

mattmon commented Nov 30, 2011

I had been playing with the migrations (trying to get sqlite working). This was undoubtedly the cause of any breakage.

Eveything is working great on 1.8.7-head.

Nice little app, thanks for sharing it :)

@mattmon mattmon closed this as completed Nov 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants