D
D
Dima2014-06-29 11:50:56
Ruby on Rails
Dima, 2014-06-29 11:50:56

How to disable Sprockets in Rails 4.1?

I generated an application without the option --skip-sprockets
Now I want to disable the pipeline in it so that CSS, pictures and JS are given by the web server.
I tried to add a line config.assets.enabled = falseto application.rb, after restarting it still gives an error stating that the included file is not in the pipeline manifest.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dima, 2014-06-29
@MAXOPKA

No longer needed.
I learned how to use the pipeline, now you don't have to turn it off.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question