Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Note to Self: Moving ruby, $:. Don't _do_ that.
John Carter
6/27/2007 12:02:00 AM
1 Answer
Michael Fellinger
6/27/2007 1:38:00 AM
0
On 6/27/07, John Carter <john.carter@tait.co.nz> wrote:
> With gcc you can build & install in /home/myname/opt/gcc and then tar it
> up and deliver to your colleagues /opt directory and it seems to work.
>
> They have been pretty careful about using relative paths everywhere.
>
> Note to Self: Don't do that with ruby on Linux. You end up with
> /home/myname/opt hard coded in the ruby executable, especially in the
> include path $:
>
> Curiously enough it seems to do The Right Thing in the code for DOSISH
> and CYGWIN platforms... but that will do lots of wrong things in other
> places for the linux platform.
>
./configure --prefix=/opt --enable-shared --enable-pthread
make
make DESTDIR=/home/manveru/tempruby install
#generate the ri docs
make DESTDIR=/home/manveru/tempruby install-doc
slightly modified from
http://rubyu...
hope that sheds more light on your problem... dunno how you tried it.
> Bottom line. Note to Self:
>
> Don't do that.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Note to Self: Moving ruby, $:. Don't _do_ that.
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password