当GitHub的CI工作流运行时,我面临着这个GObjectIntrospection::RepositoryError::TypelibNotFound: Typelib file for namespace 'Poppler' (any version) not found错误,由于它,它总是失败。我也尝试过添加glib2和gobject-introspection宝石,但是没有什么适合我的。我已经有poppler宝石在我的宝石文件。我使用aws-sdk-s3 gem来使用active存储将文件上传到AWS,poppler gem用于预览应用程序中的文件。在当地,一切对我来说都很好。
我正在使用rails 6.1和ruby 2.7.5。
发布于 2022-10-13 07:47:28
在workflows/ruby.yml中尝试使用以下安装步骤
- name: Install Poppler
run: |
sudo apt-get update
sudo apt -y install libpoppler-glib-devhttps://stackoverflow.com/questions/73725636
复制相似问题