Project

General

Profile

Actions

Bug #1673

closed

Foreman doesn't work with ruby_parser 2.0.6

Added by Ivan Necas almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Trying to run Foreman when ruby_parser 2.0.6 is installed fails with the following error:

/usr/share/foreman/app/models/environment.rb:1: superclass mismatch for class Environment (TypeError)

This is caused by this versions ruby_parser defining Environment constant itself. With version 2.3.1 this is not the case.

It means Foreman is dependent on this or higher version being installed and therefore it should be added to Gemfile (patch attached), and also into RPMS and DEBS explicitly.


Files

fix_ruby_parser_dependency.patch fix_ruby_parser_dependency.patch 342 Bytes Ivan Necas, 06/07/2012 11:48 AM
Actions

Also available in: Atom PDF