Rails Resource Pipeline Hangs

I am running Rails 3.2 in a development environment. One way or another, I got into a situation where any code change during debugging hangs in the asset pipeline when trying to deliver a new page. Apparently, I mean that it takes a very long time, which usually leads to a timeout somewhere. I am currently debugging some javascript, so all assets remain unchanged, with the exception of one JS file. There are no error messages that I see anywhere. When I use Chrome to view network activity, it always hangs on the pending delivery application.js that the js manifest lives in.

Work around seems:

  • clear browser cookies and cache
  • restart application server
  • go to localhost: 3000 to re-register.

I have to do this every time I change a line of code in JS.

It’s clear that I am doing something wrong, and it works well. There are no new gems, so a new workflow. It was not by chance that I recompiled the assets, as far as I know.

Why does the pipeline freeze with the delivery of my custom JS (not bootstrap or angular)? Why does work work this way?

I notice a few unresolved questions about this, so if anyone knows, this may help some of us.

+3
source share
1 answer

I had the same experience. Removing the Tails Rails folder seems to have solved it for now.

+1
source

All Articles