CircleCI-Public / cimg-ruby

The CircleCI Ruby Docker Convenience Image.
https://circleci.com/developer/images/image/cimg/ruby
MIT License
33 stars 39 forks source link

Bug Report: LoadError: cannot load such file -- 3.0/ffi_c #138

Closed marciotoshio closed 1 year ago

marciotoshio commented 1 year ago

Note: We also welcome PRs to fix bugs! This helps us take action faster where a bug has been identified!

For our official CircleCI Docker Convenience Image support policy, please see CircleCI docs.

This policy outlines the release, update, and deprecation policy for CircleCI Docker Convenience Images.


Describe the bug Can't run a rails application because it does not find libffi. Seems like PR #136 updated the base Ubuntu version from 20.04 to 20.10 and I think this caused what is better explained here https://askubuntu.com/questions/1286772/libffi-so-7-cannot-open-shared-object-file-no-such-file-or-directory

To Reproduce Please provide steps to reproduce the behavior, such as a sample job or config file.

Expected behavior A clear and concise description of what you expected to happen.

Workarounds Are there any current workarounds for this bug that can be used currently?

Screenshots and Build Links If possible, add screenshots and links to jobs to help explain your problem.

Additional context Add any other context about the problem here.

BytesGuy commented 1 year ago

Hi, are you using caching for your gems? If so please roll your cache and see if this helps resolve the issue. If it does not, please can you provide us with a sample that allows us to reproduce the issue consistently? Screenshots and build links would also be helpful for us to debug this issue. Thanks!

marciotoshio commented 1 year ago

HI, It might be some cache related issue, I created a new project from scratch using basically same stuff and it passed, thanks will take a look further.