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

Discussion in 'Ruby' started by mediastoreSA@googlemail.com, Oct 7, 2008.

  1. Guest

    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
     
    , Oct 7, 2008
    #1
    1. Advertising

  2. On Oct 7, 7:33=A0am, wrote:
    > 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
     
    Daniel Berger, Oct 7, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ruby Ruby
    Replies:
    0
    Views:
    220
    Ruby Ruby
    Apr 22, 2004
  2. DocPneumo
    Replies:
    4
    Views:
    255
    DocPneumo
    Jan 17, 2007
  3. Jeffrey 'jf' Lim
    Replies:
    5
    Views:
    540
    Jeffrey 'jf' Lim
    Apr 9, 2007
  4. William Antjoule
    Replies:
    1
    Views:
    123
    Jim McKerchar
    Oct 7, 2008
  5. Toshiro Miballza

    `require': no such file to load on Windows

    Toshiro Miballza, May 30, 2010, in forum: Ruby
    Replies:
    3
    Views:
    134
    Caleb Clausen
    May 30, 2010
Loading...

Share This Page