Actions
Bug #13802
closedscenario_manager: undefined method `realpath' for File:Class on Ruby 1.8.7
Description
On Ruby 1.8.7, the scenario manager class fails to run as it calls File.realpath, which isn't in 1.8.
# `foreman-installer --no-colors -v --detailed-exitcodes' failed # /usr/lib/ruby/gems/1.8/gems/kafo-0.7.1/lib/kafo/scenario_manager.rb:11:in `initialize': undefined method `realpath' for File:Class (NoMethodError) # from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.1/lib/kafo/kafo_configure.rb:239:in `new' # from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.1/lib/kafo/kafo_configure.rb:239:in `setup_scenario_manager' # from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.1/lib/kafo/kafo_configure.rb:50:in `initialize' # from /usr/lib/ruby/gems/1.8/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `new' # from /usr/lib/ruby/gems/1.8/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `run' # from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.1/lib/kafo/kafo_configure.rb:154:in `run' # from /usr/sbin/foreman-installer:12
Updated by The Foreman Bot about 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/kafo/pull/130 added
Updated by Dominic Cleal about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset da44daa46c7eb19340c5831dc6e43d1d2fb814dc.
Actions