From: internetletter@... (s moon) Date: 2003-08-01T23:12:07+09:00 Subject: Re: error message for Shell class Mark Wilson wrote in message news:... > On Thursday, July 31, 2003, at 05:44 PM, s moon wrote: > > > I trid to test Shell class > > in my system, windows 2000/ruby version win-1.7.3-8 > > > > this is my code: test1.rb > > > > require 'shell' > > sh = Shell.new > > puts sh.pwd > > > > But I got this error message > > > > c:/ruby/lib/ruby/1.7/shell.rb:267: private method `initialize' called > > for Shell: > > :CommandProcessor:Class (NoMethodError) > > from test1.rb:1:in `require' > > from test1.rb:1 > > > > shell.rb:267 is > > > > CommandProcessor.initialize > > CommandProcessor.run_config > > [snip] > > I tried this code using Ruby 1.8.0preview6 and it worked without any > trouble. The Ruby version you're using, 1.7.3-8 is the prior > development release and was superseded by the 1.8 preview releases. The > last stable release was 1.6.8. I recommend getting the latest 1.8 > preview build available for windows -- I have heard that they exist. > > Regards, > > Mark thanks I installed ruby 1.8.0-9 for my windows 2k and it works correctly. s moon