/usr/local/bin/ruby et al

Steve Wills swills at freebsd.org
Tue Jun 17 01:34:18 UTC 2014


On Mon, Jun 16, 2014 at 02:54:33PM -0700, Patrick wrote:
> Is there any official way to have non-versioned links created in
> /usr/local/bin/ruby when installing from a precompiled package?

Not at the moment.

> ie. If I have DEFAULT_VERSIONS=ruby=2.0 in my /etc/make.conf and I run: pkg
> install ruby20, I'd love if /usr/local/bin/ruby, /usr/local/bin/irb, etc.
> were created instead of ruby20, irb20, etc.

The /etc/make.conf settings only apply at build time of packages, not install
time.

> I know the Makefile in the port does this providing the default version is
> set.

Correct.

> Or would it work if I built my own ruby20 package using Poudriere in
> an environment where the default version was set?

Yes, this will work, I do that myself. Just be sure to change the make.conf in
poudriere, not the one in /etc.

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ruby/attachments/20140617/8cde2e6a/attachment.sig>


More information about the freebsd-ruby mailing list