Closed stell closed 1 year ago
Sorry, I don't know what's going on there 🤔
Workaround: instead of using gem install
, use eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) && brew install mailcatcher
. Execution time increases during setup phase, but the issue goes away. I compared successful vs failing runs and it may be related to an update of the base image used by GHA, since that was the only thing I noted as being different.
Here is the issue: https://github.com/mikel/mail/issues/1489 Managed to fix it by doing this:
- name: Install & run mailcatcher
run: |
sudo gem install mailcatcher --no-update-sources --no-document
sudo chmod 644 /var/lib/gems/3.0.0/gems/mail-2.8.0/lib/mail/indifferent_hash.rb
sudo chmod 644 /var/lib/gems/3.0.0/gems/mail-2.8.0/lib/mail/fields.rb
sudo chmod 644 /var/lib/gems/3.0.0/gems/mail-2.8.0/lib/mail/elements.rb
mailcatcher
Sounds like an upstream issue in mail which has been fixed.
Operating system tested with Ubuntu latest and 20.04
Also tried
sudo gem install --pre mailcatcher
Any idea?