Project

General

Profile

Actions

Bug #28001

closed

add Rainbow gem to development for templates render task

Added by Anonymous over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rake tasks
Target version:
-
Fixed in Releases:
Found in Releases:

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)

Actions #1

Updated by The Foreman Bot over 5 years ago

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

Updated by The Foreman Bot over 5 years ago

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

Updated by The Foreman Bot about 5 years ago

  • Fixed in Releases 2.0.0 added
Actions #4

Updated by Anonymous about 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Tomer Brisker almost 5 years ago

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

Also available in: Atom PDF