[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: watir gem update error

Natalie Schluter

6/16/2008 6:38:00 PM

bpettichord@gmail.com wrote:
> This problem was fixed the other day. The cause was a misconfiguration
> of the gem server. It was referencing a gem that wasn't there. Tom
> Copeland worked with me to fix it.
>
> Bret

I am also trying to update for watir (I just installed Ruby) and I am
getting another error:

>gem install watir -v 1.5.4
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP Response 404

I cannot figure out what I haven't done properly and would love a hand!

Natalie
--
Posted via http://www.ruby-....

10 Answers

Bret Pettichord

6/16/2008 7:14:00 PM

0

[Note: parts of this message were removed to make it a legal post.]

On Mon, Jun 16, 2008 at 1:38 PM, Natalie Schluter <natschluter@maths.tcd.ie>
wrote:

> I am also trying to update for watir (I just installed Ruby) and I am
> getting another error:
>
> >gem install watir -v 1.5.4
> ERROR: While executing gem ... (Gem::RemoteSourceException)
> HTTP Response 404
>
> I cannot figure out what I haven't done properly and would love a hand!
>

I don't think you've done anything wrong. This error seems to indicate that
the gem server is unavailable at the moment. If you try again, it should
work.

You might also want to consider using Watir 1.5.6, which is the latest.

Bret


--
Bret Pettichord
CTO, WatirCraft LLC
Lead Developer, Watir, http://wtr.rub...
Blog (Essays), http://www.io.com/~...
MiniBlog (Links), http://feeds.feedburner.com/br...

Tom Copeland

6/16/2008 11:20:00 PM

0


On Tue, 2008-06-17 at 03:38 +0900, Natalie Schluter wrote:
> bpettichord@gmail.com wrote:
> > This problem was fixed the other day. The cause was a misconfiguration
> > of the gem server. It was referencing a gem that wasn't there. Tom
> > Copeland worked with me to fix it.
> >
> > Bret
>
> I am also trying to update for watir (I just installed Ruby) and I am
> getting another error:
>
> >gem install watir -v 1.5.4

Hm, shouldn't that be "gem install watir -v=1.5.4" ?

Yours,

tom



Natalie Schluter

6/17/2008 11:21:00 AM

0

Tom Copeland wrote:
> On Tue, 2008-06-17 at 03:38 +0900, Natalie Schluter wrote:
>> >gem install watir -v 1.5.4
> Hm, shouldn't that be "gem install watir -v=1.5.4" ?
>
> Yours,
>
> tom

Thanks for the suggestions Bret and Tom. I tried those modifications
today, but still got the same error.

>gem install watir -v=1.5.6
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP Response 404

>gem install watir -v 1.5.6
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP Response 404

What do you think?

Natalie
--
Posted via http://www.ruby-....

Bret Pettichord

6/17/2008 2:12:00 PM

0

[Note: parts of this message were removed to make it a legal post.]

On Tue, Jun 17, 2008 at 6:20 AM, Natalie Schluter <natschluter@maths.tcd.ie>
wrote:

> Thanks for the suggestions Bret and Tom. I tried those modifications
> today, but still got the same error.
>
> >gem install watir -v=1.5.6
> ERROR: While executing gem ... (Gem::RemoteSourceException)
> HTTP Response 404
>
> >gem install watir -v 1.5.6
> ERROR: While executing gem ... (Gem::RemoteSourceException)
> HTTP Response 404
>
> What do you think?
>
> Natalie
> --
> Posted via http://www.ruby-....
>
>
What happens if you just type "gem install watir"?

Is it possible that your access to the gem server is being blocked by a
firewall?

Bret


--
Bret Pettichord
CTO, WatirCraft LLC
Lead Developer, Watir, http://wtr.rub...
Blog (Essays), http://www.io.com/~...
MiniBlog (Links), http://feeds.feedburner.com/br...

Natalie Schluter

6/17/2008 4:20:00 PM

0

Hi Bret,

> What happens if you just type "gem install watir"?

I get exactly the same error.

> Is it possible that your access to the gem server is being blocked by a
> firewall?

I have played around with firewall setting that make no difference
locally. The administrator for the network I am on when using Unix (I
am using Windows now) tells me to check if the server is still on and
matches the gem version I am using, which brings me back to square
one...

Any suggestions?

Thanks,
Natalie

--
Posted via http://www.ruby-....

Bret Pettichord

6/17/2008 7:01:00 PM

0

[Note: parts of this message were removed to make it a legal post.]

On Tue, Jun 17, 2008 at 11:19 AM, Natalie Schluter <natschluter@maths.tcd.ie>
wrote:

> Any suggestions?
>

Are you able to install any other gems?



--
Bret Pettichord
CTO, WatirCraft LLC
Lead Developer, Watir, http://wtr.rub...
Blog (Essays), http://www.io.com/~...
MiniBlog (Links), http://feeds.feedburner.com/br...

Tom Copeland

6/17/2008 10:17:00 PM

0


On Wed, 2008-06-18 at 01:19 +0900, Natalie Schluter wrote:
> Hi Bret,
>
> > What happens if you just type "gem install watir"?
>
> I get exactly the same error.
>

What if you browse to this URL?

http://gems.rubyforge.vm.bytemark.co.uk/gems/watir...

That should pull the gem file directly off that gem mirror...

Yours,

tom



Natalie Schluter

6/18/2008 11:09:00 AM

0

Hello, still me...

>Are you able to install any other gems?

I tried this and get the same thing:

>gem install ParseTree
ERROR: While executing gem ... (Gem::RemoteSourceException)
HTTP Response 404

I also get the same error when I type
>gem update --system
as well as several other commands (which need the internet I guess).

Tom, for that url, where should should I be putting the file (right now
it I've stuck it in ~/ruby/lib/ruby/gems/1.8/gems ), and what do I do
with it? I have tried untarring it, but I end up with two other
archived files data.tar.gz and metadata.gz. Also, I get the message for
both files, "implausibly old time stamp 1970-01-01 00:00:00".

Thanks very much for your help!

Natalie
--
Posted via http://www.ruby-....

Tom Copeland

6/18/2008 10:39:00 PM

0


On Wed, 2008-06-18 at 20:08 +0900, Natalie Schluter wrote:
> Tom, for that url, where should should I be putting the file (right now
> it I've stuck it in ~/ruby/lib/ruby/gems/1.8/gems ), and what do I do
> with it? I have tried untarring it, but I end up with two other
> archived files data.tar.gz and metadata.gz. Also, I get the message for
> both files, "implausibly old time stamp 1970-01-01 00:00:00".

Put the file in any directory - e.g., your home directory - and then
install it with:

sudo gem install --local watir-1.5.6.gem

Of course, there are a few dependencies, and you'll need to fetch those
from the mirrors as well...

Yours,

tom



Natalie Schluter

6/19/2008 11:13:00 AM

0

OK, I'll try that.
Thanks, Natalie
--
Posted via http://www.ruby-....