Fix the rails version, and command creation.