简体   繁体   中英

Bundle exec rake test running fine but rails test fails

rails test:integration , rails test:controllers are running fine individually but running rails test , it fails throwing an error:

ActionView::Template::Error: ActionView::Template::Error: File to import not found or unreadable: bootstrap-sprockets.

bundle exec rake test also passes all the tests

在运行rails assets:precompile之后它就可以工作了rails assets:precompile真的不确定如何。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM