From: Krishna Rokhale Date: 2010-01-27T10:23:40+09:00 Subject: require files namespace! Hi, this seems to be bugging me for a bit now. I am creating a gem with tool.rb in the /lib folder module Tool require 'tool/word.rb' require 'tool/sentence.rb' end and the word.rb is class Tool::Word def methods........ end and sentence.rb is class Tool::Sentence def methods....... end and i am using irb >> require 'tool.rb' NameError: undefined local variable or method `tool' for main:Object from (irb):1 I am not sure how to include the files! I appreciate your help. Thanks! -- Posted via http://www.ruby-forum.com/.