title: Uncaught TypeError: Object [object Object] has no method 'jPlayer'
body: <p>I'm working with RoR and I added a JPlayer from JQuery to my project.
  I added it in the folder assets and in the html i have this:</p>
  
  <pre><code>&lt;title&gt;jPlayer as an audio player&lt;/title&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
      &lt;link href="/jPlayer/skin/pink.flag/jplayer.pink.flag.css" rel="stylesheet" type="text/css" /&gt;
  
      &lt;script type="text/javascript"&gt;
          //&lt;![CDATA[
          $(document).ready(function(){
  
              $("#jquery_jplayer_1").jPlayer({
                  ready: function () {
                      $(this).jPlayer("setMedia", { mp3:"http://www.jplayer.org/audio/mp3/TSP-01-Cro_magnon_man.mp3"});
                  },swfPath: "js",supplied: "mp3",wmode: "window"
  
              });
          });
          //]]&gt;
      &lt;/script&gt;
  </code></pre>
  
  <p>But I get this error: </p>
  
  <blockquote>
    <p>Uncaught TypeError: Object [object Object] has no method 'jPlayer'</p>
  </blockquote>
  
  <p>in this line: <code>$("#jquery_jplayer_1").jPlayer({</code></p>
  
  <p>O added the corresponding gems to the Gem file, so I don't know what could be wrong. Any idea? Thanks!</p>