From: Josh Cheek Date: 2011-03-07T08:05:53+09:00 Subject: Re: class cannot find module --001517491d54a3752f049dd86b3f Content-Type: text/plain; charset=ISO-8859-1 On Sun, Mar 6, 2011 at 3:55 PM, Catsquotl wrote: > Hi, > > I have a class and a module I want to mix in.. > I tried a few thing, but the following error keeps appearing > ------------------------------------ > C:/Users/Eelco ten Have/shiatsuRuby/acupunt.rb:2:in `': > uninitial > ized constant Acupunt::InstanceEditor (NameError) > --------------------------------------- > > I guess somehow include does not look in the working directory.. > I am using Geany as an editor/IDE > > any ideas how to fix this? > Eelco > > Include doesn't work with files. Where is your file that you have defined Acupunct::InstanceEditor? You should require that file in acupunt.rb --001517491d54a3752f049dd86b3f--