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

Asset precompilation fails sometimes when pushing to openshift #4

Open
tiwillia opened this issue Jan 27, 2015 · 1 comment
Open

Asset precompilation fails sometimes when pushing to openshift #4

tiwillia opened this issue Jan 27, 2015 · 1 comment
Assignees

Comments

@tiwillia
Copy link
Owner

Seemingly randomly, the asset precompilation will fail when pushing to openshift:

remote: /opt/rh/ruby193/root/usr/bin/ruby /var/lib/openshift/54c16f893b696e355c000963/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
remote: rake aborted!
remote: Command failed with status (): [/opt/rh/ruby193/root/usr/bin/ruby /var/lib...]
remote: /var/lib/openshift/54c16f893b696e355c000963/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/sprockets/assets.rake:12:in `ruby_rake_task'
remote: /var/lib/openshift/54c16f893b696e355c000963/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
remote: /var/lib/openshift/54c16f893b696e355c000963/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
remote: Tasks: TOP => assets:precompile
remote: (See full trace by running task with --trace)
remote: -------------------------
remote: Git Post-Receive Result: failure
remote: Activation status: failure
remote: Activation failed for the following gears:
remote: 54c16f893b696e355c000963 (Error activating gear: CLIENT_ERROR: Failed to execute: 'control deploy' for /var/lib/openshift/54c16f893b696e355c000963/ruby)
remote: Deployment completed with status: failure
remote: postreceive failed
@tiwillia
Copy link
Owner Author

Added the .openshift/markers/disable_asset_precompilation marker and added precompiled assets to git repository to workaround this issue tempoarily.

@tiwillia tiwillia self-assigned this Jan 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant