- ruby
ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux]
- bundler
1.5.1
- rails
4.0.2
- sprockets
2.10.1
- sprockets-rails
2.0.1
- bower
1.2.8
e.g. moment
(It has LICENSE
file in package.)
{
...,
"main": [
"moment",
...
],
"dependencies": {
, "moment": "*"
...
}
}
{
"directory": "vendor/assets/components"
}
scope.environment.paths
at Stylus::Rails::StylusTemplate#assets_hash
[0] 2.1.0-p0(#<Stylus::Rails::StylusTemplate>)> scope.environment.paths
[
[0] "/path/to/application/app/assets/images",
[1] "/path/to/application/app/assets/javascripts",
[2] "/path/to/application/app/assets/stylesheets",
[3] "/path/to/application/vendor/assets/components",
[4] "/path/to/application/vendor/assets/javascripts",
[5] "/path/to/application/vendor/assets/stylesheets",
[6] "/path/to/gems/ruby/2.1.0/gems/turbolinks-2.2.0/lib/assets/javascripts"
]
Full Trace about sprockets
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:380:in `new'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:380:in `build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:94:in `block in build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/caching.rb:58:in `cache_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:93:in `build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:287:in `find_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:61:in `find_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:295:in `[]'
path/to/gems/ruby/2.1.0/gems/sprockets-rails-2.0.1/lib/sprockets/rails/helper.rb:77:in `asset_digest_path'
path/to/gems/ruby/2.1.0/gems/sprockets-rails-2.0.1/lib/sprockets/rails/helper.rb:40:in `compute_asset_path'
path/to/gems/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/helpers/asset_url_helper.rb:132:in `asset_path'
path/to/gems/ruby/2.1.0/gems/stylus-1.0.0/lib/stylus/tilt/rails.rb:40:in `block in assets_hash'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:341:in `block in each_logical_path'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:324:in `block (2 levels) in each_file'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:314:in `each'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:314:in `each_entry'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:322:in `block in each_file'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:321:in `each'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:321:in `each_file'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:335:in `each_logical_path'
path/to/gems/ruby/2.1.0/gems/stylus-1.0.0/lib/stylus/tilt/rails.rb:38:in `each_with_object'
path/to/gems/ruby/2.1.0/gems/stylus-1.0.0/lib/stylus/tilt/rails.rb:38:in `assets_hash'
path/to/gems/ruby/2.1.0/gems/stylus-1.0.0/lib/stylus/tilt/rails.rb:22:in `build_mixin_body'
path/to/gems/ruby/2.1.0/gems/stylus-1.0.0/lib/stylus/tilt/rails.rb:12:in `evaluate'
path/to/gems/ruby/2.1.0/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/context.rb:197:in `block in evaluate'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/context.rb:194:in `each'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/context.rb:194:in `evaluate'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/processed_asset.rb:12:in `initialize'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:374:in `new'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:374:in `block in build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:395:in `circular_call_protection'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:373:in `build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:94:in `block in build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/caching.rb:58:in `cache_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:93:in `build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:287:in `find_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:61:in `find_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/processed_asset.rb:111:in `block in resolve_dependencies'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/processed_asset.rb:105:in `each'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/processed_asset.rb:105:in `resolve_dependencies'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/processed_asset.rb:97:in `build_required_assets'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/processed_asset.rb:16:in `initialize'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:374:in `new'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:374:in `block in build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:395:in `circular_call_protection'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:373:in `build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:94:in `block in build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/caching.rb:58:in `cache_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:93:in `build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:287:in `find_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:61:in `find_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprocketspath/tod_asset.rb:16:in `initialize'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:377:in `new'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:377:in `build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:94:in `block in build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/caching.rb:58:in `cache_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:93:in `build_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:287:in `find_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/index.rb:61:in `find_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/environment.rb:75:in `find_asset'
path/to/gems/ruby/2.1.0/gems/sprockets-2.10.1/lib/sprockets/base.rb:295:in `[]'
path/to/gems/ruby/2.1.0/gems/sprockets-rails-2.0.1/lib/sprockets/rails/helper.rb:144:in `lookup_asset_for_path'
path/to/gems/ruby/2.1.0/gems/sprockets-rails-2.0.1/lib/sprockets/rails/helper.rb:113:in `block in stylesheet_link_tag'
path/to/gems/ruby/2.1.0/gems/sprockets-rails-2.0.1/lib/sprockets/rails/helper.rb:112:in `map'
path/to/gems/ruby/2.1.0/gems/sprockets-rails-2.0.1/lib/sprockets/rails/helper.rb:112:in `stylesheet_link_tag'
app/views/layouts/application.html.slim:7:in `_app_views_layouts_application_html_slim___4239898869567031674_33403180'
path/to/gems/ruby/2.1.0/gems/actionpack-4.0.2/lib/action_view/template.rb:143:in `block in render'
...