Ruby (irb) has –r<file> command line option that requires a file before starting repl. Would that work for you?
Tomas From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Porto Carrero Sent: Thursday, August 14, 2008 10:34 AM To: [email protected] 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 <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> 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: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Ivan Porto Carrero Sent: Thursday, August 14, 2008 9:37 AM To: [email protected]<mailto:[email protected]> 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) <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> 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 [email protected]<mailto:[email protected]> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list [email protected]<mailto:[email protected]> 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
_______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
