阅读背景:

强制rails创建资产缓存文件

来源:互联网 

I am hosting my assets on s3. In production, rails is looking for /javascripts/cache/all.js and /stylesheets/cache/all.css. I'm using a plugin to swoop the public directory over to s3 when I deploy with cap. The problem is that rails doesn't create these cache files until they are requested for the first time, so they aren't around during deployment when I transfer the public dir. Is there an easy way to force the creation of these files during deployment?I am hosting my assets on s3. In production, ra




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: