Command Line Options

Hi, I’m new to IronRuby. I downloaded “IronRuby Alpha” and I am confused
about the command line options of ir.exe. If I do:

ir.exe -h

It does not even list the option -AI which is used by ir.cmd. Is there a
list of all the command line options somewhere? Is there a source code
file I should look into in IronRuby itself?

Thanks,

This option will be removed in the next release.

The file is Ruby\Hosting\RubyOptionsParser.cs

Tomas

Thanks. I tried the -save option to create a DLL but it doesn’t seem to
be working?

FYI

[email protected]:/usr/src/svn/rubyforge/ironruby$ svn info
trunk/src/ironruby/Hosting/RubyOptionsParser.cs
Path: trunk/src/ironruby/Hosting/RubyOptionsParser.cs
Name: RubyOptionsParser.cs
URL:
http://ironruby.rubyforge.org/svn/trunk/src/ironruby/Hosting/RubyOptionsParser.cs
Repository Root: http://ironruby.rubyforge.org/svn
Repository UUID: 35c07f8d-9825-4069-8e05-7d567adbdaa8
Revision: 138
Node Kind: file
Schedule: normal
Last Changed Author: jlam
Last Changed Rev: 135
Last Changed Date: 2008-08-19 20:34:58 +0000 (Tue, 19 Aug 2008)
Text Last Updated: 2008-08-26 20:20:34 +0000 (Tue, 26 Aug 2008)
Checksum: 39528db3319697c0e5c19deec70393c5

Right, precompilation is not supported yet. -save is an experimental
option.

Tomas

Yes, the -save option C.J. pointed to does create the DLL, but running
ildasm on it, there’s nothing in there. I’m guessing this is a feature
that isn’t supported yet and that I will have to write my own DLL
creation? If so, any hints on how to do this?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs