-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unnecessary lines from assets.rb #1670
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your environment
master
(c5a0d53
)Current behavior
Currently,
config/initializers/assets.rb
has a list of paths to files that should be precompiled for production. However, it appears that most of them are redundant owing to the use of wildcards such as*.css
and*.js
Besides, having to manually add a line for every new
js
orcss
file is error-prone.Expected behavior
We should remove unnecessary precompile lines and verify that production autolab still functions.
Comments
I haven't been able to get production autolab running using the bare-metal Autolab installation.
We could possibly test this using autolab docker.
Alternatively, we could do the following
RAILS_ENV=development bundle exec rake assets:precompile
public/assets
Potential references:
The text was updated successfully, but these errors were encountered: