Installing to local dir

Hi,

I got: ruby-gnome2-all-0.19.3, however I don’t have root privileges so I
have to install in my home dir usually under ~/local. Which option do I
have to set to do this? Usually is by passing --prefix to configure, but
with ruby extconf.rb I am quite lost.

Paulo M.

2010/2/1 Paulo M. [email protected]:

Hi,

I got: ruby-gnome2-all-0.19.3, however I don’t have root privileges so I
have to install in my home dir usually under ~/local. Which option do I
have to set to do this? Usually is by passing --prefix to configure, but
with ruby extconf.rb I am quite lost.

AFAIK, you can’t do that.

I use rvm to install ruby in my home dir, and then compile ruby-gnome2
for it.
Of course, you have to compile ruby-gnome2 for each ruby version you
install through rvm, but it’s ok for me.

Simon

Hi,

In [email protected]
“[ruby-gnome2-devel-en] Installing to local dir” on Mon, 1 Feb 2010
13:23:13 +0100,
Paulo M. [email protected] wrote:

I got: ruby-gnome2-all-0.19.3, however I don’t have root privileges so I
have to install in my home dir usually under ~/local. Which option do I
have to set to do this? Usually is by passing --prefix to configure, but
with ruby extconf.rb I am quite lost.

You can use ‘make DESTDIR=$HOME/local install’ as a
workaround.

Thanks,

kou

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs