Forum: Rails I18n error: mail requires i18n (~> 0.4.1, runtime)

48cd02b3f39a2e72dc766da91e89353b?d=identicon&s=25 Sarah Dunne (neven)
on 2010-11-30 00:40
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
C4ef7a40b2fac954f74787e4fbd95660?d=identicon&s=25 Scott S. (scott_s)
on 2010-11-30 02:28
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 Dunne 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
402602a60e500e85f2f5dc1ff3648ecb?d=identicon&s=25 Sven Fuchs (Guest)
on 2010-11-30 02:54
(Received via mailing list)
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.
402602a60e500e85f2f5dc1ff3648ecb?d=identicon&s=25 Sven Fuchs (Guest)
on 2010-11-30 04:22
(Received via mailing list)
Apparently it's fixed now

https://github.com/mikel/mail/commit/747c06b031268...

Please update your Mail gem

  $ gem update mail

Afterwards

  $ rails new foo

should work again.

Could someone doublecheck? It's getting late over here :)
This topic is locked and can not be replied to.