2014-11-25 16:54:17 +00:00
|
|
|
#
|
|
|
|
# This helper is for templates installing ruby modules.
|
|
|
|
#
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
local _vendorlibdir=$(ruby -e 'puts RbConfig::CONFIG["vendorlibdir"]')
|
|
|
|
|
2015-07-29 08:24:53 +00:00
|
|
|
LANG=C ruby install.rb --destdir=${DESTDIR} --sitelibdir=${_vendorlibdir} ${make_install_args}
|
2014-11-25 16:54:17 +00:00
|
|
|
}
|