Comments (3)
mars, 這邊有測過assets sync嗎
我之前有先拿掉過, 但是我記憶中這樣直接拿掉會有assets sync的問題
我印象中好像是 precompile 跟 sync 是不同台的關係 (produciton部屬), 不知道你有沒有遇到?
from rails4-template.
@phrase5036
有喔
所以 config 的 asset_sync.rb
要 config.run_on_precompile = false
然後再寫一支 asset_sync.rake
掛到 capistrano 的 callback 裡面去
一來可以自己決定跑 asset sync 的時間點,二來也可以只指定一台跑即可
from rails4-template.
@marsz 就是把default關掉再把 precompile 掛掉rake去指定的感覺 XDD
感恩
from rails4-template.
Related Issues (20)
- 在 test / development 安裝 bullet 強迫檢查 n+1 query
- omniauth 抓不到 Email 時的處理
- Twilio SMS service
- parse.com service
- FALSE_VALUES global var
- Query Service for postgresql
- redactor-rails HOT 2
- soft delete implement HOT 2
- acts as taggable on
- model revisions
- put newest git SHA to HTML meta in staging env HOT 1
- 動態 meta 的 lib HOT 7
- ajax or pjax 的 onload 效果的 gem
- 排序的上下調整 HOT 7
- 預設的 幾個常用型CRUD for admin/xxx HOT 3
- IP白名單 HOT 4
- 雙重欄位設計的支援 (預覽+發佈),前端專用預覽的sha HOT 1
- admin panel permisson management HOT 5
- add timecop exmaple to RSpec
- `rename` gem 不支援 rails 4 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rails4-template.