`require': no such file to load -- win32/sound

M

mediastoreSA

I am trying out the following X10 intergratuion with Bamboo (http://
urlant.com//yvwjlo) and when i installed the one click windows install
of Ruby and run the ruby script, i get the following error:

C:\ruby\bin>ruby C:\ruby\samples\ContinuousIntegrationLampControl
\continuous_bui
lder_lamp_controller.rb
C:/ruby/samples/ContinuousIntegrationLampControl/
continuous_builder_lamp_control
ler.rb:3:in `require': no such file to load -- win32/sound (LoadError)
from C:/ruby/samples/ContinuousIntegrationLampControl/
continuous_builder
_lamp_controller.rb:3

Is there any 101 testing i can do to test that ruby is working
correctly befiore i go to far into hacking the script.

Ww
 
D

Daniel Berger

I am trying out the following X10 intergratuion with Bamboo =A0(http://
urlant.com//yvwjlo) and when i installed the one click windows install
of Ruby and run the ruby script, i get the following error:

C:\ruby\bin>ruby C:\ruby\samples\ContinuousIntegrationLampControl
\continuous_bui
lder_lamp_controller.rb
C:/ruby/samples/ContinuousIntegrationLampControl/
continuous_builder_lamp_control
ler.rb:3:in `require': no such file to load -- win32/sound (LoadError)
=A0 =A0 =A0 =A0 from C:/ruby/samples/ContinuousIntegrationLampControl/
continuous_builder
_lamp_controller.rb:3

Is there any 101 testing i can do to test that ruby is working
correctly befiore i go to far into hacking the script.

Fire up an irb session and type 'require "win32/sound"'.

If that fails, try 'require "rubygems"' first, then try to load win32-
sound. If that works, you either need to set your RUBYOPT environment
variable, or you need to explicitly require rubygems first.

If that doesn't work, then type "gem list" and make sure you have
win32-sound installed.

Regards,

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top