fixed error in rbenv, added dotfiles dir check to dotfiles