Forum: Ruby on Rails Blackbook

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bd1734bbef00f3f7c5a1a95f2bf6f9fd?d=identicon&s=25 Kivanc Gumrukcu (kivancgumrukcu)
on 2009-02-20 08:36
Hi,
When I run the following piece of code;
@gmail_xml = Blackbook.get :username => 'username@gmail.com', :password
=> 'pwd', :as => :xml

Hotmail and yahoo work fine. But with gmail I get the following error:

Nokogiri::CSS::SyntaxError in ItemsController#index

unexpected '.' after '.'

RAILS_ROOT: C:/Documents and
Settings/KivancG.DDM/Desktop/jan22nd/Work/sources/wl
Application Trace | Framework Trace | Full Trace

C:/Ruby/lib/ruby/gems/1.8/gems/nokogiri-1.1.1-x86-mswin32-60/lib/nokogiri/css/parser.rb:60:in
`on_error'
racc/parser.rb:99:in `_racc_do_parse_c'
racc/parser.rb:99:in `__send__'
racc/parser.rb:99:in `do_parse'
app/controllers/items_controller.rb:9:in `index'

Any help would really be appreciated. I couldnot see anyone who got the
same error.
Fac81a9d95c81d817a2debb6f717f3ac?d=identicon&s=25 Sazima (Guest)
on 2009-02-20 15:57
(Received via mailing list)
Hey,

I used Contacts (GMail, Hotmail, Yahoo, Facebook, etc) and it worked
like a charm:

      . gem install json-1.1.1-mswin32.gem
      . gem install contacts

Cheers, Sazima

On Feb 20, 4:36 am, Kivanc Gumrukcu <rails-mailing-l...@andreas-s.net>
F549e4f12b25fab564f3b12429488e9c?d=identicon&s=25 Trevor Evans (tevans)
on 2009-04-20 20:49
I actually got this exact same error with gmail. I was wondering if you
ever found a solution?
This topic is locked and can not be replied to.