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
wrong number of arguments (2 for 1) in site.sass #155
Comments
Without more details I can't accept this as a bug report. What commands are you running to get that error, is it during Rails runtime or a rake task? If you can provide those and any other details we can look at the problem. Send a gist, I'd be glad to help. |
just had the same problem after ugrading Starve from rails 4.1 rc1 to rc2. the problem was that i had not updated sass-rails, compass-rails (and coffee-rails). after that, things went well again. |
Can someone please post a full stack trace |
rails 4.1.0.rc2
|
I had to play around to get it to work and now I can't get it to go wrong but in order for another gem to work I had to set the Here's the stacktrace from when I was deploying it before though:
|
alright. although the exception was the same, the issue for me really was an outdated - sass-rails (4.0.1)
+ sass-rails (4.0.3)
railties (>= 4.0.0, < 5.0)
- sass (>= 3.1.10)
- sprockets-rails (~> 2.0.0)
+ sass (~> 3.2.0)
+ sprockets (~> 2.8, <= 2.11.0)
+ sprockets-rails (~> 2.0) |
Same error here. What's worse is that I can't install |
Okay, by manually forcing |
Yep that's what worked for me with an issue I had with another gem --- Original Message --- From: "Philippe Vaucher" notifications@github.com Okay, by manually forcing Reply to this email directly or view it on GitHub: |
Same error here. The issue is in the patches in compass-rails. |
Has anyone come up with a patch? I'll take a pull request, otherwise I'll probably have time mid-week to get this investigated. |
The workaround for me was the same as @glaszig's. Bumped up |
The real problem is |
For some reason just specifying |
I upgraded all my gems and I suffer from this again. I think it's related to sstephenson/sprockets#540 The thing that now seems to fix it is |
Yep, yet again I've got this error too... 👎 |
I was having the same problem but was able to correct by specifying |
|
I had to use |
Downgrading sprockets isn't solving this issue for me. For now, I've switched to using Bourbon for the mixins, but so many Susy tutorials and add-ons (eg: at-breakpoint) require Compass that I keep coming back to this and spending a couple hours trying to get it to work. The relevant Gemfile declarations:
|
It's back... on my upgrade to rails 4.1.8... wrong number of arguments (2 for 1) in application.scss I'm using I have not specified any specific versions in my Gemfile. After I remove compass from my Gemfile, the error goes away. Too bad this issue has lingered so long. |
I have the same issue and setup as vanboom (without specifying sprocket). Commenting out compass works. |
Seems like |
Locking
|
Looks like this bug is back with Rails 4.2.0 & sass-rails 5.0. Fixing sass-rails to 4.0.3 works, thanks @almozavr |
+1 found similar bug COMMAND LINE:
FILE: embeddable.sass
|
See issue #195 |
I fixed this problem with:
But now I can't update foundation-rails cause it depends on newer sass-rails versions. |
i think one issue is the subtlety that compass-rails -v 2.0.0 has a dependency on compass -v 0.12.2 and 2.0.1 which according to semver, as I understand it, shouldn't break that dependency. But it does as compass-rails -v 2.0.1 has a dependency on compass -v 1.0.0 I would recommend compass-rails 2.0.1 be yanked and re-versioned as compass-rails 2.1.0 FWIW my app works with these gems gem 'sass-rails', ' |
I've just installed this: gem "compass-rails", github: "Compass/compass-rails", branch: "master" and it works. found it here: #195 |
+1 @Pjero |
+1, using compass-rails on master fix the issue with Rails 4.1.8 and sass-rails 5.0.1, thanks @Pjero |
Use version 2.0.2 it has what you need. |
I've got the same problem after
You can specify gem versions in your
See: Ruby's Pessimistic Operator Hope it helps. |
Thank you guys so much. I had a similar problem and @Pjero worked for me. THANK YOU! |
+1 @Pjero |
@kakipo thank you!
|
@kakipo thank you! gem 'sass-rails', ' |
Down to 7 errors. For some context, see: Compass/compass-rails#155
When the
compass-rails
gem is installed in my Rails 4.0.4 application I getwrong number of arguments (2 for 1)
on all of my sass files. When removing the gem, the site works properly.The text was updated successfully, but these errors were encountered: