Paul Brannan wrote:
> 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__)

__FILE__ #=> (eval)
So that doesent work

> If you're using 1.9, then:

Shoes is using 1.8.6

>> 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.
My problem is that Shoes is not working the way I expect ;)

Fabian
-- 
Posted via http://www.ruby-forum.com/.