Production Environment on 1-Click Ruby on Rails on Ubuntu 14.04 Image

February 13, 2015 613 views

Hi. When I run rails s from my console, my app runs fine.

Infact my app was running fine without that as well. But, suddenly a few days back my app has started behaving abruptly. My stylesheet tags
<%= stylesheet_link_tag 'application', media: 'all' %> <%= javascript_include_tag 'application' %>

are resulting in
<link rel="stylesheet" media="all" href="/stylesheets/application.css"> <script src="/javascripts/application.js">

instead of fingerprinted ones. I believe there is something wrong with the environment itself. I checked unicorn config and it has -E production listed there.

1 comment
Be the first one to answer this question.