Project

General

Profile

Bug #13033

plugin:gettext rake task doesn't load with gettext_i18n_rails_js 1.x

Added by Dominic Cleal over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Internationalization
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

The plugin:gettext rake task isn't loaded with a full bundler installation, so plugins can't be extracted. Removing the rescue in lib/tasks/gettext.rake shows:

$ rake plugin:gettext[foreman_example]
rake aborted!
LoadError: cannot load such file -- gettext_i18n_rails_js/tasks
/home/dcleal/.rvm/gems/ruby-2.0.0-p353@foreman/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `require'
/home/dcleal/.rvm/gems/ruby-2.0.0-p353@foreman/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `block in require'
/home/dcleal/.rvm/gems/ruby-2.0.0-p353@foreman/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:232:in `load_dependency'
/home/dcleal/.rvm/gems/ruby-2.0.0-p353@foreman/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `require'
/home/dcleal/code/foreman/foreman/lib/tasks/gettext.rake:5:in `<top (required)>'

The layout of gettext_i18n_rails_js changed in 1.x, updated in #7230.


Related issues

Related to Foreman - Feature #7230: Upgrade Ruby on Rails to 4.1Closed2014-08-22
Related to Foreman - Refactor #9524: Update to gettext_i18n_rails_js 1.xResolved2015-02-24
Blocked by Foreman - Bug #8874: gettext 3.1.13+ causes locale tx-update errors due to .edit.po filesClosed2015-01-08
Blocks Foreman Remote Execution - Feature #11948: Localization workClosed2015-09-24

Associated revisions

Revision 755ade45 (diff)
Added by Stephen Benjamin over 3 years ago

fixes #13033 - require new location of gettext_i18n_rails_js tasks

History

#1 Updated by Dominic Cleal over 3 years ago

#2 Updated by Dominic Cleal over 3 years ago

  • Related to Refactor #9524: Update to gettext_i18n_rails_js 1.x added

#3 Updated by Dominic Cleal over 3 years ago

  • Blocked by Bug #8874: gettext 3.1.13+ causes locale tx-update errors due to .edit.po files added

#4 Updated by Stephen Benjamin over 3 years ago

#5 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Stephen Benjamin
  • Pull request https://github.com/theforeman/foreman/pull/3102 added

#6 Updated by Stephen Benjamin over 3 years ago

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

Also available in: Atom PDF