Installing ruby gems

2007-11-28 Thread Ulrich Kortenkamp

Hi,

we have a working fai installation here, and I would like to install  
Ruby on Rails on the fai clients. It's no problem to add the ruby  
packages, but in order to install rails I have to use the ruby package  
management tool gems. I thought that adding a script that calls


gem install --include-dependencies rails

should do the job, but it doesn't. I could use fcopy to just copy the  
files to the client after installation, but that seems to be a bad  
workaround. Is there a proper way to do this?


thanks,

Ulli 
 


Re: Installing ruby gems

2007-11-29 Thread Thomas Lange
> On Wed, 28 Nov 2007 21:23:12 +0100, Ulrich Kortenkamp <[EMAIL PROTECTED]> 
> said:

> we have a working fai installation here
Did I already get your FAI questionnaire? ;-)
http://www.informatik.uni-koeln.de/fai/questionnaire


> and I would like to install  
> Ruby on Rails on the fai clients. It's no problem to add the ruby  
> packages, but in order to install rails I have to use the ruby package  
> management tool gems. I thought that adding a script that calls

> gem install --include-dependencies rails
Yuo have to call this command inside the new system (using chroot),
which is mounted to /target during installation. Try this

$ROOTCMD gem install --include-dependencies rails


$ROOTCMD will do the chroot /target for you, or during a softupdate
it's just empty.
-- 
regards Thomas


Re: Installing ruby gems

2007-11-29 Thread Ulrich Kortenkamp


Am 29.11.2007 um 11:36 schrieb Thomas Lange:

On Wed, 28 Nov 2007 21:23:12 +0100, Ulrich Kortenkamp <[EMAIL PROTECTED] 
> said:



we have a working fai installation here

Did I already get your FAI questionnaire? ;-)
http://www.informatik.uni-koeln.de/fai/questionnaire


No, not yet... I'll send it later.

[...]

$ROOTCMD gem install --include-dependencies rails


Ah, ok. I missed that one. Thanks a lot. Now I remove the hack I  
introduced that executed the command immediately after the first reboot.


Thanks,

Ulli