Install gem packages only when rbenv is correctly installed