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

yestoall opened this Issue Mar 23, 2012 · 11 comments


None yet

10 participants


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)


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-, in `buttonBackground'
        from line 19 of /Library/Ruby/Gems/1.8/gems/compass_twitter_bootstrap-
        from line 41 of /Library/Ruby/Gems/1.8/gems/compass_twitter_bootstrap-
        from line 2 of /Users/name/Sites/project/scss/style.scss

same here..
Any idea?


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.


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


@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.



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.


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.


See here hecbuma/compass-bootstrap#10

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


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

work perfectly for me.


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


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