Bug #1673
Foreman doesn't work with ruby_parser 2.0.6
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.
Associated revisions
History
#1
Updated by Ohad Levy almost 11 years ago
Do you want to send a git formatted patch / pull request instead? so we could blame you in the future? :)
#2
Updated by Ivan Necas almost 11 years ago
#3
Updated by Ivan Necas almost 11 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset 804198404e166a43f59f179f9a221f309b3835f1.
#4
Updated by Ohad Levy almost 11 years ago
- Target version set to 1.0
fixes #1673 - Foreman doesn't work with ruby_parser 2.0.6
Explicitly stating the version of ruby_parser that works with Foreman.
Otherwise you might get: