In Ruby, you can run

cd build
ruby app.rb

or you can say

ruby -I./lib build/app.rb

I'm not a rubyist, but I remember this from one of my pet projects

You can add an additional directory for requires, BEFORE launching the
application




On Mon, Aug 26, 2013 at 9:35 AM, Ryan Schmidt <[email protected]>wrote:

>
> On Aug 26, 2013, at 07:25, Gagle wrote:
>
> > What do you think?
>
> As you said this issue affects most languages, perhaps all. I don't think
> it's the language's (or runtime's) responsibility to second-guess the
> programmer (or user) about their environment. I think if you want to
> guarantee that the cwd is something in particular, you should set it the
> way you want it to be.
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to