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

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

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

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

galetahub opened this issue May 17, 2010 · 2 comments
Assignees

Comments

@galetahub
Copy link

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)"

@jackbit
Copy link
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

@ghost ghost assigned myobie Dec 19, 2012
@wengzilla
Copy link
Contributor

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

@myobie myobie closed this as completed Mar 28, 2014
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

4 participants