Adding Bootstrap CSS

I am working on The Ruby on Rails Tutorial on Linux Xubuntu, and
everything
is working until I add:

app/assets/stylesheets/custom.css.scss

@import “bootstrap-sprockets”;@import “bootstrap”;

Then I get an error message: File to import not found or unreadable:
bootstrap-sprockets.

If I remove the custom.css.scss file the error message goes away.

Glenn S. [email protected] writes:

I am working on The Ruby on Rails Tutorial on Linux Xubuntu, and everything
is working until I add:

app/assets/stylesheets/custom.css.scss

@import “bootstrap-sprockets”;@import “bootstrap”;

Then I get an error message: File to import not found or unreadable:
bootstrap-sprockets.

If I remove the custom.css.scss file the error message goes away.

I think Hartl might just be wrong. The README for bootstrap-sass
indicates these should be in
app/assets/stylesheets/application.css.scss, and you have to make some
other modifications to it as well.

See https://github.com/twbs/bootstrap-sass#a-ruby-on-rails where the
Gem describes how to install and configure it in the Rails application.


Tamara T.
[email protected]
http://www.tamouse.org

Thanks for your help Tamara, I went to the link and then I installed the
bootstrap-sass gem. I was able to get it to work using the same file
location

gem ‘bootstrap-sass’, ‘~> 3.3.6’

Thanks again,

Glenn S.