Fix linting and ruby version definition