corthmann / locale_pack Goto Github PK
View Code? Open in Web Editor NEWA tool for compiling and serving translations from Ruby applications to Javascript frontend components
License: MIT License
A tool for compiling and serving translations from Ruby applications to Javascript frontend components
License: MIT License
I want to use the rake locale_pack:compile:one[generic]
to only compile one of the locale packs we have.
But when I run it I get the following error message:
$ bundle exec rake locale_pack:compile:one['generic']
rake aborted!
ArgumentError: Locale Pack with name 'generic' not found
/Users/tina/.rvm/gems/ruby-2.4.5/bundler/gems/locale_pack-cbd5cfad0874/lib/locale_pack/models/pack_file.rb:16:in `find_by_name'
/Users/tina/.rvm/gems/ruby-2.4.5/bundler/gems/locale_pack-cbd5cfad0874/lib/locale_pack/tasks/locale_pack.rake:25:in `block (3 levels) in <top (required)>'
/Users/tina/.rvm/gems/ruby-2.4.5/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/Users/tina/.rvm/gems/ruby-2.4.5/bin/ruby_executable_hooks:24:in `eval'
/Users/tina/.rvm/gems/ruby-2.4.5/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP => locale_pack:compile:one
Am I using the rake task not correctly? I am pretty sure there is a package with that name. I also tried $ bundle exec rake locale_pack:compile:one['generic_en']
but with the same result.
Thanks for your help :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.