maxim / bootswatch-rails

Bootswatches converted to SCSS ready to use in Rails asset pipeline.
MIT License
489 stars 84 forks source link

Can't import theme #5

Closed orrinxu closed 12 years ago

orrinxu commented 12 years ago

i typed

@import "cyborg";

and rails is failing to find it. Anyone can help me?

alexschomb commented 12 years ago

At least your syntax is wrong. It should read:

// Importing Bootswatch style variables
@import "bootswatch/cyborg/variables"

// My own Bootstrap Variables

// Importing Bootstrap
@import "bootstrap"

// Navbar fix for responsive Bootstrap
body
  padding-top: 60px

// Importing responsive Bootstrap
@import "bootstrap-responsive"

// Importing Bootswatch style
@import "bootswatch/cyborg/bootswatch"

// Importing additional styles
@import "base"

But I also had problems importing any theme. What fixed it for me was installing Bootswatch (and any other gems) to ./vendor: bundle install --path vendor

orrinxu commented 12 years ago

yep that was the problem. Thanks a lot :D

hoffmanc commented 11 years ago

Should forcing a --path vendor arg really be the recommended solution?