title: Heroku production : Gmaps is not defined - works in local
body: <p>On a simple page, I show a google map with one marker.</p>
  
  <p>In local, everythings works perfectly but, on Heroku I got an error in console : </p>
  
  <pre><code> Uncaught ReferenceError: Gmaps is not defined
  </code></pre>
  
  <p>this is related to </p>
  
  <pre><code>handler = Gmaps.build('Google'); //and some other stuff
  </code></pre>
  
  <p>Localy, this is working. But when I deployed this on heroku, it's like it can't load the JS.</p>
  
  <p>this is on the top of my file</p>
  
  <pre><code>&lt;script src="//maps.google.com/maps/api/js?v=3.13&amp;amp;sensor=false&amp;amp;libraries=geometry"type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src='//google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.0.14/src/markerclusterer_packed.js'type='text/javascript'&gt;&lt;/script&gt;
  &lt;script src='//google-maps-utility-library-v3.googlecode.com/svn/trunk/richmarker/src/richmarker-compiled.js' type='text/javascript'&gt;&lt;/script&gt;
  </code></pre>
  
  <p>and the <code>application.js</code></p>
  
  <pre><code>//= require underscore
  //= require gmaps/google
  </code></pre>
  
  <p>I'ts probably a simple error, maybe related to assets precompiled, but I'm not really an expert in this area</p>