pmq20 / mathjax-rails

Simple gem to integrate MathJax with Rails and maintains MathJax at a system-wide directory.
MIT License
66 stars 30 forks source link

MathJax system wide directory is not available in production environment #23

Closed suryateja619 closed 6 years ago

suryateja619 commented 7 years ago

I used the configuration specified in the readme file but unfortunately, when I run it in production the systemwide directory mathjax is not loaded.

I'm getting error: Uncaught ReferenceError: MathJax is not defined

How to get the mathjax folder to be available in production?

suryateja619 commented 7 years ago

This is the error message we're seeing in the production environment in the log file.

RuntimeError (In order to use #url_for, you must include routing helpers explicitly. For instance, `include Rails.application.routes.url_helpers`.):

manusajith commented 7 years ago

@suryateja619 Whats the rails version you are using?

suryateja619 commented 7 years ago

@manusajith Rails 4.2.7