Permalink
Browse files

1.8 series ruby needs to pull in -rrbconfig for RbConfig to work.

  • Loading branch information...
1 parent 58baa3f commit ac07d042a9a6fbf2eb85b7165d7670f47d4ee24c Chris White committed Feb 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 hooks/after_install_auto_gem
@@ -6,7 +6,7 @@ if
]]
then
typeset __sitelib
- __sitelib="$( $rvm_ruby_binary -e "puts RbConfig::CONFIG['sitelibdir']" )"
+ __sitelib="$( $rvm_ruby_binary -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']" )"
if [[ -n "${__sitelib}" ]]
then touch "${__sitelib}/auto_gem.rb"
else echo "WARN: Installed ruby does not have valid 'sitelibdir', no 'auto_gem.rb' was created, please report a bug here: https://github.com/wayneeseguin/rvm/issues"

0 comments on commit ac07d04

Please sign in to comment.