From: Tara Keane Date: 2010-11-30T23:36:45+09:00 Subject: Re: 'require' is not recognised Sorry if I wasn't specific before I'm in irb and as soon as I type the first line of code i.e. require benchmark I get the error 'undefined local variable or method 'benchmark' for main:Object Then I tried saving all the code in a text file and running it from cmd prompt with Ruby test.rb and I got the same error. -- Posted via http://www.ruby-forum.com/.