Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2010 16:44:25 -0700
From:      Randy Zach <zach@zach.com>
To:        ruby@FreeBSD.org
Subject:   Regarding pkgtools 2.4.7 makefiles and ruby18
Message-ID:  <20101114234425.GA56116@zach.com>

next in thread | raw e-mail | index | archive | help
I had difficulty with pkgtools 2.4.7 and ruby19.  I do configure my
system to use ruby19 as the default ruby interpreter.  Near the
declaration of realpath in pkgmisc.rb, the "extend DL::Importable"
declaration seemed to produce an uninitialized constant message.

I chose not to pursue this and attempted to use ruby18 for pkgtools.

In the makefiles the idiom

  $$_.sub(/^#!\s*\S*(\benv\s+)?\bruby/, "#!${RUBY}"); \

is used to substitute an alternate interpreter.

Shouldn't this be sub!, instead of sub ....

RZ



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101114234425.GA56116>