# Installing to local dir

**URL:** <https://www.ruby-forum.com/t/installing-to-local-dir/182683>\
**Category:** Ruby-Gnome 2\
**Created:** [February 1, 2010, 1:23pm UTC](https://www.ruby-forum.com/t/installing-to-local-dir/182683 "2010-02-01T13:23:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmatos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a87d85/32.png) [@pmatos](https://www.ruby-forum.com/u/pmatos)\
**Post date:** [February 1, 2010, 1:23pm UTC](https://www.ruby-forum.com/t/installing-to-local-dir/182683/1 "2010-02-01T13:23:13Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![pmatos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a87d85/32.png) [@pmatos](https://www.ruby-forum.com/u/pmatos)\
**Post date:** [February 12, 2010, 10:46am UTC](https://www.ruby-forum.com/t/installing-to-local-dir/182683/2 "2010-02-12T10:46:17Z")

</div>

2010/2/1 Paulo M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> 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

---

<div class="post-metadata">

**Author:** ![pmatos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/a87d85/32.png) [@pmatos](https://www.ruby-forum.com/u/pmatos)\
**Post date:** [February 12, 2010, 1:08pm UTC](https://www.ruby-forum.com/t/installing-to-local-dir/182683/3 "2010-02-12T13:08:30Z")

</div>

Hi,

In [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
“[ruby-gnome2-devel-en] Installing to local dir” on Mon, 1 Feb 2010  
13:23:13 +0100,  
Paulo M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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
