# Can not get css file when unicorn running in production mode

**URL:** <https://www.ruby-forum.com/t/can-not-get-css-file-when-unicorn-running-in-production-mode/195468>\
**Category:** Rails\
**Created:** [September 23, 2010, 3:15pm UTC](https://www.ruby-forum.com/t/can-not-get-css-file-when-unicorn-running-in-production-mode/195468 "2010-09-23T15:15:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lewis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/e9bcb4/32.png) [@Lewis](https://www.ruby-forum.com/u/Lewis)\
**Post date:** [September 23, 2010, 3:15pm UTC](https://www.ruby-forum.com/t/can-not-get-css-file-when-unicorn-running-in-production-mode/195468/1 "2010-09-23T15:15:20Z")

</div>

Dear all

I’m newbie to unicorn server.  
recently I got a problem when I was trying to run unicorn in production  
model.  
like command `unicorn -E production`. then I lost all my css styles in  
the browser.  
But everything works fine when I just type `unicorn`

when unicorn running in the production environment, I was trying to  
access my css file in the browser by the url  
‘[http://127.0.0.1:8080/stylesheets/scaffold.css](http://127.0.0.1:8080/stylesheets/scaffold.css)’, I got 'No route  
matches “/stylesheets/scaffold.css”  
but it worked fine when unicorn running in the development environment.

Please help me, it’ll be very appreciated.

Best Regards,  
Lewis
