fix for ruby env