reading ruby environment