add rails dependencies
add tree package
fix rails dependencies
modify the way to install ruby-build to enable rbenv with sudo. refs #2