Setting ruby environment