fix ruby for