title: Where to put Galleria (jQuery image gallery framework) in Rails 3.1 Asset Pipeline?
body: <p>I'm a bit confused as to where to put a jQuery framework like <a href="http://galleria.aino.se/" rel="noreferrer">Galleria</a> in <strong>Rails 3.1</strong>'s new <strong>Asset Pipeline</strong>? </p>
  
  <p>I know it, technically, should go into <code>/vendors/assets/javascripts</code> <em>but</em>, it is my understanding that, the <code>Galleria</code> folder with the jQuery &amp; themes wants to be in root (<code>/galleria</code>) of the live site in order to work correctly. </p>
  
  <p>Also, while we're at it, where to put the following script so it will appear only on the page(s) with a gallery?</p>
  
  <pre><code>&lt;script&gt;
      $('#gallery').galleria({
          width:500,
          height:500
      });
  &lt;/script&gt;
  </code></pre>
  
  <p><strong>Edit</strong>: Surprised there's no response!?! Maybe Galleria isn't that popular? These are the files I'm trying to load. They are bundled like this though I could easily move them:</p>
  
  <pre><code>vendor/
    assets/
      javascripts/
        galleria-1.2.5.js
        galleria-1.2.5.min.js
      galleria/
        themes/
          classic/
            classic-loader.gif
            classic-map.png
            galleria.classic.css
            galleria.classic.js
            galleria.classic.min.js
  </code></pre>
  
  <p>i thought <strong>Sprockets</strong> <code>require_tree .</code> would load everything in <code>app/assets</code>, <code>lib/assets</code> and <code>vendor/assets</code>?!?</p>