Respect rails version environment variable