Skip to content
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

The old "force_assets=1" option is mentioned on the "rails:assets_precompile" doc webpage rather than the new "force_asset_precompile=true" one #520

Closed
mrj opened this issue Mar 1, 2017 · 3 comments

Comments

@mrj
Copy link

mrj commented Mar 1, 2017

The rails:assets_precompile doc webpage should be updated to mention the new force_asset_precompile=true option rather than the old force_assets=1 one, which no longer works.

@lowjiayou
Copy link

I keep getting -----> Skipping asset precompilation though it is a new deployment.
I have checked that my project's "current/public/assets" is pointing to "shared/public/assets", and it is empty inside.
By adding force_asset_precompile=true parameter do solve my problem.
But shouldn't that precompilation run without problem?

Note:
I've change the standard flow of "mina deploy" for my project that's why asset precompile had run to separately. I wish to use invoke :'rails:assets_precompile' without extra parameter so that deployment script is much simpler.

@d4be4st
Copy link
Member

d4be4st commented Sep 8, 2017

because to be fast, mina checks diffs of your assets between deploys. if you deploy the same code twice, the second time there wont be any difference between your assets and it will skip precompiling

@d4be4st
Copy link
Member

d4be4st commented Sep 8, 2017

Unfortunately i do not have access to http://nadarei.co/mina/tasks/rails_assets_precompile.html to change that documentation :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants