Bug #15628
closed
Fix activesupport/rdoc dep issue
Added by Mark Austin almost 9 years ago.
Updated over 4 years ago.
Description
Installation from current source results in the following error:
/opt/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- rdoc (LoadError)
from /opt/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
from /opt/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
from /opt/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/markup.rb:8:in `initialize'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/configuration.rb:139:in `new'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/configuration.rb:139:in `initialize'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/apipie_module.rb:26:in `new'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/apipie_module.rb:26:in `configuration'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/extractor.rb:38:in `finish'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/extractor.rb:179:in `block in <top (required)>'
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3632 added
- Status changed from Ready For Testing to New
- Assignee deleted (
Mark Austin)
- Pull request deleted (
https://github.com/theforeman/foreman/pull/3632)
PR closed due to inactivity, but the issue is still valid (on Ruby distributions with RDoc shipped separately).
- Pull request https://github.com/theforeman/foreman/pull/4503 added
Mark Austin wrote:
Installation from current source results in the following error:
/opt/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- rdoc (LoadError)
from /opt/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require'
from /opt/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'
from /opt/foreman/vendor/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/markup.rb:8:in `initialize'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/configuration.rb:139:in `new'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/configuration.rb:139:in `initialize'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/apipie_module.rb:26:in `new'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/apipie_module.rb:26:in `configuration'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/extractor.rb:38:in `finish'
from /opt/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.3.6/lib/apipie/extractor.rb:179:in `block in <top (required)>'
This is an issue of apipie-rails: https://github.com/Apipie/apipie-rails/issues/544
rdoc is set as a development (optional) dependency, however it is required right on the apipie-rails import.
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7671 added
- Fixed in Releases 2.2.0 added
- Status changed from Ready For Testing to Closed
- Assignee set to Ohad Levy
- Pull request https://github.com/theforeman/foreman/pull/7688 added
- Pull request https://github.com/theforeman/foreman/pull/7975 added
Also available in: Atom
PDF