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

Posted by Sarah Dunne (neven)
on 2010-11-29 23:27
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 Sarah Dunne (neven)
on 2010-11-29 23:38
I found a previous answer to this question below. I havwe never used
command prompt before :embarrassed:

how do i "select 2"....should i not uninstall the first one as that
seems to be an older version ?




Do this:

Gem uninstall i18n

Select gem to uninstall
1. i18n-0.4.2
2. i18n-0.5.0
3. All versions

select 2

then install rails
gem install rails --force

this should work

Henrik
Posted by Sarah Dunne (neven)
on 2010-11-30 00:00
Does anyone know gow i can uninstall the second gem using command 
prompt>?

I have tried 18 differnt prompts lol!
Posted by Sarah Dunne (neven)
on 2010-11-30 00:08
When i uses this prompt "Gem uninstall i18n-0.5.0"


it renders this....

"cannot uninstall, check gem list-diln8-0.5.0"
Posted by Sarah Dunne (neven)
on 2010-11-30 01:04
...Anyone?
Posted by Hassan Schroeder (Guest)
on 2010-11-30 01:14
(Received via mailing list)
On Mon, Nov 29, 2010 at 4:04 PM, Sarah Dunne <lists@ruby-forum.com> 
wrote:
> ...Anyone?

What was the problem with the instructions you quoted?

> gem uninstall i18n
>
> Select gem to uninstall
> 1. i18n-0.4.2
> 2. i18n-0.5.0
> 3. All versions
>
> select 2

Pressing the '2' button on your keyboard didn't work, or _______?

Alternatively, if you want to remove a specific gem, you can always
use e.g.
   gem uninstall  i18n  -v 0.5.0

HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Posted by Sarah Dunne (neven)
on 2010-11-30 01:24
Thanks Hassan!!!! for your reply/ help!

i forgot the (-v) bit

I have deleted that version of gem now.
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.