Require rails for integration spec

This fixes an issue with CI