The version gem fails to work correctly when mail is installed because you have a file named lib/VERSION which Ruby preferentially attempts to load.
Please be a good Ruby citizen and keep all of your project's files under lib/mail. :)
Move tasks out of lib/ to avoid namespace pollution Issue #566
Move VERSION out of lib/, [Fixes #566]
This was fixed incorrectly. It moved VERSION out of lib into the gem root. This is a reversion to #71
/VERSION needs to go here => lib/mail/version.rb
If you create a new Gem with bundler you can see the correct way to do a version (and a few other modern standards that a many-years-old gem-like-this may have not gotten hip with yet). Please play nice with all the other people who've decided to create a gem:
~ pboling$ bundle gem mail
Initializing git repo in /Users/pboling/mail
As a person who uses gem package managers other than rubygems this matters to me.
I am not sure what else to blame but I am getting seemingly random errors with Mail's auto loading of files with modules are accessed. It has happened several times now.