[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

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

William Antjoule

10/7/2008 1:54:00 PM

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
--
Posted via http://www.ruby-....

1 Answer

Jim McKerchar

10/7/2008 3:18:00 PM

0

Have you installed the win32-sound gem?

gem install win32-sound

If you haven't that might explain your problem

William Antjoule wrote:
> 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
>