Fix paths for ruby commands.