Finally I get jasmine running locally on my Mac (11.2.1).
What I need to do was:
- Precomile assets in production: RAILS_ENV=production rails assets:precompile
- Add this two lines to config/initializers/assets.rb:
- Rails.application.config.assets.precompile += %w( jasmine-load-all.js )
- Rails.application.config.assets.precompile += %w( jasmine-jquery.js )
- Generate a local cert ( for production runs)
- openssl req -x509 -sha256 -nodes -newkey rsa:2048 -days 365 -keyout localhost.key -out localhost.crt
- Enable line ācertificate_authoritiesā in diaspora.toml (not diaspora.yml as message shows!)
After these steps I no can run rake jasmine and rake jasmine:ci
Are these steps anywhere documented?
Shouldnāt it be documented in WIKI?