Bugfix for rbenv support