dcparker / ruby-gmail

A Rubyesque interface to Gmail. Connect to Gmail via IMAP and manipulate emails and labels. Send email with your Gmail account via SMTP. Includes full support for parsing and generating MIME messages.
http://dcparker.github.com/ruby-gmail
792 stars 123 forks source link

uninitialized constant Gmail (NameError) #15

Closed juhat closed 14 years ago

juhat commented 14 years ago

I just installed ruby-gmail via gem. I created a sample program, but I cant make it work. It just hangs up, when Gmal class is used. "uninitialized constant Gmail (NameError)"

The code is: require 'rubygems' require 'gmail' gmail = Gmail.new(...etc

Platform: Ubuntu, REE 1.8.6, ruby-gmail 0.0.8

dcparker commented 14 years ago

That's more likely a problem with your rubygems, than with Gmail. Gmail's not doing anything any normal rubygem doesn't do. Check your rubygems version, where your rubygems are being installed, etc.

pbalduino commented 13 years ago

I had the same problem, but just ran 'gem install tmail mime' and everything worked well.

halida commented 12 years ago

why not add tmail mime to the dependencies in gem?

isakshamgupta commented 2 years ago

need help regarding the same