[Rubygems-developers] Fake installs of gems under OpenBSD

Jonathan Weiss jw at innerewut.de
Fri Jul 8 13:48:13 EDT 2005


I work on integrating gems in to OpenBSD/FreeBSD ports tree.

On OpenBSD a port/package is installed by installing it in a fake directory
and then creating a package out of the installed files.

Therefore a gem must be installed like this:

gem install --install-dir ${PREFIX}/lib/ruby/gems/1.8 rake-0.5.4.gem

The problem is that the rake executable ends up in ${PREFIX}/bin while all
the other files are correctely in ${PREFIX}/lib/ruby/gems/1.8/ (as they

The rake executable should end up in ${PREFIX}/usr/local/bin

Is there a way to solve this problem?

Maybe by setting GEM_HOME or something?


Jonathan Weiss

More information about the Rubygems-developers mailing list