[Ironruby-core] IronRuby binary disribution

Tomas Matousek Tomas.Matousek at microsoft.com
Thu Aug 14 13:47:08 EDT 2008


Ruby (irb) has –r<file> command line option that requires a file before starting repl.
Would that work for you?

Tomas

From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ivan Porto Carrero
Sent: Thursday, August 14, 2008 10:34 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] IronRuby binary disribution

Yep I can do require 'foo'

but I want to set up a rake task or a script in ironnails that loads the environment but doesn't start the application. So that you can interact with the application.


2008/8/14 Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>>

Couldn't you run 'require "foo"' on the interactive command line to achieve the same effect?



Events still need some work. Detaching is not supported yet.



Tomas



From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Ivan Porto Carrero

Sent: Thursday, August 14, 2008 9:37 AM
To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>
Subject: Re: [Ironruby-core] IronRuby binary disribution



cool thanks


Is there a way to inspect interactively after running a script ?
I used to use ir -i but -i is used for something differently I've been told last time.

And the last question I had is:
How do I detach an event handler the equivalent of -= in C#?

2008/8/14 John Lam (IRONRUBY) <jflam at microsoft.com<mailto:jflam at microsoft.com>>

Jim Deville:

> If you're running ir.cmd, it should be including the -I options for
> you.

Not sure if this helps, but ir.cmd has gone away in the r128 build. We are now configuring the relative paths to the different directories via ir.exe.config:

<configuration>
 <appSettings>
   <add key="LibPaths" value="..\..\lib\IronRuby;..\..\lib\ruby\site_ruby\1.8;..\..\lib\ruby\site_ruby;..\..\lib\ruby\1.8" />
 </appSettings>
</configuration>

Thanks,
-John

_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core



_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core



--
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
GSM: +32.486.787.582
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080814/08954e84/attachment.html>


More information about the Ironruby-core mailing list