Error: mail requires i18n (~> 0.4.1, runtime)

Hi

Have spent hours trying to set up ruby and rails in order to do a
project for college , have uninstalled /installed etc …this error
…“error: mail requires i18n (~> 0.4.1, runtime)”
…what does it mean? … Is their a simple way to rectify this
infuriating mes
sage

I am using windows 7

Thanks in advance

Sarah

Hate to say it, but for now you have to uninstall the offending version
of i18n (specifically 0.5.0 with ‘gem uninstall i18n’) Then ‘gem install
rails’ to get the proper version

Sarah D. wrote in post #964949:

Hi

Have spent hours trying to set up ruby and rails in order to do a
project for college , have uninstalled /installed etc …this error
…“error: mail requires i18n (~> 0.4.1, runtime)”
…what does it mean? … Is their a simple way to rectify this
infuriating mes
sage

I am using windows 7

Thanks in advance

Sarah

It’s an issue with Mail’s dependencies being too tight - and it only
seems to be an issue when Bundler isn’t being used (or particular
versions of Bundler?)

We’ve asked Mikel to quickly relax the dependencies. I haven’t received
any answer to today’s messages and will have to pull/yank the release in
case he’s busy or can’t do a Mail release.

I’m very sorry about this, but it’s something that - because of the way
bundler works - wasn’t visible to me before 0.5.0 was out of the door
(and someone used rails new). We’ve all thought Mail would have
relaxed its dependencies weeks ago, but apparently something has gone
wrong with that.

Apparently it’s fixed now

Please update your Mail gem

$ gem update mail

Afterwards

$ rails new foo

should work again.

Could someone doublecheck? It’s getting late over here :slight_smile: