Re: [Rails] Very strange behavior of rails assets

2016-11-17 Thread Karthikeyan A K
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-rail

Re: [Rails] Very strange behavior of rails assets

2016-11-15 Thread Scott Jacobsen
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

[Rails] Very strange behavior of rails assets

2016-11-15 Thread Karthikeyan A K
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: 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 perfectl