Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rake task in readme does not exists #177

Open
peterberkenbosch opened this issue Dec 7, 2020 · 3 comments
Open

rake task in readme does not exists #177

peterberkenbosch opened this issue Dec 7, 2020 · 3 comments

Comments

@peterberkenbosch
Copy link
Contributor

peterberkenbosch commented Dec 7, 2020

There is currently no way to generate and update translations as described in the README.

❯ solidus_i18n (update-nl) ✔ bundle exec rake solidus_i18n:update_default
DEPRECATION WARNING: SolidusSupport::EngineExtensions::Decorators is deprecated! Use SolidusSupport::EngineExtensions instead. (called from <class:Engine> at /Users/peterberkenbosch/code/peterberkenbosch/solidus_i18n/lib/solidus_i18n/engine.rb:7)
rake aborted!
Don't know how to build task 'environment' (See the list of available tasks with `rake --tasks`)
/Users/peterberkenbosch/.gem/ruby/2.7.2/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load'
/Users/peterberkenbosch/.gem/ruby/2.7.2/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load'
/Users/peterberkenbosch/.gem/ruby/2.7.2/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run'
/Users/peterberkenbosch/.gem/ruby/2.7.2/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec'
/Users/peterberkenbosch/.gem/ruby/2.7.2/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/peterberkenbosch/.gem/ruby/2.7.2/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/Users/peterberkenbosch/.gem/ruby/2.7.2/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
/Users/peterberkenbosch/.gem/ruby/2.7.2/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch'
/Users/peterberkenbosch/.gem/ruby/2.7.2/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
/Users/peterberkenbosch/.gem/ruby/2.7.2/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start'
/Users/peterberkenbosch/.gem/ruby/2.7.2/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>'
/Users/peterberkenbosch/.gem/ruby/2.7.2/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors'
/Users/peterberkenbosch/.gem/ruby/2.7.2/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>'
/Users/peterberkenbosch/.gem/ruby/2.7.2/bin/bundle:23:in `load'
/Users/peterberkenbosch/.gem/ruby/2.7.2/bin/bundle:23:in `<main>'
Tasks: TOP => solidus_i18n:update_default
(See full trace by running task with --trace)
@peterberkenbosch
Copy link
Contributor Author

this is probably due to the dummy app generation. Investigating...

@Alxzu
Copy link

Alxzu commented Jul 27, 2021

any updates on this? I'm getting the same issue with a fresh install

@jurgis
Copy link

jurgis commented Jan 9, 2022

I would also like to know the proper steps to update translations.
Looks like this gem https://github.com/glebm/i18n-tasks is needed, so I'm trying to figure out how to do it properly.
Any help would be appreciated from those who have done it already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants