Found answer, this was caused due to the use of opal-rails. When I rewrote
my app without it (thankfully its the start of the app I was doing), all
worked fine. Some one has reported the same issue on stack overflow, but it
has not been answered
http://stackoverflow.com/questions/38735533/opal-rails-in-rails-5-does-not-add-fingerprinting-to-assets
. Thanks a lot to Scott for trying to answer.

On Tue, Nov 15, 2016 at 10:22 PM, Scott Jacobsen <
scottericjacob...@gmail.com> wrote:

> Be sure you are running in production mode by setting the RAILS_ENV
> environment variable to production.
>
> On Nov 15, 2016 5:35 AM, "Karthikeyan A K" <77mi...@gmail.com> wrote:
>
>> Hello People,
>>
>> I have just deployed an app on Ubuntu 14.04, Rails 5.0.x, Puma, Nginx.
>> Even though I have precompiled assets I am getting the following output:
>>
>> <link rel="stylesheet" media="all" href="/assets/application.css"
>> data-turbolinks-track="reload" /><script src="/assets/application.js"
>> data-turbolinks-track="reload"></script>
>>
>> And ofcourse no javascript and css is not loading and returning 404.
>>
>> In the very same server I have Rails 4.2.x app which works perfectly.
>> Could any one guess what could have gone wrong?
>>
>> --
>> Karthikeyan A K
>> http://thepro.in/profiles/karthikeyan-a-k-1
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to rubyonrails-talk+unsubscr...@googlegroups.com.
>> To post to this group, send email to rubyonrails-talk@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/rubyonrails-talk/CAJR%2B9kbA4d-ibE-ARDy2JQmjHC3OT7C2pf5v
>> pB%2Bj26Tnjss2LA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/rubyonrails-talk/CAJR%2B9kbA4d-ibE-ARDy2JQmjHC3OT7C2pf5vpB%2Bj26Tnjss2LA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/rubyonrails-talk/CAK5aKabczQFdarca%3Ds8T_wsEQXfcmJeKtSt9%
> 3DBmwE0EgQqebhQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/CAK5aKabczQFdarca%3Ds8T_wsEQXfcmJeKtSt9%3DBmwE0EgQqebhQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Karthikeyan A K
http://thepro.in/profiles/karthikeyan-a-k-1

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAJR%2B9kY81m7vQNi98dD1-oUbzQ6gUyhsHyk%2BNkdLLo4c4EbSaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to