freeze ruby environment