Ruby 找不到指定的过程。-初始字符串

Ruby 找不到指定的过程。-初始字符串,ruby,stringio,Ruby,Stringio,有人能告诉我这里发生了什么事吗?这曾经对我有用,但现在我在ruby 1.8.7和ruby 1.9.3中都遇到了这个错误 require 'StringIO' #LoadError: 127: The specified procedure could not be found. - Init_StringIO 只是case的一个问题: require 'stringio' str = StringIO.new 是的,我想就是这样,奇怪的是,它曾经以另一种方式为我工作,而现在它不:(

有人能告诉我这里发生了什么事吗?这曾经对我有用,但现在我在ruby 1.8.7和ruby 1.9.3中都遇到了这个错误

require 'StringIO'
#LoadError: 127: The specified procedure could not be found.   - Init_StringIO

只是case的一个问题:

require 'stringio'
str = StringIO.new

是的,我想就是这样,奇怪的是,它曾经以另一种方式为我工作,而现在它不:(