Project

General

Profile

Actions

Bug #20287

closed

plugin asset precompilation broken with sprockets-rails 3.x

Added by Anonymous over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
Plugin integration
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

23:54:48 ** Execute plugin:assets:precompile
23:54:48 rake aborted!
23:54:48 NoMethodError: undefined method `register_engine' for nil:NilClass
23:54:48 /usr/share/foreman/lib/tasks/plugin_assets.rake:52:in `initialize'
23:54:48 /usr/share/foreman/lib/tasks/plugin_assets.rake:107:in `new'
23:54:48 /usr/share/foreman/lib/tasks/plugin_assets.rake:107:in `block in <top (required)>'
23:54:48 /usr/share/foreman/vendor/ruby/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in `call'

Related: https://github.com/rails/sprockets-rails/issues/237

This is breaking all new packaging of plugins for DEB.


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #18512: Support sprockets-rails 3ClosedDominic Cleal02/15/2017Actions
Actions

Also available in: Atom PDF