kuroda / baukis2 Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
20190101000XY
という形に表記を統一する。すみません操作ミスです。
docker-compose run web rails new . --force --no-deps --database=postgresql
コマンドで次のようなエラーが出る。
ERROR: for dockerbaukis2_db_1 Cannot start service db: cgroups: cannot find cgroup mount destination: unknown
ERROR: for db Cannot start service db: cgroups: cannot find cgroup mount destination: unknown
ERROR: Encountered errors while bringing up the project.
Chapter 9で登場
$ kill -KILL $(cat /apps/baukis2/tmp/pids/server.pid)
エラー内容はこちら
/usr/local/bundle/gems/rails-i18n-7.0.1/lib/rails_i18n/../../rails/pluralization/tr.rb:3:in `load_rb': uninitialized constant RailsI18n::Pluralization::OneOther (NameError)
from /usr/local/bundle/gems/i18n-1.9.1/lib/i18n/backend/base.rb:234:in `eval'
from /usr/local/bundle/gems/i18n-1.9.1/lib/i18n/backend/base.rb:234:in `load_rb'
from /usr/local/bundle/gems/i18n-1.9.1/lib/i18n/backend/base.rb:224:in `load_file'
from /usr/local/bundle/gems/i18n-1.9.1/lib/i18n/backend/base.rb:16:in `block in load_translations'
from /usr/local/bundle/gems/i18n-1.9.1/lib/i18n/backend/base.rb:16:in `each'
from /usr/local/bundle/gems/i18n-1.9.1/lib/i18n/backend/base.rb:16:in `load_translations'
from /usr/local/bundle/gems/i18n-1.9.1/lib/i18n/backend/simple.rb:77:in `init_translations'
from /usr/local/bundle/gems/i18n-1.9.1/lib/i18n/backend/simple.rb:62:in `eager_load!'
from /usr/local/bundle/gems/i18n-1.9.1/lib/i18n.rb:91:in `eager_load!'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/application/finisher.rb:123:in `each'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/application/finisher.rb:123:in `block in <module:Finisher>'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/initializable.rb:32:in `instance_exec'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/initializable.rb:32:in `run'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/initializable.rb:61:in `block in run_initializers'
from /usr/local/lib/ruby/2.6.0/tsort.rb:228:in `block in tsort_each'
from /usr/local/lib/ruby/2.6.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /usr/local/lib/ruby/2.6.0/tsort.rb:431:in `each_strongly_connected_component_from'
from /usr/local/lib/ruby/2.6.0/tsort.rb:349:in `block in each_strongly_connected_component'
from /usr/local/lib/ruby/2.6.0/tsort.rb:347:in `each'
from /usr/local/lib/ruby/2.6.0/tsort.rb:347:in `call'
from /usr/local/lib/ruby/2.6.0/tsort.rb:347:in `each_strongly_connected_component'
from /usr/local/lib/ruby/2.6.0/tsort.rb:226:in `tsort_each'
from /usr/local/lib/ruby/2.6.0/tsort.rb:205:in `tsort_each'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/initializable.rb:60:in `run_initializers'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/application.rb:363:in `initialize!'
from /apps/baukis2/config/environment.rb:5:in `<main>'
from /usr/local/bundle/gems/bootsnap-1.10.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /usr/local/bundle/gems/bootsnap-1.10.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /usr/local/bundle/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
from /usr/local/bundle/gems/activesupport-6.0.4.4/lib/active_support/dependencies.rb:324:in `block in require'
from /usr/local/bundle/gems/activesupport-6.0.4.4/lib/active_support/dependencies.rb:291:in `load_dependency'
from /usr/local/bundle/gems/activesupport-6.0.4.4/lib/active_support/dependencies.rb:324:in `require'
from /usr/local/bundle/gems/bootsnap-1.10.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:42:in `require_relative'
from config.ru:3:in `block in <main>'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `eval'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:116:in `new_from_string'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:105:in `load_file'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/builder.rb:66:in `parse_file'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:349:in `build_app_and_options_from_config'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:249:in `app'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:422:in `wrapped_app'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:312:in `block in start'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:379:in `handle_profiling'
from /usr/local/bundle/gems/rack-2.2.3/lib/rack/server.rb:311:in `start'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/commands/server/server_command.rb:39:in `start'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/commands/server/server_command.rb:147:in `block in perform'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/commands/server/server_command.rb:138:in `tap'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/commands/server/server_command.rb:138:in `perform'
from /usr/local/bundle/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
from /usr/local/bundle/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/local/bundle/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/command/base.rb:69:in `perform'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/command.rb:46:in `invoke'
from /usr/local/bundle/gems/railties-6.0.4.4/lib/rails/commands.rb:18:in `<main>'
from /usr/local/bundle/gems/bootsnap-1.10.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /usr/local/bundle/gems/bootsnap-1.10.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
from /apps/baukis2/bin/rails:9:in `<top (required)>'
from /usr/local/bundle/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `load'
from /usr/local/bundle/gems/spring-2.1.1/lib/spring/client/rails.rb:28:in `call'
from /usr/local/bundle/gems/spring-2.1.1/lib/spring/client/command.rb:7:in `call'
from /usr/local/bundle/gems/spring-2.1.1/lib/spring/client.rb:30:in `run'
from /usr/local/bundle/gems/spring-2.1.1/bin/spring:49:in `<top (required)>'
from /usr/local/bundle/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `load'
from /usr/local/bundle/gems/spring-2.1.1/lib/spring/binstub.rb:11:in `<top (required)>'
from /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /apps/baukis2/bin/spring:15:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>'
一旦は下記のように6系のバージョンを指定しました。
gem "rails-i18n", "~> 6.0"
docker-compose run web rails new . --force --no-deps --database=postgresql
Cannot start service db: OCI runtime create failed: container with id exists:
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.