Implement to setup ruby environment.