On Thursday, July 31, 2003, at 05:44 PM, s moon wrote:
I tried this code using Ruby 1.8.0preview6 and it worked without any> 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
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.