title: Rails 3.1: How can I precompile a binary asset that isn't a Javascript, CSS, or Image file?
body: <p>I'm trying to embed a Unity3D webplayer object using some javascript that is in my <code>application.html.erb</code> file...</p>
  
  <pre><code>if (typeof unityObject != "undefined")
  {
      unityObject.embedUnity("unityPlayer", &lt;%= asset_path('unity/webplayer.unity3d') %&gt; , 960, 640);
  }
  </code></pre>
  
  <p>I've added the <code>webplayer.unity3d</code> file to my <code>app/assets/unity/</code> folder and I added <code>config.assets.paths &lt;&lt; "#{Rails.root}/app/assets/unity"</code> to my <code>application.rb</code> file to include the new unity folder as an assets folder.  However, when I precompile the assets using  <code>RAILS_ENV=production bundle exec rake assets:precompile</code> on the command line, my webplayer.unity3d file never gets precompiled.  How can I precompile this file?</p>
  
  <p>Thanks so much in advance for all your wisdom!</p>