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

Posted by 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
Posted by 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
Posted by 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.
Posted by 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 :)
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.