From: Gouverneur Cadwalader Date: 2013-04-18T10:46:57+09:00 Subject: Running file from command line issue Hello. This is my first post and I'm new to coding and ruby. I'm trying to learn the basics right now from Lynda.com. I'm trying to run the above file "methods.rb" from the command line. In the command prompt I navigate to the correct folder, switch to irb, and then I use >require"methods.rb". In the lynda tutorial video, this returns >true. It works. When I do it, I get LoadError: cannot load such file -- methods.rb from C:/Ruby200/lob/ruby/2.0/rubygems/core_ext/kernel_require.rb:45:in 'require' from C:/Ruby200/lob/ruby/2.0/rubygems/core_ext/kernel_require.rb:45:in 'require' from (irb):2 from C:/Ruby200/bin/irb:12:in '
' This tutorial I'm watching is about four years old, so he's using an older version of ruby. I know this is probably the simplest thing, but as a newbie I have zero decoding skill. Any help would be appreciated. Lastly, if you know of a better way to start learning ruby than the lynda tutorail series, I'm very open to input of any kind. Thanks in advance, -S. Attachments: http://www.ruby-forum.com/attachment/8351/methods.rb -- Posted via http://www.ruby-forum.com/.