added ruby version for rbenv installation
refactoring