-
Notifications
You must be signed in to change notification settings - Fork 219
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
incompatibility with ruby 1.9 #5
Comments
same issue here, such a shame as it is a really usefull plugin :-( |
Hi Cardmagic,
also in gmail.rb I had to comment the whole upper part with the logic of loading JSON. thanks for looking into this. |
but now I get this: undefined method `grep' for #String:0xb3a47f0 :-( |
I'm running into a similar problem under ruby 1.9, even outside of rails:
Seems that jcode is no longer available, or necessary, under ruby 1.9 |
I had the same issue, here is how I fixed it: So you will need to add: require 'jcode' if RUBY_VERSION < '1.9' to your gdata gem |
Fix AOL and mail.ru connectors
When starting my app in a ruby 1.9 environment I get this issue :
/home/ror/gem/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:158:in `require': /home/ror/gem/gems/contacts-1.0.16/lib/contacts/base.rb:165: syntax error, unexpected ':', expecting keyword_then or ',' or ';' or '\n' (SyntaxError)
/home/ror/gem/gems/contacts-1.0.16/lib/contacts/base.rb:172: syntax error, unexpected keyword_when, expecting keyword_end
when 'deflate':
^
/home/ror/gem/gems/contacts-1.0.16/lib/contacts/base.rb:172: syntax error, unexpected ':', expecting keyword_end
/home/ror/gem/gems/contacts-1.0.16/lib/contacts/base.rb:210: syntax error, unexpected keyword_end, expecting $end
The text was updated successfully, but these errors were encountered: