title: Images do not load in Rails development Environment
body: <p>I have the following line of code:</p>
  
  <pre><code>&lt;img src="&lt;%= image_url ("/slides/hotel.jpg") %&gt;" style="opacity:0;" alt="slidebg1" data-bgfit="cover" data-bgposition="left bottom" data-bgrepeat="no-repeat"&gt;
  </code></pre>
  
  <p><strong>Gemfile:</strong></p>
  
  <pre><code>source https://rubygems.org
  gem 'rails', '4.2.3'
  gem 'sass-rails', '~&gt; 5.0'
  gem 'uglifier', '&gt;= 1.3.0'
  gem 'coffee-rails', '~&gt; 4.1.0'
  gem 'pg', '~&gt; 0.18.2'
  gem 'coffee-script-source', '1.8.0'
  gem 'jquery-rails'
  gem 'turbolinks'
  gem 'jbuilder', '~&gt; 2.0'
  gem 'sdoc', '~&gt; 0.4.0', group: :doc
  gem 'simple_form'
  gem 'headjs-rails'
  
  group :development, :test do
    gem 'debugger'
    gem 'activerecord-postgresql-adapter'  gem 'web-console', '~&gt; 2.0'
  end
  
  gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
  </code></pre>
  
  <p><strong>Development.rb:</strong></p>
  
  <pre><code>config.assets.debug = false
  config.assets.compile = true
  config.assets.enabled = true
  config.serve_static_assets  = true
  </code></pre>
  
  <p>I am running in Windows 8 and I gave rake assets:precompile and it completed fine. But the image does not load. I am sure that image exists under that specified directory. In my case, the image exists under <code>assets/images/slides/hotel.jpg</code>. I had tried giving the file path as <code>/assets/images/slides/hotel.jpg</code>, <code>/images/slides/hotel.jpg</code> and <code>/slides/hotel.jpg</code> and all 3 does not work.</p>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>Started GET "/slides/hotel.jpg" for ::1 at 2015-07-28 21:03:04 +0530
  ActionController::RoutingError (No route matches [GET] "/slides/hotel.jpg")
  </code></pre>