Actions
Bug #8510
closedgettext_i18n_rails 1.x causes "cannot load such file -- gettext/tools/task" in production
Description
[root@foreman ~]# foreman-rake plugins --trace rake aborted! cannot load such file -- gettext/tools/task /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require' /opt/rh/ruby193/root/usr/share/gems/gems/gettext_i18n_rails-1.0.5/lib/gettext_i18n_rails/tasks.rb:1:in `<top (required)>' /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:36:in `require' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require' /usr/share/foreman/lib/tasks/gettext.rake:3:in `<top (required)>'
This also causes db:migrate etc to fail.
Previously the gem only lazily loaded gettext when the rake tasks were executed, but now it's happening when the tasks are loaded, due to https://github.com/grosser/gettext_i18n_rails/commit/d1b02f734f9e0c96de50d1a58e8170ce6ec457ac
Updated by Dominic Cleal about 10 years ago
- Related to Refactor #7233: Revert Ruby 1.8 specifics added
Updated by The Foreman Bot about 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1980 added
- Pull request deleted (
)
Updated by Dominic Cleal about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 86ed8e1ae2e0fae3b28d5af6936d32eb1ebb0bf5.
Updated by Dominic Cleal about 10 years ago
- Translation missing: en.field_release set to 28
Actions