Project

General

Profile

Actions

Bug #13033

closed

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

Added by Dominic Cleal almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Internationalization
Target version:
Difficulty:
Triaged:
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 4 (0 open4 closed)

Related to Foreman - Feature #7230: Upgrade Ruby on Rails to 4.1ClosedDaniel Lobato Garcia08/22/2014Actions
Related to Foreman - Refactor #9524: Update to gettext_i18n_rails_js 1.xResolved02/24/2015Actions
Blocked by Foreman - Bug #8874: gettext 3.1.13+ causes locale tx-update errors due to .edit.po filesClosedDominic Cleal01/08/2015Actions
Blocks Foreman Remote Execution - Feature #11948: Localization workClosedStephen Benjamin09/24/2015Actions
Actions #1

Updated by Dominic Cleal almost 9 years ago

Actions #2

Updated by Dominic Cleal almost 9 years ago

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

Updated by Dominic Cleal almost 9 years ago

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

Updated by Stephen Benjamin almost 9 years ago

Actions #5

Updated by The Foreman Bot almost 9 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
Actions #6

Updated by Stephen Benjamin almost 9 years ago

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

Also available in: Atom PDF