willinteractive / will-style

WILL styles for webapps.
0 stars 0 forks source link

Compiling broken - "wrong number of arguments (2 for 1)" #13

Closed chadmoone closed 10 years ago

chadmoone commented 10 years ago

Something appears to be broken in the stylesheets, but I haven't been able to locate it yet. If you try to use the default generated stylesheet in a rails app (including the guide), it will throw an error where you try to include it:

ActionView::Template::Error:
       wrong number of arguments (2 for 1)
         (in /Users/chadmoone/development/access/app/assets/stylesheets/custom-will-style.scss)
     # ./app/views/layouts/application.html.erb:28:in `_app_views_layouts_application_html_erb__338937086012670874_70234072462940'
chadmoone commented 10 years ago

It looks like this was caused by updating to sprockets 2.12.0, which was released a few hours ago.

The release notes only list one thing, but it's related to SASS: Avoid context reference in SassImporter hack so its Marshallable. Fixes issues with Sass 3.3.x.

I don't know exactly what that means, but for right now, I'm going to change the sprockets gem requirement to ~> 2.11.0

chadmoone commented 10 years ago

That should fix the compiling issue for now. I made a more specific issue for the underlying problem at #14.