kgio provides non-blocking I/O methods for Ruby without raising exceptions on EAGAIN and EINPROGRESS. It is intended for use with the Unicorn and Rainbows! Rack servers, but may be used by other applications (that run on Unix-like platforms).
Gemfile gem 'kgio', '~> 188.8.131.52.gfd1e'
install gem install kgio -v 184.108.40.206.gfd1e --pre