fontawesome icons with twitter-bootstrap-rails doesn't show on staging environment -


Railway (3.1.2) Twitter-Bootstrap-Rail (2.2.8) application with gem. In the app views, Font uses a terrific icon in Application.css.scss

@import "bootstrap_and_overrides";

bootstrap_and_overrides.css.less

  @import "twitter / bootstrap / bootstrap"; @ Import "twitter / bootstrap / responsive"; // Set the perfect phantom path @ScienceStrite Path: Image-URL ("Twitter / Bootstrap / Glyphikon-Deadling Page"); @ConviteSriet Path: Image-URL ("Twitter / Bootstrap / Glyphicon-Deadlly-White-Pen"); // set Font Awesome (Font Awesome is default.You can deactivate by commenting below the lines) @ fontwebsitepath: property-url ("fontweather-webfont.ot"); @ Fontwavesetpath_ifix: property-url ("fontawesome-webfont.eot? #iefix"); @FontViewWebFace: Asset-URL ("fontawesome-webfont.woff"); @ Font ahompatiti path: asset-url ("fontoose-webfonts.ttf"); @ Font assists swing path: asset-url ("fontawesome-webfont.svg # fontawesomeregular"); // Font Awesome @ Import "fontawesome / font-awesome";   

Everything is fine on the local development environment. After deployment with Captivator for the staging environment, the icons are not visible in the browser.

Instead of a 404 error in the server console and browsing the browser network, Nissanari Fatafois appears for font files. / p>

  received "/assets/fontawesome-webfont.woff" Services / FontAwesome- webfont.woff - 404 Not Found (2ms) ActionController :: Routing Error (No Route Match [GET ] "/ Property /fontawesome-webfont.woff"): Cash: [GET /assets/fontawesome-webfont.ttf] Misses "/assets/fontawesome-webfont.ttf" Service Provided / FontAwesome- webfont.ttf - 404 Not Found (2ms) Action Controller :: routing error (no path matching [GET] "/assets/fontawesome-webfont.ttf"): Cache: [GET /assets/fontawesome-webfont.svg] miss "/ Assets / fontawesome-webfont.svg "Get service property / fonts Vejhm- Vebfont. - 404 Not Found (4 ms) Action Controller :: routing error (no route matching [GET] "/assets/fontawesome-webfont.svg"):   

404 errors, look NG in the appropriate folder on the staging server

  [Root @ j87849 assets] #LS-L total 840-R-RW-R-1 deployed 288667 21. April 20:01 applications .css -rw -rw-r-- 1 deployed 32651 21. Apr. 20:01 application.css.gz -rw-rw-r-- 1 deployed Posted 295 21. Apr 20:01 application.js -rw-rw -r -1 1 Deployed 197 21. April 20:01 application.js.gz -rwxr-xr-x 1 Deployed 37405 5. April 20:18 fontoose-webfont.eot -rwxr-xr-x 1 deployed deployment 197829 5. April 20:18 font-on-webfonts SGG-RWXR-XR-X1 deployed 79076 Deployment 5. April 20:18 FontOoc-WebFont.TTF-RWXR-XR-X1 Deployed 43572 Deployed 5. April 5, 20:18 fontoffof- webfont.woff   

Update for Rail 3.2 Problem Solving

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -