I'm following Michael Hartl's rails tutorial (Chapter 5, section 5.1.2). The app was working fine until I followed this step, which was to create a new file:
app/assets/stylesheets/custom.css.scss
then add in:
@import "bootstrap";
I then restarted my rails server (hosted locally) and received this error message when navigating to the previously working:
http://localhost:3000/static_pages/home
Here is the error message that was returned:
Errno::ENOENT in StaticPages#home
Showing /Users/chows/rails_projects/sample_app/app/views/layouts/application.html.erb where line #5 raised:
No such file or directory - /Users/chows/rails_projects/vendor
(in /Users/chows/rails_projects/sample_app/app/assets/stylesheets/static_pages.css.scss)
2: <html>
3: <head>
4: <title><%= full_title(yield(:title)) %></title>
5: <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
6: <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
7: <%= csrf_meta_tags %>
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__2762850417459261999_70126593557460'
I'm very new to this and I'm not sure what went wrong. Would appreciate any help. Thanks!