kristianmandrup / bootstrap-addons-rails

Twitter Bootstrap addons: Color- and Datepicker, Image gallery, ready for use with Rails asset pipeline
MIT License
17 stars 6 forks source link

Sprockets fails to compile colorpicker.less even though it is not required #8

Closed j0ni closed 11 years ago

j0ni commented 11 years ago

When precompiling assets, I see the following:

.border-radius is undefined
  (in /Users/joni/Valassis/Code/github/deployment/myapp/vendor/ruby/1.9.1/gems/bootstrap-addons-rails-0.1.2/vendor/assets/colorpicker/less/colorpicker.less)
at /Users/joni/Valassis/Code/github/deployment/myapp/vendor/ruby/1.9.1/gems/less-2.2.1/lib/less/js/lib/less/parser.js:385:31

despite not having included any require statements or @imports for colorpicker. In fact, all I do is //= require image-gallery and its dependency in the javascripts manifest, and only @import "bootstrap/image-gallery.css"; in my _bootstrap_and_overrides.scss file.

Any ideas? Also let me know if there is more info I can provide.

kristianmandrup commented 11 years ago

See the new "gotchas" section in the README. Hope that helps ;)

j0ni commented 11 years ago

Thank you.