title: Same source, different env. Why can't read same js?
body: <p>I'm making Rails app.
  Despite of same program source, it seems like different js reading between local pc and staging.</p>
  
  <p>Here's the result.</p>
  
  <p><a href="https://i.stack.imgur.com/LkTOE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LkTOE.png" alt="Staging"></a></p>
  
  <p><a href="https://i.stack.imgur.com/1uDsf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1uDsf.png" alt="Local"></a></p>
  
  <p>SourceCode is like this.
  config/initializers/assets.rb</p>
  
  <pre><code># Precompile additional assets.
  # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
  # Rails.application.config.assets.precompile += %w( search.js )
  Rails.application.config.assets.precompile += %w( flatly.css )
  Rails.application.config.assets.precompile += %w( flatly.js )
  Rails.application.config.assets.precompile += %w( application.css )
  Rails.application.config.assets.precompile += %w( frontpage.css )
  Rails.application.config.assets.precompile += %w( frontpage.js )
  Rails.application.config.assets.precompile += %w( restaurant.css )
  Rails.application.config.assets.precompile += %w( restaurant_type.css )
  Rails.application.config.assets.precompile += %w( shop.css )
  Rails.application.config.assets.precompile += %w( search.css )
  Rails.application.config.assets.precompile += %w( area.css )
  Rails.application.config.assets.precompile += %w( menu.css )
  Rails.application.config.assets.precompile += %w( product.css )
  Rails.application.config.assets.precompile += %w( slick.css )
  Rails.application.config.assets.precompile += %w( cuisine.css )
  Rails.application.config.assets.precompile += %w( prefstate.css )
  Rails.application.config.assets.precompile += %w( about_us.css )
  Rails.application.config.assets.precompile += %w( terms.css )
  Rails.application.config.assets.precompile += %w( privacy.css )
  Rails.application.config.assets.precompile += %w( devise/sessions.css )
  Rails.application.config.assets.precompile += %w( devise/registrations.css )
  Rails.application.config.assets.precompile += %w( knowledge_sprouts.js )
  Rails.application.config.assets.precompile += %w( knowledge_sprouts.css )
  Rails.application.config.assets.precompile += %w( users.css )
  Rails.application.config.assets.precompile += %w( users/registrations.css )
  Rails.application.config.assets.precompile += %w( jquery.tagit.css )
  Rails.application.config.assets.precompile += %w( tag-it.js )
  </code></pre>
  
  <p>Also here's application.js
  /app/assets/javascripts/application.js</p>
  
  <pre><code>//= require jquery
  //= require jquery-ui
  //= require tag-it
  //= require bootstrap
  //= require gmaps/google
  //= require ahoy
  //= require underscore
  //= require knowledge_sprout
  </code></pre>
  
  <p>LocalPC and Staging are totally same except for environmental valuable.
  What's the problem? Any idea?</p>
  
  <p>[Appendix]</p>
  
  <p><strong>Rails -v</strong></p>
  
  <blockquote>
    <p>Rails 4.2.3(Both same)</p>
  </blockquote>
  
  <p><strong>Ruby -v</strong></p>
  
  <blockquote>
    <p>(local)ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
    (Staging)ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]</p>
  </blockquote>