Skip to content

buildが不安定 #49

@T-Y89

Description

@T-Y89

buildがかなり不安定&時間がかかる キャッシュなしで実行した場合

[8/8] RUN echo 'gem: --no-document' >> ~/.gemrc && cp ~/.gemrc /etc/gemrc && chmod uog+r /etc で

672.0s

くらいかかってしまう

また以下のエラーになることも多い

Unable to load application: Errno::ENOSYS: Function not implemented - Failed to initialize inotify 2023-06-20 14:11:27 bundler: failed to load command: puma (/usr/local/bundle/bin/puma) 2023-06-20 14:11:27 /usr/local/bundle/gems/rb-inotify-0.10.1/lib/rb-inotify/notifier.rb:69:in initialize': Function not implemented - Failed to initialize inotify (Errno::ENOSYS)`

以下のisuueを参考に evilmartians/terraforming-rails#34

config/environments/development.rb # config.file_watcher = ActiveSupport::EventedFileUpdateChecker config.file_watcher = ActiveSupport::FileUpdateChecker にする

Gemfile.lockの中身を消す

buildにする とうまくいく(ことがある)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions