You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
При выполнении dokcer-compose up -d, сервис comment падает с ошибкой
Логи
Attaching to docker_comment_1
comment_1 | Puma starting in single mode...
comment_1 | * Version 3.10.0 (ruby 2.2.10-p489), codename: Russell's Teapot
comment_1 | * Min threads: 0, max threads: 16
comment_1 | * Environment: development
comment_1 | ! Unable to load application: TZInfo::DataSourceNotFound: No source of timezone data could be found.
comment_1 | Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
comment_1 | /usr/local/bundle/gems/tzinfo-1.2.3/lib/tzinfo/data_source.rb:182:in `rescue in create_default_data_source': No source of timezone data could be found. (TZInfo::DataSourceNotFound)
comment_1 | Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error.
comment_1 | from /usr/local/bundle/gems/tzinfo-1.2.3/lib/tzinfo/data_source.rb:179:in `create_default_data_source'
comment_1 | from /usr/local/bundle/gems/tzinfo-1.2.3/lib/tzinfo/data_source.rb:40:in `block in get'
comment_1 | from /usr/local/bundle/gems/tzinfo-1.2.3/lib/tzinfo/data_source.rb:39:in `synchronize'
comment_1 | from /usr/local/bundle/gems/tzinfo-1.2.3/lib/tzinfo/data_source.rb:39:in `get'
comment_1 | from /usr/local/bundle/gems/tzinfo-1.2.3/lib/tzinfo/timezone.rb:661:in `data_source'
comment_1 | from /usr/local/bundle/gems/tzinfo-1.2.3/lib/tzinfo/timezone.rb:130:in `all_identifiers'
comment_1 | from /usr/local/bundle/gems/tzinfo-1.2.3/lib/tzinfo/timezone.rb:124:in `all'
comment_1 | from /usr/local/bundle/gems/et-orbi-1.0.8/lib/et-orbi.rb:687:in `determine_local_tzones'
comment_1 | from /usr/local/bundle/gems/et-orbi-1.0.8/lib/et-orbi.rb:626:in `determine_local_tzone'
comment_1 | from /usr/local/bundle/gems/et-orbi-1.0.8/lib/et-orbi.rb:171:in `local_tzone'
comment_1 | from /usr/local/bundle/gems/et-orbi-1.0.8/lib/et-orbi.rb:147:in `get_tzone'
comment_1 | from /usr/local/bundle/gems/et-orbi-1.0.8/lib/et-orbi.rb:275:in `get_tzone'
comment_1 | from /usr/local/bundle/gems/et-orbi-1.0.8/lib/et-orbi.rb:303:in `initialize'
comment_1 | from /usr/local/bundle/gems/et-orbi-1.0.8/lib/et-orbi.rb:19:in `new'
comment_1 | from /usr/local/bundle/gems/et-orbi-1.0.8/lib/et-orbi.rb:19:in `now'
comment_1 | from /usr/local/bundle/gems/et-orbi-1.0.8/lib/et-orbi.rb:265:in `now'
comment_1 | from /usr/local/bundle/gems/rufus-scheduler-3.4.2/lib/rufus/scheduler.rb:543:in `start'
comment_1 | from /usr/local/bundle/gems/rufus-scheduler-3.4.2/lib/rufus/scheduler.rb:89:in `initialize'
comment_1 | from /app/comment_app.rb:49:in `new'
comment_1 | from /app/comment_app.rb:49:in `<top (required)>'
comment_1 | from config.ru:1:in `require'
comment_1 | from config.ru:1:in `block in <main>'
comment_1 | from /usr/local/bundle/gems/rack-2.0.5/lib/rack/builder.rb:55:in `instance_eval'
comment_1 | from /usr/local/bundle/gems/rack-2.0.5/lib/rack/builder.rb:55:in `initialize'
comment_1 | from config.ru:in `new'
comment_1 | from config.ru:in `<main>'
comment_1 | from /usr/local/bundle/gems/rack-2.0.5/lib/rack/builder.rb:49:in `eval'
comment_1 | from /usr/local/bundle/gems/rack-2.0.5/lib/rack/builder.rb:49:in `new_from_string'
comment_1 | from /usr/local/bundle/gems/rack-2.0.5/lib/rack/builder.rb:40:in `parse_file'
comment_1 | from /usr/local/bundle/gems/puma-3.10.0/lib/puma/configuration.rb:314:in `load_rackup'
comment_1 | from /usr/local/bundle/gems/puma-3.10.0/lib/puma/configuration.rb:243:in `app'
comment_1 | from /usr/local/bundle/gems/puma-3.10.0/lib/puma/runner.rb:138:in `load_and_bind'
comment_1 | from /usr/local/bundle/gems/puma-3.10.0/lib/puma/single.rb:87:in `run'
comment_1 | from /usr/local/bundle/gems/puma-3.10.0/lib/puma/launcher.rb:183:in `run'
comment_1 | from /usr/local/bundle/gems/puma-3.10.0/lib/puma/cli.rb:77:in `run'
comment_1 | from /usr/local/bundle/gems/puma-3.10.0/bin/puma:10:in `<top (required)>'
comment_1 | from /usr/local/bundle/bin/puma:29:in `load'
comment_1 | from /usr/local/bundle/bin/puma:29:in `<main>'
Решение - добавить gem 'tzinfo-data' в Gemfile
The text was updated successfully, but these errors were encountered:
vscoder
pushed a commit
to vscoder/reddit
that referenced
this issue
Dec 18, 2019
При выполнении
dokcer-compose up -d
, сервисcomment
падает с ошибкойЛоги
Решение - добавить
gem 'tzinfo-data'
вGemfile
The text was updated successfully, but these errors were encountered: