Lets say i compile ruby on Unix with ./configure --prefix=$HOME/my_ruby; make; make install And later i want to move it to $HOME/your_ruby What can i do to get the inital paths for the standart library to also refer to the new location. The RUBYLIB_PREFIX environment variable (which i expected to use) is obsoleted.