Note that there are some explanatory texts on larger screens.

plurals
  1. POnoUiSlider not working on Heroku but works locally
    text
    copied!<p>I have implemented the <a href="http://refreshless.com/nouislider/" rel="nofollow">noUiSlider</a> in my rails app. But it's not working on Heroku. (placed the css and js files <a href="https://github.com/leongersen/noUiSlider" rel="nofollow">here</a> into my app/assets/javascript and app/assets/stylesheets/ folder.<strong>Everything works fine locally but not on heroku</strong> </p> <p>Also tried adding the two files directly using the html <strong>link</strong> and <strong>script</strong> tags but still it works only locally, though on Heroku I can see the two files being loaded. </p> <p>I have the <strong>jquery-rails</strong> gem in my Gemfile. </p> <p>my application.js: </p> <pre><code>// //= require jquery //= require jquery_ujs //= require bootstrap-transition //= require gmaps4rails.base //= require gmaps4rails.googlemaps //= require_tree . </code></pre> <p>and application.css: </p> <pre><code> * *= require_self *= require bootstrap *= require _font-awesome *= require_tree . */ </code></pre> <p><strong>EDIT</strong> </p> <p>Even tried with the <a href="https://github.com/soycamo/jquery-nouislider-rails" rel="nofollow">noUISlider rails gem</a> but still the same problem. With this gem my application.js and application.css looks like this: </p> <pre><code>// //= require jquery //= require jquery_ujs //= require jquery.nouislider //= require bootstrap-transition //= require gmaps4rails.base //= require gmaps4rails.googlemaps //= require_tree . *= require_self *= require bootstrap *= require _font-awesome *= require jquery.nouislider *= require_tree . */ </code></pre> <p>How do I fix this?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload