Project

General

Profile

Bug #28001

add Rainbow gem to development for templates render task

Added by Anonymous about 1 year ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rake tasks
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

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)

Associated revisions

Revision 5662ac26 (diff)
Added by Michael Moll 11 months ago

Fixes #28001 - add rainbow gem to development group

History

#1 Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/theforeman/foreman/pull/7085 added

#2 Updated by The Foreman Bot about 1 year ago

  • Pull request https://github.com/theforeman/foreman/pull/7095 added

#3 Updated by The Foreman Bot 11 months ago

  • Fixed in Releases 2.0.0 added

#4 Updated by Anonymous 11 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Tomer Brisker 8 months ago

  • Subject changed from remove usage of Rainbow in templates render task to add Rainbow gem to development for templates render task

Also available in: Atom PDF