updated with rbenv for gem use