When I run the following piece of code;
@gmail_xml = Blackbook.get :username => ‘[email protected]’, :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
Application Trace | Framework Trace | Full Trace

on_error' racc/parser.rb:99:in_racc_do_parse_c’
racc/parser.rb:99:in __send__' racc/parser.rb:99:indo_parse’
app/controllers/items_controller.rb:9:in `index’

Any help would really be appreciated. I couldnot see anyone who got the
same error.


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 G. [email protected]

I actually got this exact same error with gmail. I was wondering if you
ever found a solution?