Actions
Bug #28001
closedadd Rainbow gem to development for templates render task
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rake tasks
Target version:
-
Difficulty:
Triaged:
No
Description
Rainbow is used without having the gem in the Gemfiles:
$ bundle exec rake templates:render DIRECTORY=../community-templates [...] rake aborted! NoMethodError: undefined method `Rainbow' for main:Object /home/mmoll/mystuff/gitrepos/theforeman/foreman/lib/tasks/templates_renderer.rake:34:in `block (3 levels) in <top (required)>' /home/mmoll/mystuff/gitrepos/theforeman/foreman/app/models/concerns/foreman/thread_session.rb:108:in `as' /home/mmoll/mystuff/gitrepos/theforeman/foreman/app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin' /home/mmoll/mystuff/gitrepos/theforeman/foreman/lib/tasks/templates_renderer.rake:19:in `block (2 levels) in <top (required)>' /home/mmoll/mystuff/gitrepos/theforeman/foreman/vendor/ruby/2.5.0/gems/rake-13.0.0/exe/rake:27:in `<top (required)>' Tasks: TOP => templates:render (See full trace by running task with --trace)
Updated by The Foreman Bot almost 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/7085 added
Updated by The Foreman Bot almost 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/7095 added
Updated by Anonymous almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 5662ac26b649f87ba1ca1cbf03717a8bf7ff6a30.
Updated by Tomer Brisker over 4 years ago
- Subject changed from remove usage of Rainbow in templates render task to add Rainbow gem to development for templates render task
Actions