Z
Zouplaz
Hi, thanks to the Shebang my /usr/local/somewhere/over/the/rainbow.rb
get ruby interpretor launched automagically.
BUT, because I need it very often I've created a /usr/local/bin/rainbow
symlink to it.
Now, the require in rainbow.rb no more finds the files in
/usr/local/somewhere/over/the/lib directory. So, I used absolute path
and it's fine, but francky I don't like absolute paths because anybody
should be able to put and use rainbow.rb on any directory
How can I do to have both this nice symlink without losing relative
require ?
get ruby interpretor launched automagically.
BUT, because I need it very often I've created a /usr/local/bin/rainbow
symlink to it.
Now, the require in rainbow.rb no more finds the files in
/usr/local/somewhere/over/the/lib directory. So, I used absolute path
and it's fine, but francky I don't like absolute paths because anybody
should be able to put and use rainbow.rb on any directory
How can I do to have both this nice symlink without losing relative
require ?