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
$ docker compose run --rm web rake enju_leaf:setup
WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string.
WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string.
WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string.
WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string.
WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string.
WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string.
WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string.
WARN[0000] The "http_proxy" variable is not set. Defaulting to a blank string.
[+] Running 3/0
⠿ Container enju_leaf-solr-1 Running 0.0s
⠿ Container enju_leaf-redis-1 Running 0.0s
⠿ Container enju_leaf-postgres-1 Running 0.0s
rake aborted!
ArgumentError: Could not find or build blob: expected attachable, got #<File:/enju/lib/tasks/../../app/assets/images/icons/book.png>
/usr/local/bundle/gems/activestorage-6.1.7/lib/active_storage/attached/changes/create_one.rb:74:in `find_or_build_blob'
/usr/local/bundle/gems/activestorage-6.1.7/lib/active_storage/attached/changes/create_one.rb:20:in `blob'
/usr/local/bundle/gems/activestorage-6.1.7/lib/active_storage/attached/changes/create_one.rb:12:in `initialize'
/usr/local/bundle/gems/activestorage-6.1.7/lib/active_storage/attached/model.rb:65:in `new'
/usr/local/bundle/gems/activestorage-6.1.7/lib/active_storage/attached/model.rb:65:in `attachment='
/enju/lib/tasks/carrier_type.rb:8:in `block in update_carrier_type'
/usr/local/bundle/gems/activerecord-6.1.7/lib/active_record/relation/batches.rb:71:in `block (2 levels) in find_each'
/usr/local/bundle/gems/activerecord-6.1.7/lib/active_record/relation/batches.rb:71:in `each'
/usr/local/bundle/gems/activerecord-6.1.7/lib/active_record/relation/batches.rb:71:in `block in find_each'
/usr/local/bundle/gems/activerecord-6.1.7/lib/active_record/relation/batches.rb:138:in `block in find_in_batches'
/usr/local/bundle/gems/activerecord-6.1.7/lib/active_record/relation/batches.rb:245:in `block in in_batches'
/usr/local/bundle/gems/activerecord-6.1.7/lib/active_record/relation/batches.rb:229:in `loop'
/usr/local/bundle/gems/activerecord-6.1.7/lib/active_record/relation/batches.rb:229:in `in_batches'
/usr/local/bundle/gems/activerecord-6.1.7/lib/active_record/relation/batches.rb:137:in `find_in_batches'
/usr/local/bundle/gems/activerecord-6.1.7/lib/active_record/relation/batches.rb:70:in `find_each'
/usr/local/bundle/gems/activerecord-6.1.7/lib/active_record/querying.rb:22:in `find_each'
/enju/lib/tasks/carrier_type.rb:2:in `update_carrier_type'
/enju/lib/tasks/enju_biblio_tasks.rake:14:in `block (2 levels) in <main>'
/enju/lib/tasks/enju_leaf_tasks.rake:13:in `block (2 levels) in <main>'
/usr/local/bundle/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
Tasks: TOP => enju_biblio:setup
(See full trace by running task with --trace)
いつもお世話になっております。
インストールの手順に沿ってenju_leafの新規インストール作業を進めて,
データベースの作成までは問題なく進めることができましたが,
$ docker compose run --rm web rake enju_leaf:setup
を実行したところ下記のようなエラーメッセージが表示され先に進むことができずインストールに失敗します。
うちの環境だけの問題かもしれませんが,どうしたらいいでしょうか。
お手数をおかけしますが,どうぞよろしくお願いいたします。
The text was updated successfully, but these errors were encountered: