From: "Duan, Jingjing" Date: 2011-11-09T14:39:37+09:00 Subject: Re: 'require' problem Try the following 2 commands: ruby -e "puts $:" ruby -I. -e "puts $:" You will see that the 2nd command lists your current directory as one of its load paths. -Jingjing -----Original Message----- From: Kaye Ng [mailto:sbstn26@yahoo.com] Sent: Saturday, November 05, 2011 12:23 AM To: ruby-talk ML Subject: Re: 'require' problem Ryan Davis wrote in post #1030259: > ruby -I. your_script.rb Thanks Ryan, but like I said, I would like to use just *require 'my_script'* =) -- Posted via http://www.ruby-forum.com/.