From: Albert Schlef Date: 2008-05-15T00:36:39+09:00 Subject: Re: 'requiring' a local module... Sergio Ruiz wrote: > i have a file called "syndication.rb" > in the same directory, i have a file that says: > require 'syndication/rhapsody' Of course this is wrong. This 'require' loads a file 'syndication/rhapsody.rb'. But you want to load the file 'syndication.rb'. So change it to: require 'syndication' BTW, if you're launching your program not from the directory where it resides, then loading the module would fail. You'll have to tell ruby to load files also from the directory in which you program resides: $:.unshift File.dirname(__FILE__) require 'syndication' -- Posted via http://www.ruby-forum.com/.