Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest ffi gem requires ruby >= 2.3, so gem install fpm no longer works on centos 7 #1708

Open
fidothe opened this issue Jun 3, 2020 · 2 comments

Comments

@fidothe
Copy link
Contributor

fidothe commented Jun 3, 2020

Assuming 2.0 is the minimum required version, this just needs a simple tweak to the gemspec. I will open a PR

fidothe added a commit to fidothe/fpm that referenced this issue Jun 3, 2020
ffi 1.13 requires Ruby 2.3, which is not supplied by many still-supported distros (e.g Centos/RHEL 7), 1.12.X works there, so restrict to that.

Addresses jordansissel#1708
jordansissel pushed a commit that referenced this issue Jan 19, 2021
ffi 1.13 requires Ruby 2.3, which is not supplied by many still-supported distros (e.g Centos/RHEL 7), 1.12.X works there, so restrict to that.

Addresses #1708
@jameskilo
Copy link

Any workaround?

@rconde01
Copy link

here's a workaround:

yum install git
yum install rh-ruby23 rh-ruby23-ruby-devel
scl enable rh-ruby23 'gem install fpm'
scl enable rh-ruby23 'fpm --version'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants