mydoghasworms / nwrfc

SAP Netweaver RFC SDK wrapper via Ruby-FFI
http://ceronio.net/nwrfc/
28 stars 14 forks source link

Cannot get NWRFC to talk to SAPNWRFC.DLL #3

Closed fender21 closed 11 years ago

fender21 commented 11 years ago

Hi, I'm not sure what I'm doing wrong here but I am attempting to use this gem and do have the SAPNWRFC SDK installed on my win7 box. When I a try to import the NWRFC section, it fails to load the SAPNWRFC.DLL properly. Any tips on what may be the root cause here?

irb(main):008:0> require 'rubygems' => false irb(main):009:0> gem 'nwrfc' => false irb(main):010:0> include NWRFC NameError: uninitialized constant Object::NWRFC from (irb):10 from C:/Ruby192/bin/irb:12:in <main>' irb(main):011:0> c = Connection.new NameError: uninitialized constant Object::Connection from (irb):11 from C:/Ruby192/bin/irb:12:in

'

mydoghasworms commented 11 years ago

Use

require 'nwrfc'

instead of

gem 'nwrfc'