Closed svoop closed 2 years ago
That's strange.
checking for rb_fiber_transfer() in ruby.h... yes
The rb_fiber_transfer
API has been added to ruby.h
only in Ruby 3.1 if I'm not mistaken. On my machine with Ruby 2.7.5, Polyphony installs successfully, and the check behaves normally:
Building Polyphony... ({:linux=>true, :pidfd_open=>true, :io_uring=>true})
checking for rb_fiber_transfer() in ruby.h... no
Polyphony also installs correctly on Ruby 2.7.5 in the CI: https://github.com/digital-fabric/polyphony/runs/5261101899?check_suite_focus=true#step:5:19
How did you install Ruby 2.7.5?
I've installed Ruby 2.7.5 with ruby-install
:
ruby-install -s ~/.rubies_src ruby 2.7.5 -- --with-jemalloc CPPFLAGS="$CPPFLAGS -I $HOMEBREW_PREFIX/include" LDFLAGS="$LDFLAGS -L $HOMEBREW_PREFIX/lib"
Hey @svoop I just pushed version 0.90 which should take care of your problem. Please let me know if you encounter any more issues.
Works like a charm now, thanks a lot, @ciconia !
Installing Polyphony with
gem install
on Ruby 2.7.5 fails with:However, it installs just fine on Ruby 3.1.1.