Bug #2201
closed
Debian package does not depend on rubygems
Added by Alessandro Grassi about 12 years ago.
Updated over 6 years ago.
Description
The Debian package, when installed from apt as documented in the Getting Started guide, does not install rubygems together with it.
However the installer requires "rubygems", so the installation fails immediately:
/usr/share/foreman-installer/generate_answers.rb:3:in `require': no such file to load -- rubygems (LoadError)
The Debian highline package installs the code to the ruby system library path, therefore rubygems is not needed. We should wrap the require in a rescue block...
If rubygems is not needed, couldn't the line be removed straight away?
Thinking about it some more... it's likely to be needed for other distros, and maintaining patches in the packaging source is a pain. As you also need rubygems to install Foreman, we may as well depend on it.
- Status changed from New to Closed
- Target version set to 1.2.0
- % Done changed from 0 to 100
- Target version deleted (
1.2.0)
Also available in: Atom
PDF