This is a (hopefully temporary) fork of the original "sendfile" gem for Ruby 2.2.0dev compatibility. Only Linux (and maybe FreeBSD) are supported in this version. Allows Ruby programs to access sendfile(2) functionality on any IO object. Works on Linux, Solaris, FreeBSD and Darwin with blocking and non-blocking sockets.
Gemfile gem 'kgio-sendfile', '~> 188.8.131.52'
install gem install kgio-sendfile