-2
我增加了一些图像和js,之后试图编译资产,当我已经跑了命令RAILS_ENV=demo bundle exec rake assets:precompile
我的开发服务器上,但它什么都不做RAILS_ENV =演示包的exec耙资产:预编译不工作
[email protected]:/var/www/sites/ecopractices/current$ RAILS_ENV=demo bundle exec rake assets:precompile
[email protected]:/var/www/sites/ecopractices/current$
有人可以提出任何解决方案吗?
那你的'公共/资产/目录?这是什么内容?资产:预编译不会默认提供任何输出。 –
在公共/资产中所有图像和js都在那里.. !! – user3906755
我已将图像添加到应用程序/资产/ – user3906755