Javascript 画布-如何加载资源文件?

Javascript 画布-如何加载资源文件?,javascript,css,ruby-on-rails,canvas,Javascript,Css,Ruby On Rails,Canvas,我正在尝试在本地环境中运行canvas()项目。运行时,不会加载资源。它抛出了一个错误,比如 GET http://localhost:3000/dist/brandable_css/new_styles_normal_contrast/bundles…0checksum.%20you%20need%20to%20run%20./node_modules/.bin/brandable_css.css GET http://localhost:3000/dist/brandable_css/ne

我正在尝试在本地环境中运行canvas()项目。运行时,不会加载资源。它抛出了一个错误,比如

GET http://localhost:3000/dist/brandable_css/new_styles_normal_contrast/bundles…0checksum.%20you%20need%20to%20run%20./node_modules/.bin/brandable_css.css 
GET http://localhost:3000/dist/brandable_css/new_styles_normal_contrast/bundles…0checksum.%20you%20need%20to%20run%20./node_modules/.bin/brandable_css.css
GET http://localhost:3000/lato-fontfaceobserver.js
GET http://localhost:3000/dist/brandable_css/default/variables-0ca278a9a40f228643ee03728fe584e8.js 404 (Not Found)
此外,我没有在项目中找到
dist/
文件夹


请帮助我解决这个资产问题。

您运行了吗~/canvas$$GEM\u HOME/bin/bundle exec rake canvas:compile\u assets是的。但是我也从config文件夹中得到了一些error.config.assets.compile=false