Comments (17)
same here don't know if mime/message is usefull, but couldn't figure out which lib it belongs too.
from ruby-gmail.
http://github.com/dcparker/ruby-gmail/commit/b9d0f78d0d3de4461211bc0f04c067908cad80f9
Line 33: "lib/mime/message.rb" - this means that the file was once and author forgot to remove it from the require
from ruby-gmail.
ree-1.8.7-2010.01 > require 'gmail'
LoadError: no such file to load -- mime/message
from /Users/andy/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /Users/andy/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require'
from /Users/andy/.rvm/gems/ree-1.8.7-2010.01/gems/ruby-gmail-0.2.1/lib/gmail/message.rb:1
from /Users/andy/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /Users/andy/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require'
from /Users/andy/.rvm/gems/ree-1.8.7-2010.01/gems/ruby-gmail-0.2.1/lib/gmail.rb:168
from /Users/andy/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' from /Users/andy/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
require'
removed the gemspec require but left a require in the lib? hmm...
from ruby-gmail.
+1 Just removing the require 'mime/message'
from gmail/message.rb
require solves my case.
from ruby-gmail.
Tests fail due to the "no such file to load -- mime/message" error. Is version 0.2.0 considered stable or does it fail there as well? I hate to fork just to switch back in a few days.
from ruby-gmail.
save_to_file
doesn't exist in 0.2.0, so that version is completely unusable to me.
Due to the 0.2.1 codebase not actually being on github, I imported the 0.2.1 code separately into my own fork to fix this problem due to it stopping my show otherwise (I needed a target in my bundler Gemfile.) It's up at http://github.com/xxx/ruby-gmail , but does NOT have the history due to the gem not including it. It's literally just an import of the gem, with the one require removed.
from ruby-gmail.
Do the tests pass? I've merged your code with the 0.2.0 and most the tests fail.
from ruby-gmail.
They were failing before I touched the code. I don't think they were updated for 0.2.1. I literally downloaded the gem from rubygems.org, then removed the one require for 'mime/message', and nothing more.
from ruby-gmail.
Thanks @xxx
I got the tests passing though I'm not sure they are very complete. I've merged your 0.2.1 code with the fork @justinperkins has. http://github.com/justinperkins/ruby-gmail.
from ruby-gmail.
This issue still seems to exist when using the Gem. It can easily be fixed by installing the "mime" gem.
from ruby-gmail.
thanks @yorickpeterse , installing the "mime" gem worked for me.
from ruby-gmail.
installing the "mime" gem worked for me also.
from ruby-gmail.
same here: installing gem mime worked - what about fixing the dependencies or pulling this change from one of the forks?
from ruby-gmail.
Is the mime gem actually being used directly by ruby-gmail anymore?
from ruby-gmail.
It is still used, at least in this fork: https://github.com/nu7hatch/gmail which is available as the "gmail" gem (while this here is "ruby-gmail")
This fork seems to be the most advanced but is a bit hidden, because it is not a regular Github fork but a knew project building on the old source.
Personally, I switched to the nu7hatch fork.
The current release of gmail contains a bug which was fixed by the maintainer in the master branch, so make sure to use the master branch or wait for the new release which is scheduled for next week.
from ruby-gmail.
Same here - installing mime did it
from ruby-gmail.
gem install mime
(on windoze VII)
from ruby-gmail.
Related Issues (20)
- Special characters in the :gm search option
- Can't send, then receive on the same session.
- Reading a message marks the message as read
- How do I select an email given it's id?
- Uncaught exception: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbuO6
- Open invitation: let's combine efforts at gmailgem/gmail
- How can I retrieve archived messages HOT 1
- No way to tell if I'm logged in
- Support for charset
- Gem is unusable, "Please log in via your web browser" HOT 7
- Google prevents signin HOT 1
- archive doesn't seem to work
- Collect email subject and body
- Sent emails
- Wrong format in to_imap_date method HOT 4
- How do I read the mail content? HOT 1
- How I can disable log message in stderr?
- <Net::IMAP::NoResponseError: Please log in via your web browser
- Managing HOT 1
- Impact on "Insecure apps disable connection to G Suite accounts"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-gmail.