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_admin throwing exception at /admin #2118

Closed
rishijain opened this issue Nov 24, 2014 · 4 comments
Closed

rails_admin throwing exception at /admin #2118

rishijain opened this issue Nov 24, 2014 · 4 comments

Comments

@rishijain
Copy link

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'

@brandonmikeska
Copy link

I am getting the same error. Any fixes?

@ilyadoroshin
Copy link

same for me :(

@ilyadoroshin
Copy link

hello?

@mshibuya
Copy link
Member

mshibuya commented May 5, 2018

Please reopen if this is still a problem.

@mshibuya mshibuya closed this as completed May 5, 2018
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

4 participants