Don't try to mount jasmine-rails engine in environments where it hasn't been defined
Precompile assets in production rather than compiling on the fly, because the latter doesn't work