Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
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?


Thread View

Thread Author Date
Problem using require "'windows/pipe'"Christopher Smith2009-08-24 16:42
      RE: Problem using require "'windows/pipe'"Daniel Berger2009-08-24 16:48
            RE: Problem using require "'windows/pipe'"Christopher Smith2009-08-24 17:55
                  RE: Problem using require "'windows/pipe'"Daniel Berger2009-08-24 18:36
                        RE: Problem using require "'windows/pipe'"Christopher Smith2009-08-24 20:47
                              RE: Problem using require "'windows/pipe'"Christopher Smith2009-08-24 20:59
                                    RE: Problem using require "'windows/pipe'"Daniel Berger2009-08-27 19:18

Post a followup to this message