manuelvanrijn / bootstrap-switch-rails

A small gem for putting bootstrap-switch into the Rails asset pipeline
MIT License
58 stars 18 forks source link

Compilation error #7

Closed marclennox closed 10 years ago

marclennox commented 10 years ago

I'm getting the following error from the sass compiler in my Rails 4.1 beta-1 project. Anybody have any suggestions?

Invalid CSS after "...0 8px rgba(red(": expected ")", was "@btnPrimaryBack..."
timlawrenz commented 10 years ago

so do I on Rails 4.0.2

manuelvanrijn commented 10 years ago

Seems only to be the problem with the bootstrap2 flavor.

Error seems to be a problem within the bootstrap-switch plugin. Compiling their less to css seems not to evaluate the functions and variables.

I've reported an issue (https://github.com/nostalgiaz/bootstrap-switch/issues/226)

marclennox commented 10 years ago

Looks like they may have fixed it, will you be committing their changes to this project?

manuelvanrijn commented 10 years ago

seems to be fixed in the unreleased version 3.0. For now I'll make a quickfix for this