Search code examples
rubystringio

The specified procedure could not be found. - Init_StringIO


Can someone tekl me what's going on here? This used to work for me but now I'm getting this error in both ruby 1.8.7 and ruby 1.9.3

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

Solution

  • just a problem with case:

    require 'stringio'
    str = StringIO.new