Comments (9)
Any way to have that option (force_aseets=1) inside the config/deploy.rb ?
from mina.
bundle exec mina deploy force_assets=1
Try that in the meantime.
On Oct 5, 2012, at 12:56 AM, Dan Sosedoff [email protected] wrote:
I encountered the issue with asset precompilation.
Our app has config option config.assets.compile = false, which triggers
exception when required asset (in our case admin.css) is not precompiled.
Adding the asset into the precompilation list should solve it:
config.assets.precompile
+= ['admin.css']
Here is the issue. Mina skips asset precompilation and thus causes
application to fail after next successful deploy. I fixed it by removing
the asset folder and ran the deploy again.
Any tips on this?
—
Reply to this email directly or view it on
GitHubhttps://github.com//issues/60.
from mina.
It happened to us when we used similar script with Capistrano. Don't know how to solve this problem gracefully, but at least Mina can check application.rb for changes also.
from mina.
config/application.rb and config/environments/production.rb, considering that's where most store their precompile config. (Personally I'd argue application.rb is the best place to put it in, though)
from mina.
I'm having the same issue, any news on a fix?
from mina.
It is just waiting someone to come and fix it. several month ago I tried to start the work on it, but something stopped me.
from mina.
+1
from mina.
mina only check diff of app/assets and vendor/asses for changes. Does not check any other as you can create your own intialize files which could change assets configs.
Please use mina deploy force_assets=1
from mina.
@d4be4st But what about engine assets?
from mina.
Related Issues (20)
- the Italiantranslation is to be corrected HOT 1
- No password was specified in environment variable CODA_PRIVKEY_PASS HOT 2
- PRESUMED ABANDONED ☠️ HOT 2
- Mina version managers plugin HOT 3
- Better support for CLI variables
- Mina Resurrection HOT 2
- Deployment logs HOT 2
- Document supported operating systems and prerequisities
- Add flag to skip cleanup on failed deploy
- [v1.2.4] run(:local) issue HOT 1
- Stuck on Fetching new git commits HOT 2
- Contributing Guide Missing
- master.key HOT 5
- mina 1.2.4: Allow multiple deployments with different `RAILS_ENV` HOT 2
- Adopt to new standard of bundle flags [proposed Label] enhancement
- run(:local) command not found when using execution_mode: :system
- Are we considering port mina to Crystal? HOT 1
- assets:precomile fails, but deploy succeeds HOT 1
- Ugh... not able to fetch new commits HOT 2
- mina init fails with NoMethodError: undefined method `exists?' for File:Class HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mina.