vwall / compass-twitter-bootstrap

The twitter bootstrap ported to compass
724 stars 121 forks source link

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

Open yestoall opened 12 years ago

yestoall commented 12 years ago

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 commented 12 years ago

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 commented 12 years ago

same here.. Any idea?

chrisnicola commented 12 years ago

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 commented 12 years ago

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

axooh commented 12 years ago

@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 commented 12 years ago

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 commented 12 years ago

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 commented 12 years ago

See here https://github.com/hecbuma/compass-bootstrap/issues/10
"you need to change e('...') to unquote('...')." This works for me.

ranska commented 12 years ago

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

work perfectly for me.

paulkoegel commented 12 years ago

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

felipecsl commented 12 years ago

+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