Ruby on Rails
Thursday, November 17, 2016
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 <scottericjacobsen@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" <77minds@gmail.com> wrote:--In the very same server I have Rails 4.2.x app which works perfectly. Could any one guess what could have gone wrong?And ofcourse no javascript and css is not loading and returning 404.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>
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+unsubscribe@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%2B9k .bA4d-ibE-ARDy2JQmjHC3OT7C2pf5v pB%2Bj26Tnjss2LA%40mail.gmail. com
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+unsubscribe@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
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+unsubscribe@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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment