rails/rails — Issue #3679: Sprockets::FileNotFound with 3.1.2
Author: Rolle
Created: 2011-11-18 15:03:41+00:00
State: open

Apps running with 3.1.1 does not run with 3.1.2 anymore. Same with new apps.
Probably only on Windows, not *NIX.

On Windows XP:
c:> ruby -v
ruby 1.9.2p290 (2011-07-09) [i386-mingw32]

c:>gem list
*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.1.2)
actionpack (3.1.2)
activemodel (3.1.2)
activerecord (3.1.2)
activeresource (3.1.2)
activesupport (3.1.2)
akami (1.0.0)
ansi (1.4.1)
archive-tar-minitar (0.5.2)
arel (2.2.1)
bcrypt-ruby (3.0.1 x86-mingw32)
builder (3.0.0)
bundler (1.0.21)
cocaine (0.2.0)
coffee-rails (3.1.1)
coffee-script (2.2.0)
coffee-script-source (1.1.3)
columnize (0.3.4)
commonwatir (2.0.4)
crack (0.3.1)
cucumber (1.1.2)
daemons (1.1.4)
delayed_job (2.1.4)
diff-lcs (1.1.3)
erubis (2.7.0)
execjs (1.2.9)
ffi (1.0.11 x86-mingw32)
gem_plugin (0.2.3)
geocoder (1.0.5)
gherkin (2.6.5 x86-mingw32)
gyoku (0.4.4)
hike (1.2.1)
hoe (2.12.3)
hpricot (0.8.4)
httpclient (2.2.3)
httpi (0.9.5)
i18n (0.6.0)
jquery-rails (1.0.17)
jquery_datepicker (0.3.2)
json (1.6.1)
json_pure (1.6.1)
linecache19 (0.5.12)
mail (2.3.0)
mime-types (1.17.2)
mini_magick (3.3)
minitest (2.8.1)
mongrel (1.2.0.pre2 x86-mingw32)
multi_json (1.0.3)
mysql (2.8.1 x86-mingw32)
mysql2 (0.3.10)
nokogiri (1.5.0 x86-mingw32)
nori (1.0.2)
ntlm-http (0.1.1)
paperclip (2.4.5)
parseconfig (0.5.2)
polyglot (0.3.3)
pyu-ntlm-http (0.1.3.1)
rack (1.3.5)
rack-cache (1.1)
rack-mount (0.8.3)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.1.2)
railties (3.1.2)
rake (0.9.2.2)
rautomation (0.6.3)
rdoc (3.11)
rhc (0.81.14)
rspec (2.7.0)
rspec-core (2.7.1)
rspec-expectations (2.7.0)
rspec-mocks (2.7.0)
ruby-debug-base19 (0.11.25)
ruby-debug19 (0.11.6)
ruby_core_source (0.1.5)
rubygems-update (1.8.11)
s4t-utils (1.0.4)
sass (3.1.10)
sass-rails (3.1.5)
savon (0.9.7)
simple-rss (1.2.3)
sprockets (2.1.0)
sqlite3 (1.3.4 x86-mingw32)
sqlite3-ruby (1.3.3)
subexec (0.2.0)
term-ansicolor (1.0.7)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
turn (0.8.3, 0.8.2)
tzinfo (0.3.31)
uglifier (1.1.0)
user-choices (1.1.6.1)
wasabi (2.0.0)
watir (2.0.4)
webrat (0.7.3)
win32-api (1.4.8 x86-mingw32)
win32-clipboard (0.5.2)
win32-process (0.6.5)
win32screenshot (1.0.6)
windows-api (0.4.0)
windows-pr (1.2.1)
xml-simple (1.1.1)

c:> rails new SprocketsTestApp
c:> cd SprocketsTestApp
c:> rails generate scaffold User name:string
c:> rake db:migrate
c:> rails s

Open http://localhost:3000/users in browser shows:
Sprockets::FileNotFound in Users#index

Showing C:/Projects/ruby/SprocketsTestApp/app/views/layouts/application.html.erb where line #5 raised:

couldn't find file 'C:/Projects/ruby/SprocketsTestApp/app/assets/stylesheets'
(in C:/Projects/ruby/SprocketsTestApp/app/assets/stylesheets/application.css:6)
Extracted source (around line #5):

2:
3:

4:

SprocketsTestApp

5: <%= stylesheet_link_tag "application" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8:

Rails.root: C:/Projects/ruby/SprocketsTestApp

Application Trace | Framework Trace | Full Trace
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___204210604_22283424'
app/controllers/users_controller.rb:7:in `index'