All test suites are meant to be run in the test
environment, not in the production
environment. In test
, neither asset precompiling, nor SSL enforcement is on. rake
selects the testing environment correctly, but for jasmine
, the wiki clearly states
RAILS_ENV=test bin/rake jasmine
Why are you trying to run jasmine
in the production
env?