ANN: ri 1.8b

I’ve updated ri:

  • changes to various to_i and to_s methods to reflect the fact that the
    number’s base can be anything from 2 to 36

  • fixed the wording of Object#copy_object

  • added a note and example on SCRIPT_LINES__ (see Kernel#require)

Available at
http://prdownloads.sourceforge.net/rdoc/ri-1.8b.tgz?download

Cheers

Dave

Dave Thomas wrote:

I’ve updated ri:

Available at Download ri-1.8b.tgz (RDoc: NO LONGER ACTIVE—part of Ruby)

Cheers

Dave

Great!

That remainded me to go and get an up to date version of RDoc. However,
using my W** box I can’t figure out the file type I’m getting from
source forge. It semms to neither tgz nor tar (and it isn’t gz).
Or am I wrong? Should I perhaps change my (de)compression tool? I don’t
think so, since it handles ri correctly…

Have a nice day

Stephan

Are you by any change using something like wget or curl? If so, you
might be downloading the Sourceforge HTML page that lists their various
mirrors.

I just downloaded on my W2k box using IE and it came down OK. I used
the option to save the file to disk.

Confused (again)

Dave

···

On Thursday, April 17, 2003, at 12:24 PM, Stephan Kämper wrote:

That remainded me to go and get an up to date version of RDoc.
However, using my W** box I can’t figure out the file type I’m getting
from source forge. It semms to neither tgz nor tar (and it isn’t gz).
Or am I wrong? Should I perhaps change my (de)compression tool? I
don’t think so, since it handles ri correctly…

Follow the link manually. If you see a link which points at
…/foobar.tar.gz

in Sourceforge it probably isn’t the actual file. You have to click on
this link, which brings you to another page which lets you select which
mirror to download from, and then you can download it.

Cheers,

Brian.

···

On Fri, Apr 18, 2003 at 02:24:49AM +0900, Stephan K?mper wrote:

That remainded me to go and get an up to date version of RDoc. However,
using my W** box I can’t figure out the file type I’m getting from
source forge. It semms to neither tgz nor tar (and it isn’t gz).
Or am I wrong? Should I perhaps change my (de)compression tool? I don’t
think so, since it handles ri correctly…

Dave Thomas wrote:

Are you by any change using something like wget or curl? If so, you
might be downloading the Sourceforge HTML page that lists their various
mirrors.

No. I tried to download it with browsers (see below). And I’m pretty
sure that it’s not an HTML file I got - not even a Microsoft one. :wink:

I just downloaded on my W2k box using IE and it came down OK. I used the
option to save the file to disk.

Confused (again)

I’m terribly sorry for being confusing. But then… testers soo often
just can’t help being confusing - please accept my apologogies anyway. :wink:

Up to now I tried several thing to find out what’s going on:

I tried

  • different packers on both ri1.8b and RDoc
    ri unpacks fine, but RDoc doesn’t
  • several ways of getting RDoc (used IE 6.0 and Mozilla 1.3)
    and some ways of downloading (left-clicking on the link,
    right-clicking it …)
  • a couple of mirrors
    Only the Australian one gives me a .tgz.gz file all others
    claim to send me a tgz file.

Now I always end up with identical files…

The first couple of bytes, printed with a file dumper
(I wrote in Ruby - and yes the file mode is set to binary)
gives the following (hex values to the lerft of the bar, chars on the
right hand side):

1f 9d 90 72 c8 bc 19 d3 | 31   r È ¼ 25 Ó
02 86 8b 1c 2e 60 bc 18 | 02 † ‹ 28 . ` ¼ 24
82 26 8c 9b 33 65 98 bc | ‚ & Œ › 3 e ˜ ¼
39 03 a0 a2 c5 8b 18 33 | 9 03 ¢ Å ‹ 24 3

Does that say anything to someone?

Cheers

Stephan

I think I’m going too try unpacking the file on our other computer
(which is a Linux machine) tomorrow…

Dave Thomas wrote:

I just downloaded on my W2k box using IE and it came down OK. I used the
option to save the file to disk.

May I ask what you use to uncompress tgz files on W2K?

Eventually I tried yet some more packers and found one that can unpack
the RDoc-tgz.

Anyway I still wonder why the heck most of the packers don’t get the
RDoc file right but work fine with the tgz of ri?!

Thanks a lot Dave, Brian, Lyle!

Stephan

Stephan Kämper wrote:

Now I always end up with identical files…

Another thing to check is the downloaded file size; the size for
rdoc-0.9.0.tgz should be 140,186 bytes.

The first couple of bytes, printed with a file dumper
(I wrote in Ruby - and yes the file mode is set to binary)
gives the following (hex values to the left of the bar, chars on the
right hand side):

Does that say anything to someone?

Yes, those are definitely the first 32 bytes of rdoc-0.9.0.tgz.

tar :slight_smile: (from cygwin)

I should probably distribute a .zip file too.

Cheers

Dave

···

On Friday, April 18, 2003, at 04:52 AM, Stephan Kämper wrote:

Dave Thomas wrote:

I just downloaded on my W2k box using IE and it came down OK. I used
the option to save the file to disk.

May I ask what you use to uncompress tgz files on W2K?

May I ask what you use to uncompress tgz files on W2K?

WinZip works fine. It understands .gz and
.tar (and even comprehends that .tgz is the
composition of those, I think).

Hal

···

----- Original Message -----
From: “Stephan Kämper” Stephan.Kaemper@Schleswig-Holstein.de
Newsgroups: comp.lang.ruby
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Friday, April 18, 2003 4:52 AM
Subject: Re: ANN: ri 1.8b

You can try Stuffit Expander for Windows (http://www.stuffit.com/expander/).
It understand lots of formats.

Gennady.

···

----- Original Message -----
From: “Stephan Kämper” Stephan.Kaemper@Schleswig-Holstein.de
Newsgroups: comp.lang.ruby
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Friday, April 18, 2003 2:52 AM
Subject: Re: ANN: ri 1.8b

Dave Thomas wrote:

I just downloaded on my W2k box using IE and it came down OK. I used the
option to save the file to disk.

May I ask what you use to uncompress tgz files on W2K?

Eventually I tried yet some more packers and found one that can unpack
the RDoc-tgz.

Anyway I still wonder why the heck most of the packers don’t get the
RDoc file right but work fine with the tgz of ri?!

Thanks a lot Dave, Brian, Lyle!

Stephan

Just like to throw in AlZip. Supports lots of formats; even more
than Winzip. I switched to AlZip after being a long time WinZip user.
Not freeware, but I really like it.

Emiel

···

Dave Thomas wrote:

I just downloaded on my W2k box using IE and it came down OK. I used the
option to save the file to disk.

May I ask what you use to uncompress tgz files on W2K?


E F van de Laar
+31648183479
www.il.fontys.nl/~emiel

Lyle Johnson wrote:

Stephan Kämper wrote:
Another thing to check is the downloaded file size; the size for
rdoc-0.9.0.tgz should be 140,186 bytes.

Exactly the size of the files I got…

The first couple of bytes, printed with a file dumper
(I wrote in Ruby - and yes the file mode is set to binary)
gives the following (hex values to the left of the bar, chars on the
right hand side):

Does that say anything to someone?

Yes, those are definitely the first 32 bytes of rdoc-0.9.0.tgz.

Thanks Lyle, that’s good news. Now I just have to find a way to unpack it.

But I’ll to that tomorrow - resp. after the long nap.

Cheers

Stephan

Hal E. Fulton wrote:

From: “Stephan Kämper” Stephan.Kaemper@Schleswig-Holstein.de

May I ask what you use to uncompress tgz files on W2K?

WinZip works fine. It understands .gz and
.tar (and even comprehends that .tgz is the
composition of those, I think).

After trying about a dozen share- and freeware tools I realized that
WinZip works. But now I’ll stick to the freely available ZipGenius which
works too ( http://www.zipgenius.it/ ).

Thanks again, everybody! It’s really great to have such a supporting
community just a couple of keystrokes away.

And now I’ll get back to Ruby. :smiley:

Enjoy the Easter holidays

Stephan

···

----- Original Message -----

Yes, those are definitely the first 32 bytes of rdoc-0.9.0.tgz.

Thanks Lyle, that’s good news. Now I just have to find a way to unpack
it.

But I’ll to that tomorrow - resp. after the long nap.

If you have no luck, perhaps you could privately e-mail the file you
have.

Cheers

Dave