Ruby shim

Reading a couple day old thread (on installing new ruby for shared
server), Lennon suggested looking at ruby 'shim'.

I think shim is a great idea. It allows a minimal usage of my
personal space (compared to installing a whole ruby1.8 preview), and
permits 1.8 sematics until 1.8.2 officially surfaces and I can bug the
admins of my webhosting to install it globally.

Two problems / questions:
  1. Where can I get it? RAA gives ftp location to removed directory
(from the helium fiasco)
  2. Is there some updated version to cover the newest 1.8.2 preview?
      (1.8.1 seemed to have a funny thing or two in it)

Thanks,
Cameron

Did you find it?
I would also like to get it.

I should have an old version lying around somewhere. Maybe.

Thanks

Michal Suchanek

···

On Wed, Aug 18, 2004 at 08:47:38PM +0900, Cameron McBride wrote:

Reading a couple day old thread (on installing new ruby for shared
server), Lennon suggested looking at ruby 'shim'.

I think shim is a great idea. It allows a minimal usage of my
personal space (compared to installing a whole ruby1.8 preview), and
permits 1.8 sematics until 1.8.2 officially surfaces and I can bug the
admins of my webhosting to install it globally.

Two problems / questions:
  1. Where can I get it? RAA gives ftp location to removed directory
(from the helium fiasco)
  2. Is there some updated version to cover the newest 1.8.2 preview?
      (1.8.1 seemed to have a funny thing or two in it)

Did you find it?
I would also like to get it.

I haven't found anything "new", but I came across this:
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/shim/

It's got a link to a tarball on it:
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/shim/shim.tar.gz?tarball=1

Haven't installed it, as I didn't find this immediately (so I
couldn't) and I other projects dominated my time. haven't made it
back this way, yet.

let me know if it works for you.

Cameron

> Did you find it?
> I would also like to get it.

I haven't found anything "new", but I came across this:
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/shim/

It's got a link to a tarball on it:
    http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/shim/shim.tar.gz?tarball=1

I did not notice it offers tarballs.

Haven't installed it, as I didn't find this immediately (so I
couldn't) and I other projects dominated my time. haven't made it
back this way, yet.

let me know if it works for you.

I can compile it at least.
I also used a small patch to make packaging possible.

It contains the str* extensions that I wanted ans also *xml and yaml so
it should be fine for me.

A few of the included tests fail but I guess that is because of
not-yet implemented features.

Thanks

Michal Suchanek

--- ruby16/install.rb Tue Jan 28 13:07:13 2003
+++ ruby-shim16_18/install.rb Fri Sep 24 21:02:32 2004
@@ -665,10 +665,12 @@

   def install_dir_ext_main( rel )
     #install_files allext('.'), config('so-dir') + '/' + rel, 0555
+ sitelibdir = "" + @options['install-prefix'] + config('rb-dir')
+ sitearchdir = "" + @options['install-prefix'] + config('so-dir')
     command sprintf('%s sitelibdir=%s sitearchdir=%s site-install',
                    config('make-prog'),
- config('rb-dir'),
- config('so-dir'))
+ sitelibdir,
+ sitearchdir)
   end

   def install_dir_data( rel )

···

On Fri, Sep 24, 2004 at 09:55:15AM +0900, Cameron McBride wrote: