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

no such file to load -- mime/message (MissingSourceFile) #24

Closed
matholroyd opened this issue May 29, 2010 · 3 comments
Closed

no such file to load -- mime/message (MissingSourceFile) #24

matholroyd opened this issue May 29, 2010 · 3 comments

Comments

@matholroyd
Copy link

Hi,

I installed the ruby-gmail gem via "gem install ruby-gmail". The required dependencies appeared to install fine, which were:

shared-mime-info-0.1
treetop-1.4.7
mail-2.2.1
ruby-gmail-0.2.1

The problem is when I try to run
require 'gmail'
I get the error "no such file to load -- mime/message". Is there another gem I need? Do I need other require statements before the require 'gmail'?

Cheers,
~Mat

@justinperkins
Copy link

I think the requirement at the top of this file needs to be removed:
http://github.com/dcparker/ruby-gmail/blob/master/lib/gmail/message.rb

@justinperkins
Copy link

follow up, yes that worked for me

in my rails project, I unpacked the gem and then removed that line from the file and everything worked fine

@matholroyd
Copy link
Author

Cool, I just gave it a go and it works. Haven't checked it thoroughly yet, but seems good so far (so looks like that line is a legacy requirement) .

Thanks, again!
~Mat

This issue was closed.
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

2 participants