I want to use bootstrap in my project. My operating system is Windows, Ruby version 1.9.3, Rails version 4.0.4.
I try to bind one stone every time because there is a dependency in some stone when I complete the package installation.
bootstrap-sass (2.3.2.0)
sass (3.3.5, 3.2.19)
sass-rails (4.0.2)
sprockets (2.12.0, 2.11.0)
Now add //= require bootstrapin application.jsand add @import "bootstrap"in application.css.scss. But when I start the server, I got Load Error in *Controller#home:
cannot load such file
Extracted source (around line # 5):
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>
Rails.root: D:/rails_projects/first_app
Any tips?
source
share