Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit ac07d042a9a6fbf2eb85b7165d7670f47d4ee24c 1 parent 58baa3f
@cwgem cwgem authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  hooks/after_install_auto_gem
View
2  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"
Please sign in to comment.
Something went wrong with that request. Please try again.