From: Prog Rammer Date: 2012-12-17T21:07:26+09:00 Subject: Re: Uncaught exception: cannot load such file -- Carlo E. Prelz wrote in post #1089363: > Subject: Uncaught exception: cannot load such file -- > Date: Mon 17 Dec 12 08:10:01PM +0900 > > Quoting Prog Rammer (lists@ruby-forum.com): > >> if I run: >> ruby test.rb it gives following error: >> >> Uncaught exception: cannot load such file -- include_test > > Try > > require './include_test.rb' is working. > or > > require_relative 'include_test.rb' gives error: LoadError: cannot infer basepath > Carlo Is it so that require 'file_name' doesnt work with ruby 1.9.3 but works for 1.8.7? -- Posted via http://www.ruby-forum.com/.