title: Is there a way to avoid precompiling assets in a test env for Rails for E2E tests?
body: <p>I'm using <a href="https://www.cypress.io/" rel="nofollow noreferrer">cypress</a> for E2E testing and it requires adding a <code>rake assets:precompile</code> step to my CI build commands. On average it takes about 4 minutes, which is just as long as the tests themselves. When I run tests locally, I don't need to precompile so I would assume that on CI that it wouldn't either but it does. I even have <code>config.assets.compile = true</code> on my <code>test.rb</code> file but it still needs the actually rake precompile task.</p>