undefined local variable or method `name' for #<Gmai #21

Closed
galetahub opened this Issue May 17, 2010 · 2 comments

Comments

Projects
None yet
4 participants

undefined local variable or method name' for #<Gmail:0x..fb6710230 (brainberry.tech@gmail.com) disconnected> /var/www/mts-tech/vendor/plugins/ruby-gmail/lib/gmail.rb:122:inin_label'
/var/www/mts-tech/vendor/plugins/ruby-gmail/lib/gmail.rb:38:in `inbox'

Line "mailboxes[name] ||= Mailbox.new(self, mailbox)"
Change to "mailboxes[mailbox.name] ||= Mailbox.new(self, mailbox)"

Collaborator

jackbit commented Jun 11, 2010

I have faced this bugs before, i advice you to use plugin not gem, and edit gmail.rb at line 122, become like this:

mailboxes[mailbox]

after that reload your server.

Good Luck :)
Yacobus Reinhart
www.reinhartlab.com

myobie was assigned Dec 19, 2012

Contributor

wengzilla commented Jan 25, 2013

This looks like it has been corrected with the above suggestion.

myobie closed this Mar 28, 2014

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