SAP RFC Access from Ruby – nwrfc
nwrfc is a Ruby Gem to allow you to access an SAP ABAP system via RFC, using the NW RFC SDK library and Ruby-FFI to access the library.
The project is hosted at https://github.com/mydoghasworms/nwrfc and the Gem is hosted on Rubygems (https://rubygems.org/gems/nwrfc), so you can install the latest version with:
gem install nwrfc
Be sure to check out the wiki on the GitHub page for some examples.