Project

General

Profile

Actions

Bug #13802

closed

scenario_manager: undefined method `realpath' for File:Class on Ruby 1.8.7

Added by Dominic Cleal about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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
Actions #1

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
Actions #2

Updated by Dominic Cleal about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF