Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

disable assets precompile function in Rails

I would like to disable assets precompile function in rails. I am working on app where user can download the code, and I would like to avoid changeing the names of the css and js files in downloaded html file - so as the user can run the index.html and see everything.

Here is the app: http://impress-builder.herokuapp.com/

like image 705
lipenco Avatar asked Sep 21 '13 17:09

lipenco


1 Answers

Take a look at The Assets Pipeline Guide.

The asset pipeline is enabled by default. It can be disabled in config/application.rb by putting this line inside the application class definition:

config.assets.enabled = false
like image 196
Mini John Avatar answered Sep 19 '22 01:09

Mini John