From: Paul Brannan Date: 2008-04-24T02:20:07+09:00 Subject: Re: Shoes and require On Thu, Apr 24, 2008 at 01:09:44AM +0900, Gennady Bystritsky wrote: > Apparently, your current directory is not the same as where your files > are and you are invoking your application by path. If so, you need to > do the following before 'require': > > $: << File.dirname(__FILE__) If you're using 1.9, then: require 'require_relative' require_relative('feature') > On Thu, Apr 24, 2008 at 12:59:37AM +0900, Asdf Fsda wrote: > > is in the same Directory like the Shoes.app File i get a "no such file > > to load error". Is it not possible to require files? The require method doesn't take a filename as a parameter; it takes a "feature name". Changing my thinking to this paradigm has saved me from being frustrated with Ruby for not working the way I expect. Paul