Я использую Syntastic VIM плагин вИсправление ошибки начальной загрузки SyntasticCheck. Вим Syntastic плагин
Все мой самозагрузки материал настроен и работает это только я получаю эту ошибку в приложение/активов/стилей/application.css.scss
|| File to import not found or unreadable: bootstrap-sprockets. Load path: ... on line 17
Строка 17 - это «загрузочные звездочки» @import;
Мои Gemfile имеет
gem 'rails', '4.2.0'
gem 'sass-rails', '~> 5.0'
gem 'bootstrap-sass', '~> 3.3.3'
мое приложение/активы/таблицы стилей/application.css.scss только имеет
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any styles
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
* file per style scope.
*
*= require_tree .
*= require_self
*/
@import "bootstrap-sprockets";
@import "bootstrap";
Почему Syntastic до сих пор дает мне эту ошибку?
Похоже, вы не перезапускаете приложение Rails. –
@maxd Я перезапустил его. Эта ошибка отображается в VIM. – CodeCrack
Это, вероятно, не имеет отношения к Vim. Попробуйте проверку синтаксиса непосредственно в ваших файлах, чтобы узнать, согласуются ли результаты с тем, что вы получаете в Vim. – romainl