Fixes for rbenv