#4 new

ruby-gmail 0.2.1 is broken

Reported by Kyle | July 27th, 2012 @ 05:19 AM


Got the following result on mac OSX snow leopard below. Got the same error on Windows7 64 bit.

My installation is from Heroku tool belt if that makes a difference.

Have I done something wrong?

Thanks for any help.


Fionas-i5-3:recruit fiona$ gem install ruby-gmail
Fetching: shared-mime-info-0.1.gem (100%)
Fetching: mime-types-1.19.gem (100%)
Fetching: polyglot-0.3.3.gem (100%)
Fetching: treetop-1.4.10.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)

You don't have write permissions into the /usr/bin directory.

Fionas-i5-3:recruit fiona$ sudo gem install ruby-gmail
Fetching: i18n-0.6.0.gem (100%)
Fetching: mail-2.4.4.gem (100%)
Fetching: ruby-gmail-0.2.1.gem (100%)

If ruby-gmail saves you TWO hours of work, want to compensate me for, like, a half-hour?
Support me in making new and better gems: http://pledgie.com/campaigns/7087

Successfully installed treetop-1.4.10
Successfully installed i18n-0.6.0
Successfully installed mail-2.4.4
Successfully installed ruby-gmail-0.2.1
4 gems installed
Installing ri documentation for treetop-1.4.10...
Installing ri documentation for i18n-0.6.0...
Installing ri documentation for mail-2.4.4...
Installing ri documentation for ruby-gmail-0.2.1...
Installing RDoc documentation for treetop-1.4.10...
Installing RDoc documentation for i18n-0.6.0...
Installing RDoc documentation for mail-2.4.4...
Installing RDoc documentation for ruby-gmail-0.2.1...
Fionas-i5-3:recruit fiona$ irb

require 'gmail' LoadError: no such file to load -- mime/message

from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require'
from /Library/Ruby/Gems/1.8/gems/ruby-gmail-0.2.1/lib/gmail/message.rb:1
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require'
from /Library/Ruby/Gems/1.8/gems/ruby-gmail-0.2.1/lib/gmail.rb:168
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:60:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:60:in `require'
from (irb):1

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

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.

Shared Ticket Bins

People watching this ticket