Ruby on Rails Saturday, January 16, 2016

Glenn Sutherland <glennsutherland2740@gmail.com> 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 Temple
tamouse@gmail.com
http://www.tamouse.org

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/m2h9id6k69.fsf%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment