Closed juanca closed 7 years ago
Well, for the time being, I forked @ https://github.com/juanca/jasmine-gem If y'all want this type of solution, I can make it configurable? Lemme know.
We would be happy to review a pull request that allows a user to turn off asset expansion or correctly boots up the assets_environment
correctly in this situation. I would prefer to get the assets_environment
booted up correctly, since that would make it work without users needing to set another configuration option, and it keeps the asset pipeline as more of an implementation detail.
Unfortunately, we just ended up moving off of rails for our front-end specs. I can open a PR but I won't be digging further into this issue.
Closing this unless someone wants to take the torch.
Hello,
I am in the process of bumping my jasmine-gem version from ~1.x to 2.4 in a rails 4 stack. It was a pretty smooth ride. However, the last blocker is
It seems
Jasmine::AssetExpander
is somehow running without anassets_environment
.However, if I were to bypass asset expanding (which is an actual requirement for me), it doesn't run into this problem:
src_paths.flatten.uniq
Is there an official configuration to bypass asset expansion? Our CI environment precompiles all assets beforehand so asset expansion is unnecessary anyways.