cotag / http-parser

A super fast http parser for ruby
MIT License
18 stars 17 forks source link

Confirm ffi compiler version? #9

Closed crafterm closed 3 years ago

crafterm commented 3 years ago

Hi Team,

Hope all is going well.

Wanted to confirm the following change:

https://github.com/cotag/http-parser/blob/411825c2769b5894131ceebe910e0210cd047ea1/http-parser.gemspec#L21

It appears ffi-compiler is only available up to 1.0.1:

image

and its ffi itself that is 1.13.1:

image

Building locally does indeed work but the resulting gem appears uninstallable?

➜  http-parser git:(master) gem install http-parser-1.2.2.gem
ERROR:  Could not find a valid gem 'ffi-compiler' (>= 1.13.1, < 2.0) (required by 'http-parser-1.2.2.gem' (>= 0)) in any repository
ERROR:  Possible alternatives: ffi-compiler
➜  http-parser git:(master)

Cheers,

Marcus

bumi commented 3 years ago

I am trying to use the latest master (which includes a fix for Apple M1) as dependency and I got the same issue. I think that should be 1.0.1 ?