Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rails master + sass #60

Closed
slbug opened this issue Apr 19, 2011 · 5 comments
Closed

rails master + sass #60

slbug opened this issue Apr 19, 2011 · 5 comments
Assignees
Milestone

Comments

@slbug
Copy link

slbug commented Apr 19, 2011

Sass broken since introducing sprockets in rails. Any require fails with error - can't load (load path - .). Do you plan to add sprockets support?

@ghost ghost assigned chriseppstein Apr 19, 2011
@chriseppstein
Copy link

Yes. Rails master is very much in flux, we are working with the rails team to make sure this is working before release.

@chriseppstein
Copy link

Can you provide a full stack trace please?

@slbug
Copy link
Author

slbug commented Apr 19, 2011

here you go.

(I have partials/_common.css.scss near style.css.scss)

File to import not found or unreadable: partials/common.
Load path: .
app/assets/stylesheets/style.css.scss:20
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/import_node.rb:64:in `rescue in import'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/import_node.rb:42:in `import'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/import_node.rb:25:in `imported_file'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/check_nesting.rb:88:in `rescue in invalid_import_parent?'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/check_nesting.rb:78:in `invalid_import_parent?'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/check_nesting.rb:131:in `try_send'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/check_nesting.rb:8:in `visit'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/base.rb:53:in `map'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/base.rb:53:in `visit_children'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/check_nesting.rb:26:in `visit_children'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/base.rb:39:in `visit'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/check_nesting.rb:14:in `visit'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/base.rb:53:in `map'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/base.rb:53:in `visit_children'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/check_nesting.rb:26:in `visit_children'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/base.rb:37:in `block in visit'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/check_nesting.rb:33:in `visit_root'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/base.rb:37:in `visit'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/check_nesting.rb:14:in `visit'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/visitors/base.rb:24:in `visit'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/tree/root_node.rb:19:in `render'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/engine.rb:291:in `_render'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sass-a84b376d8556/lib/sass/engine.rb:238:in `render'
tilt (1.2.2) lib/tilt.rb:546:in `evaluate'
tilt (1.2.2) lib/tilt.rb:118:in `render'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sprockets-be97965f1cdc/lib/sprockets/concatenated_asset.rb:113:in `block in process'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sprockets-be97965f1cdc/lib/sprockets/concatenated_asset.rb:112:in `reverse_each'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sprockets-be97965f1cdc/lib/sprockets/concatenated_asset.rb:112:in `process'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sprockets-be97965f1cdc/lib/sprockets/concatenated_asset.rb:101:in `require'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sprockets-be97965f1cdc/lib/sprockets/concatenated_asset.rb:31:in `initialize'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sprockets-be97965f1cdc/lib/sprockets/path_index.rb:76:in `new'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sprockets-be97965f1cdc/lib/sprockets/path_index.rb:76:in `find_asset'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sprockets-be97965f1cdc/lib/sprockets/environment_index.rb:71:in `find_asset'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sprockets-be97965f1cdc/lib/sprockets/environment.rb:91:in `find_asset'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/sprockets-be97965f1cdc/lib/sprockets/server.rb:12:in `call'
rack-mount (0.7.2) lib/rack/mount/prefix.rb:26:in `call'
rack-mount (0.7.2) lib/rack/mount/route_set.rb:150:in `block in call'
rack-mount (0.7.2) lib/rack/mount/code_generation.rb:93:in `block in recognize'
rack-mount (0.7.2) lib/rack/mount/code_generation.rb:68:in `optimized_each'
rack-mount (0.7.2) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.7.2) lib/rack/mount/route_set.rb:141:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/actionpack/lib/action_dispatch/routing/route_set.rb:523:in `call'
warden (1.0.3) lib/warden/manager.rb:35:in `block in call'
warden (1.0.3) lib/warden/manager.rb:34:in `catch'
warden (1.0.3) lib/warden/manager.rb:34:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-4d93f90b58b0/lib/rack/etag.rb:23:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-4d93f90b58b0/lib/rack/conditionalget.rb:25:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-4d93f90b58b0/lib/rack/methodoverride.rb:24:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/actionpack/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/actionpack/lib/action_dispatch/middleware/flash.rb:236:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-4d93f90b58b0/lib/rack/session/abstract/id.rb:195:in `context'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-4d93f90b58b0/lib/rack/session/abstract/id.rb:190:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/actionpack/lib/action_dispatch/middleware/cookies.rb:321:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/activerecord/lib/active_record/query_cache.rb:32:in `block in call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:26:in `cache'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/activerecord/lib/active_record/query_cache.rb:12:in `cache'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/activerecord/lib/active_record/query_cache.rb:31:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/activerecord/lib/active_record/identity_map.rb:104:in `block in call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/activerecord/lib/active_record/identity_map.rb:37:in `use'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/activerecord/lib/active_record/identity_map.rb:103:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/actionpack/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/activesupport/lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/actionpack/lib/action_dispatch/middleware/callbacks.rb:28:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/actionpack/lib/action_dispatch/middleware/reloader.rb:68:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-4d93f90b58b0/lib/rack/sendfile.rb:102:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/actionpack/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/railties/lib/rails/rack/logger.rb:13:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-4d93f90b58b0/lib/rack/runtime.rb:17:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-4d93f90b58b0/lib/rack/lock.rb:34:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/actionpack/lib/action_dispatch/middleware/static.rb:56:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/railties/lib/rails/engine.rb:399:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rails-c96bf840ad71/railties/lib/rails/rack/log_tailer.rb:14:in `call'
/home/user/.rvm/gems/ruby-1.9.2-p180/bundler/gems/rack-4d93f90b58b0/lib/rack/handler/webrick.rb:52:in `service'
/home/user/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/home/user/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/home/user/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'

If you will make branch for this feature, i will be happy to test :)

@chriseppstein
Copy link

Importing will be handled in sprockets or rails.

see: sstephenson/sprockets#14 and https://github.com/sstephenson/sprockets/issues/6

@slbug
Copy link
Author

slbug commented Apr 25, 2011

Will be or handled now? I'm still seeing same stacktrace after update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants