[#7055] More on VC++ 2005 — Austin Ziegler <halostatue@...>

Okay. I've got Ruby compiling. I'm attempting to get everything in

17 messages 2006/01/05
[#7058] Re: More on VC++ 2005 — nobuyoshi nakada <nobuyoshi.nakada@...> 2006/01/06

Hi,

[#7084] mathn: ugly warnings — hadmut@... (Hadmut Danisch)

Hi,

22 messages 2006/01/10
[#7097] Re: mathn: ugly warnings — Daniel Berger <Daniel.Berger@...> 2006/01/10

Hadmut Danisch wrote:

[#7098] Design contracts and refactoring (was Re: mathn: ugly warnings) — mathew <meta@...> 2006/01/10

Daniel Berger wrote:

[#7118] Re: Design contracts and refactoring (was Re: mathn: ugly warnings) — mathew <meta@...> 2006/01/12

*Dean Wampler *<deanwampler gmail.com> writes:

[#7226] Fwd: Re: Question about massive API changes — "Sean E. Russell" <ser@...>

Hello,

23 messages 2006/01/28
[#7228] Re: Question about massive API changes — Caleb Tennis <caleb@...> 2006/01/28

>

Re: Some troubles with an embedded ruby interpreter

From: Matt Mower <matt.mower@...>
Date: 2006-01-26 11:11:13 UTC
List: ruby-core #7219
Hi Wim,

On 26/01/06, wvdbos@goudappel.nl <wvdbos@goudappel.nl> wrote:
> rb_load_file is a routine called from within rb_f_load (the routine called
> by a Ruby-cript if you use 'load "afile.rb"')
> But this routine is static, if you look at the source it calls rb_load:

Ah. I was working from the information in Programming Ruby (2nd ed)
which seems to suggest that rb_load_file() should do this. I didn't
backtrack to find it called from rb_load(). I will give your
suggestion a try.

I assume that the reason for the behaviour I saw was that, when I
specified the full path, rb_load_file() was *loading* the file, but
didn't execute any of the code inside, but would still trigger an
exception when the file did not exist.

Thanks for the pointer.

Regards,

Matt

--
Matt Mower :: http://matt.blogs.it/


In This Thread

Prev Next