anjlab / bootstrap-rails

Twitter Bootstrap CSS (with Sass flavour) and JS toolkits for Rails 3 projects
https://github.com/anjlab/bootstrap-rails
729 stars 96 forks source link

File to import not found or unreadable: bootstrap. #19

Closed antonversal closed 12 years ago

antonversal commented 12 years ago

I follow readme: Add necessary stylesheet file to app/assets/stylesheets/application.css

*= require bootstrap
*= require responsive

It's ok But when i try:

You can override bootstrap variables:

  1. replace *= require bootstrap with *= require app_bootstrap
  2. create app_bootstrap.css.scss :
// change colors
$linkColor: red;

// change grid
$gridColumnWidth: 70px;
$gridGutterWidth: 10px;

// import original bootstrap
@import "bootstrap";
@import "responsive";

I get this error:

File to import not found or unreadable: bootstrap.
Load path: /Users/antonversal/rorprojects/onboard
  (in /Users/antonversal/rorprojects/onboard/app/assets/stylesheets/app_bootstrap.css.scss)

Rails 3.2.1

yury commented 12 years ago

Can you gist your Gemfile.lock?

jb-san commented 12 years ago

having the exact same issue, heres mine https://gist.github.com/1940074

yury commented 12 years ago

@jb-san and Gemfile please.

jb-san commented 12 years ago

my gemfile https://gist.github.com/1940218

jb-san commented 12 years ago

I just tried it in a rails s server instead of pow, and it works

yury commented 12 years ago

still can't reproduce %(

Also need application.css and app_bootstrap.css.scss. Many thanks for help.

jb-san commented 12 years ago

yeah I just restarted my pow, and now it works just fine, something about pow :)

yury commented 12 years ago

@jb-san thanks a lot.