Lines 28-34
Link Here
|
28 |
|
28 |
|
29 |
src_install() { |
29 |
src_install() { |
30 |
# RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455 |
30 |
# RUBYOPT=-rauto_gem without rubygems installed will cause ruby to fail, bug #158455 |
31 |
unset RUBYOPT |
31 |
export RUBYOPT="${GENTOO_RUBYOPT}" |
32 |
ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["MAJOR"] + "." + Config::CONFIG["MINOR"]') |
32 |
ver=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["MAJOR"] + "." + Config::CONFIG["MINOR"]') |
33 |
GEM_HOME=${D}/usr/lib/ruby/gems/$ver ruby_src_install |
33 |
GEM_HOME=${D}/usr/lib/ruby/gems/$ver ruby_src_install |
34 |
cp "${FILESDIR}/auto_gem.rb" "${D}"/$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]') |
34 |
cp "${FILESDIR}/auto_gem.rb" "${D}"/$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]') |