setup ruby environment for ruby scripts