wrong number of arguments (1 for 0) for `e' #45

Open
yestoall opened this Issue Mar 23, 2012 · 11 comments

Projects

None yet

10 participants

@yestoall

i'm using this gem for the first time and i have this error.

wrong number of arguments (1 for 0) for `e'
(in /Users/yestoall/Sites/kosas/app/assets/stylesheets/application.css.scss)

@axooh

Me too:

Syntax error: wrong number of arguments (1 for 0) for `e'
        on line 540 of /Library/Ruby/Gems/1.8/gems/compass_twitter_bootstrap-2.0.1.2/stylesheets/compass_twitter_bootstrap/_mixins.scss, in `buttonBackground'
        from line 19 of /Library/Ruby/Gems/1.8/gems/compass_twitter_bootstrap-2.0.1.2/stylesheets/compass_twitter_bootstrap/_buttons.scss
        from line 41 of /Library/Ruby/Gems/1.8/gems/compass_twitter_bootstrap-2.0.1.2/stylesheets/_compass_twitter_bootstrap.scss
        from line 2 of /Users/name/Sites/project/scss/style.scss
@guiceolin

same here..
Any idea?

@chrisnicola

Try using the master branch for now. This has been fixed but not released. It's a problem that cropped up when Compass was updated to 0.12 I believe.

@kevinzen

I resolved this by tying Compas back to "0.11.7".

@axooh

@lucisferre I'm using the Ruby Gem and just found out, that the e()-fixes in buttons.scss and mixins.scss obviously aren't released as Gem yet. Thanks for your information.

@kevinzen

Thanks.

I put

gem "compass_twitter_bootstrap", git: "https://github.com/vwall/compass-twitter-bootstrap.git"

in my Gemfile and that allowed worked with the lastest compass and compass-rails.

@fancyPerk

I used kevinzen's tip like so:

gem "compass_twitter_bootstrap", :git => "https://github.com/vwall/compass-twitter-bootstrap.git"

Got it running after a fresh bundle install.

@Dumbris

See here hecbuma/compass-bootstrap#10

"you need to change e('...') to unquote('...')."
This works for me.

@ranska

gem "compass_twitter_bootstrap", :git => "https://github.com/vwall/compass-twitter-bootstrap.git"

work perfectly for me.

@paulkogel

please release a new version containing this fix asap - thank you!

@felipecsl

+1
this worked better for me:

gem 'compass_twitter_bootstrap', git: "git://github.com/vwall/compass-twitter-bootstrap.git"

For some reason, bundle install failed for me with https there.. git worked better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment