From: Gavin Sinclair Date: 2003-01-20T23:04:22+09:00 Subject: Re: loading problem On Monday, January 20, 2003, 8:53:32 PM, TOTO wrote: > There is a program, like this: > #! /usr/bin/env ruby > #... > require 'getoptlong' > #... > [...] > There seems to be nothing wrong with the loading paths and the getoptlong.rb > is in /usr/local/ruby/l.6.8/lib/ruby/1.6 . Really confused. Can someone expert > help? Can you reproduce it in the simplest case? $ ruby puts $: require 'getoptlong' ^D My first instinct would be not to trust /usr/bin/env/ruby. At least find out where 'ruby' is, and then see what its load path is. Also try giving require an absolute path. Gavin