include the rails environment for the scheduler