On Sunday 03 January 2016 01:08 AM, Pirate Praveen wrote:
> Hi,
>
> sprockets 2.12 was able to find favico.js but sprockets 3.3 can't find
> favico.js. Others are working fine. You can run the autopkgtest of
> ruby-rails-assets-favico.js to reproduce this error.
>
> Sprockets::FileNotFound: couldn't find file 'favico.js' with type
> 'application/javascript'
This seems to be an issue with sprockets itself as it can't find
favico.js even after removing ruby-rails-assets-favico.js and installing
rails-assets-favico.js gem from rails-assets.org
(removed @ from tests/control and removed --local from bundle command
and ran adt-run)
rails new foo
cd foo
cat >> app/assets/javascripts/application.js <<EOF
# =require favico.js
EOF
cat >> Gemfile <<EOF
source "https://rails-assets.org" do
gem 'rails-assets-favico.js'
end
EOF
bundle install
bundle exec rake assets:precompile
> Can anyone confirm this?
>
> Thanks
> Praveen
>
Attachment:
signature.asc
Description: OpenPGP digital signature