Re: [Brahms-dev-l] ruby

From: Flemming Videbaek <videbaek_at_bnl.gov>
Date: Mon, 27 Aug 2007 20:59:52 -0400
Hi Christian,

This is mainly to say that of course you were right on the /etc vs. /usr
I should have known better right away when writting this down

I am of course aware one can rewrite into almost any scripting language, but
at this stage it is not worth in my opinion to redo scripts, since it invaribaly will cost someone
days of work, in particular with scripts that access a database , where it better be right or you loose
much time etc..

regards
    Flemming



> hi Flemming,
> 
> On Mon, 2007-08-27 at 15:59 -0400, Flemming Videbaek wrote:
>> Hi
> 
> First of all. There should be packages of Ruby in SL (both flavours). 
> 
>> I talked to Hiro; he suggested to try using the previous ruby since
>> there apperently has been no or little change to glibc; 
> 
> Erhm, that may not be the only external library to check.  But, if Ruby
> runs, it could work, even if it's accidental.  
> 
> Note, that the days of incompatible glibc updates are more or less over
> (unless RH in their infinite wisdom decides to introduce new
> incompatibilities - something I wouldn't put past them). 
> 
>> I tried this, it starts but alas it does not work since the require '
>> statement in many scripts cannot find the referenced file.
>> Too access to the webpage for ruby aslo seems to fail (time-outs) so
>> you will have to stay tuned,
>> but it has to be resolved all the filecatalog updates as well as our
>> condor wrappers needs ruby.
> 
> "if it's worth writing once it worth re-writing [in a different
> language]."  Ruby is, after all, a bit "exotic", perhaps Python or even
> C++ would be better?  
> 
>> (on the prev system I believe there also was an installed version of
>> ruby, since e.g. the filecatalog scripts uses
>> /etc/bin/ as their main pointer.
> 
> You mean "/usr/bin" right?  There should _never_ever_ be a "bin"
> directory under "/etc".  If the scripts to reference "/etc/bin" it's a
> serious and grave mistake.  The "/etc" tree is _only_ for
> arch-independent sys-admin configuration files, and no package should
> assume that the files in that tree are static "/etc" - that is, the
> sys-admin may change those files as she sees fit.
> 
> Yours,
> 
> 
> -- 
> ___  |  Christian Holm Christensen 
>  |_| |  -------------------------------------------------------------
>    | |  Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
>     _|           DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
>    _|            Denmark                    Office: (+45) 353  25 404
> ____|   Email:   cholm_at_nbi.dk               Web:    www.nbi.dk/~cholm
> | |
>
_______________________________________________
Brahms-dev-l mailing list
Brahms-dev-l_at_lists.bnl.gov
https://lists.bnl.gov/mailman/listinfo/brahms-dev-l
Received on Mon Aug 27 2007 - 21:01:02 EDT

This archive was generated by hypermail 2.2.0 : Mon Aug 27 2007 - 21:01:28 EDT