| Message: 89833 |
 |
BY: Christopher Smith (gypsum) DATE: 2009-08-24 16:42 SUBJECT: Problem using require "'windows/pipe'" I am trying to use the pipes extention of the win32 lib but get an error when i try to run the example code.
I started this by downloading the .zip and installing it using "rake install" which provided me with:
cp lib/win32/pipe.rb C:/Ruby/lib/ruby/site_ruby/1.8/win32
cp lib/win32/pipe/client.rb C:/Ruby/lib/ruby/site_ruby/1.8/win32/pipe
cp lib/win32/pipe/server.rb C:/Ruby/lib/ruby/site_ruby/1.8/win32/pipe
When i try to run the example code I get an error like:
C:/Ruby/lib/ruby/site_ruby/1.8/win32/pipe.rb:1:in `require': no such file to load -- windows/pipe (LoadError)
however if if load good ole fxri and type:
require 'windows/pipe'
i get:
=> true
So what gives? | |