We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think it is of incompatibility between rails_admin and sass-rails. Here is the stack I am working on:
Rails (3.2.20) Ruby (2.0.0p451) rails_admin (0.4.9) and thus sass-rails (3.2.6)
Here is the trace:
ActionView::Template::Error (wrong number of arguments (1 for 0) (in /Users/rishijain/.rvm/gems/ruby-2.0.0-p451/gems/rails_admin-0.4.9/app/assets/stylesheets/rails_admin/rails_admin.scss.erb)): 4: %meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"} 5: %meta{:content => "NONE,NOARCHIVE", :name => "robots"} 6: = csrf_meta_tag 7: = stylesheet_link_tag "rails_admin/rails_admin.css", :media => :all 8: = javascript_include_tag "rails_admin/rails_admin.js" 9: %body.rails_admin 10: #loading.label.label-warning{:style => 'display:none; position:fixed; right:20px; bottom:20px; z-index:100000'}= t('admin.loading') sass (3.4.7) lib/sass/script/value/color.rb:597:in to_s' sass (3.4.7) lib/sass/script/value/color.rb:597:inblock in hex_str' sass (3.4.7) lib/sass/script/value/color.rb:597:in map' sass (3.4.7) lib/sass/script/value/color.rb:597:inhex_str' sass (3.4.7) lib/sass/script/value/color.rb:565:in to_s' sass (3.4.7) lib/sass/tree/visitors/perform.rb:385:invisit_prop' sass (3.4.7) lib/sass/tree/visitors/base.rb:36:in visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:inblock in visit' sass (3.4.7) lib/sass/stack.rb:79:in block in with_base' sass (3.4.7) lib/sass/stack.rb:115:inwith_frame' sass (3.4.7) lib/sass/stack.rb:79:in with_base' sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:invisit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:420:in block (2 levels) in visit_rule' sass (3.4.7) lib/sass/tree/visitors/perform.rb:420:inmap' sass (3.4.7) lib/sass/tree/visitors/perform.rb:420:in block in visit_rule' sass (3.4.7) lib/sass/tree/visitors/perform.rb:179:inwith_environment' sass (3.4.7) lib/sass/tree/visitors/perform.rb:418:in visit_rule' sass (3.4.7) lib/sass/tree/visitors/base.rb:36:invisit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:in block in visit' sass (3.4.7) lib/sass/stack.rb:79:inblock in with_base' sass (3.4.7) lib/sass/stack.rb:115:in with_frame' sass (3.4.7) lib/sass/stack.rb:79:inwith_base' sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:in visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:315:inblock (2 levels) in visit_import' sass (3.4.7) lib/sass/tree/visitors/perform.rb:315:in map' sass (3.4.7) lib/sass/tree/visitors/perform.rb:315:inblock in visit_import' sass (3.4.7) lib/sass/stack.rb:88:in block in with_import' sass (3.4.7) lib/sass/stack.rb:115:inwith_frame' sass (3.4.7) lib/sass/stack.rb:88:in with_import' sass (3.4.7) lib/sass/tree/visitors/perform.rb:312:invisit_import' sass (3.4.7) lib/sass/tree/visitors/base.rb:36:in visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:inblock in visit' sass (3.4.7) lib/sass/stack.rb:79:in block in with_base' sass (3.4.7) lib/sass/stack.rb:115:inwith_frame' sass (3.4.7) lib/sass/stack.rb:79:in with_base' sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:invisit' sass (3.4.7) lib/sass/tree/visitors/base.rb:52:in block in visit_children' sass (3.4.7) lib/sass/tree/visitors/base.rb:52:inmap' sass (3.4.7) lib/sass/tree/visitors/base.rb:52:in visit_children' sass (3.4.7) lib/sass/tree/visitors/perform.rb:167:inblock in visit_children' sass (3.4.7) lib/sass/tree/visitors/perform.rb:179:in with_environment' sass (3.4.7) lib/sass/tree/visitors/perform.rb:166:invisit_children' sass (3.4.7) lib/sass/tree/visitors/base.rb:36:in block in visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:186:invisit_root' sass (3.4.7) lib/sass/tree/visitors/base.rb:36:in visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:157:invisit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:8:in visit' sass (3.4.7) lib/sass/tree/root_node.rb:36:incss_tree' sass (3.4.7) lib/sass/tree/root_node.rb:20:in render' sass (3.4.7) lib/sass/engine.rb:268:inrender' sass-rails (3.2.6) lib/sass/rails/template_handlers.rb:106:in `evaluate'
to_s' sass (3.4.7) lib/sass/script/value/color.rb:597:in
map' sass (3.4.7) lib/sass/script/value/color.rb:597:in
to_s' sass (3.4.7) lib/sass/tree/visitors/perform.rb:385:in
visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:in
block in with_base' sass (3.4.7) lib/sass/stack.rb:115:in
with_base' sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:in
block (2 levels) in visit_rule' sass (3.4.7) lib/sass/tree/visitors/perform.rb:420:in
block in visit_rule' sass (3.4.7) lib/sass/tree/visitors/perform.rb:179:in
visit_rule' sass (3.4.7) lib/sass/tree/visitors/base.rb:36:in
block in visit' sass (3.4.7) lib/sass/stack.rb:79:in
with_frame' sass (3.4.7) lib/sass/stack.rb:79:in
visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:315:in
map' sass (3.4.7) lib/sass/tree/visitors/perform.rb:315:in
block in with_import' sass (3.4.7) lib/sass/stack.rb:115:in
with_import' sass (3.4.7) lib/sass/tree/visitors/perform.rb:312:in
block in visit_children' sass (3.4.7) lib/sass/tree/visitors/base.rb:52:in
visit_children' sass (3.4.7) lib/sass/tree/visitors/perform.rb:167:in
with_environment' sass (3.4.7) lib/sass/tree/visitors/perform.rb:166:in
block in visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:186:in
visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:157:in
visit' sass (3.4.7) lib/sass/tree/root_node.rb:36:in
render' sass (3.4.7) lib/sass/engine.rb:268:in
The text was updated successfully, but these errors were encountered:
I am getting the same error. Any fixes?
Sorry, something went wrong.
same for me :(
hello?
Please reopen if this is still a problem.
No branches or pull requests
I think it is of incompatibility between rails_admin and sass-rails.
Here is the stack I am working on:
Rails (3.2.20)
Ruby (2.0.0p451)
rails_admin (0.4.9)
and thus sass-rails (3.2.6)
Here is the trace:
ActionView::Template::Error (wrong number of arguments (1 for 0)
(in /Users/rishijain/.rvm/gems/ruby-2.0.0-p451/gems/rails_admin-0.4.9/app/assets/stylesheets/rails_admin/rails_admin.scss.erb)):
4: %meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}
5: %meta{:content => "NONE,NOARCHIVE", :name => "robots"}
6: = csrf_meta_tag
7: = stylesheet_link_tag "rails_admin/rails_admin.css", :media => :all
8: = javascript_include_tag "rails_admin/rails_admin.js"
9: %body.rails_admin
10: #loading.label.label-warning{:style => 'display:none; position:fixed; right:20px; bottom:20px; z-index:100000'}= t('admin.loading')
sass (3.4.7) lib/sass/script/value/color.rb:597:in
to_s' sass (3.4.7) lib/sass/script/value/color.rb:597:in
block in hex_str'sass (3.4.7) lib/sass/script/value/color.rb:597:in
map' sass (3.4.7) lib/sass/script/value/color.rb:597:in
hex_str'sass (3.4.7) lib/sass/script/value/color.rb:565:in
to_s' sass (3.4.7) lib/sass/tree/visitors/perform.rb:385:in
visit_prop'sass (3.4.7) lib/sass/tree/visitors/base.rb:36:in
visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:in
block in visit'sass (3.4.7) lib/sass/stack.rb:79:in
block in with_base' sass (3.4.7) lib/sass/stack.rb:115:in
with_frame'sass (3.4.7) lib/sass/stack.rb:79:in
with_base' sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:in
visit'sass (3.4.7) lib/sass/tree/visitors/perform.rb:420:in
block (2 levels) in visit_rule' sass (3.4.7) lib/sass/tree/visitors/perform.rb:420:in
map'sass (3.4.7) lib/sass/tree/visitors/perform.rb:420:in
block in visit_rule' sass (3.4.7) lib/sass/tree/visitors/perform.rb:179:in
with_environment'sass (3.4.7) lib/sass/tree/visitors/perform.rb:418:in
visit_rule' sass (3.4.7) lib/sass/tree/visitors/base.rb:36:in
visit'sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:in
block in visit' sass (3.4.7) lib/sass/stack.rb:79:in
block in with_base'sass (3.4.7) lib/sass/stack.rb:115:in
with_frame' sass (3.4.7) lib/sass/stack.rb:79:in
with_base'sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:in
visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:315:in
block (2 levels) in visit_import'sass (3.4.7) lib/sass/tree/visitors/perform.rb:315:in
map' sass (3.4.7) lib/sass/tree/visitors/perform.rb:315:in
block in visit_import'sass (3.4.7) lib/sass/stack.rb:88:in
block in with_import' sass (3.4.7) lib/sass/stack.rb:115:in
with_frame'sass (3.4.7) lib/sass/stack.rb:88:in
with_import' sass (3.4.7) lib/sass/tree/visitors/perform.rb:312:in
visit_import'sass (3.4.7) lib/sass/tree/visitors/base.rb:36:in
visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:in
block in visit'sass (3.4.7) lib/sass/stack.rb:79:in
block in with_base' sass (3.4.7) lib/sass/stack.rb:115:in
with_frame'sass (3.4.7) lib/sass/stack.rb:79:in
with_base' sass (3.4.7) lib/sass/tree/visitors/perform.rb:158:in
visit'sass (3.4.7) lib/sass/tree/visitors/base.rb:52:in
block in visit_children' sass (3.4.7) lib/sass/tree/visitors/base.rb:52:in
map'sass (3.4.7) lib/sass/tree/visitors/base.rb:52:in
visit_children' sass (3.4.7) lib/sass/tree/visitors/perform.rb:167:in
block in visit_children'sass (3.4.7) lib/sass/tree/visitors/perform.rb:179:in
with_environment' sass (3.4.7) lib/sass/tree/visitors/perform.rb:166:in
visit_children'sass (3.4.7) lib/sass/tree/visitors/base.rb:36:in
block in visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:186:in
visit_root'sass (3.4.7) lib/sass/tree/visitors/base.rb:36:in
visit' sass (3.4.7) lib/sass/tree/visitors/perform.rb:157:in
visit'sass (3.4.7) lib/sass/tree/visitors/perform.rb:8:in
visit' sass (3.4.7) lib/sass/tree/root_node.rb:36:in
css_tree'sass (3.4.7) lib/sass/tree/root_node.rb:20:in
render' sass (3.4.7) lib/sass/engine.rb:268:in
render'sass-rails (3.2.6) lib/sass/rails/template_handlers.rb:106:in `evaluate'
The text was updated successfully, but these errors were encountered: