It happens to me too, when I name my file socket.rb and use Ruby
1.9.1. I’m not sure why, since “.” (current directory) is at the very
end of the load path, but it appears to be loading your socket.rb
instead of the Ruby one.
David
–
David A. Black, Senior Developer, Cyrus Innovation Inc.
THE Ruby training with Black/Brown/McAnally
COMPLEAT Coming to Chicago area, June 18-19, 2010!
RUBYIST http://www.compleatrubyist.com
It happens to me too, when I name my file socket.rb and use Ruby
1.9.1. I’m not sure why, since “.” (current directory) is at the very
end of the load path, but it appears to be loading your socket.rb
instead of the Ruby one.
I think 1.9 started preferring .rb files over .so files, where possible.