[Ironruby-core] inspect in console

Ivan Porto Carrero ivan at flanders.co.nz
Thu Jul 24 15:15:39 EDT 2008


Hi,

Did the -i switch break on the ir command ?

I create a file test.rb with the following content:

myvar = "hello world"
puts myvar

and then type in ir -i test.rb

That yields:  (loosely translated I can't find the file .....\-i )
mscorlib:0:in `WinIOError': Kan bestand
C:\projects\lumpr\src\Sylvester.DesktopEdition\Sylvester.IronRuby\-i niet
vinden
. (System::IO::FileNotFoundException)
        from mscorlib:0:in `Init'
        from mscorlib:0:in `.ctor'
        from
c:\tools\IronRuby\src\microsoft.scripting.core\PlatformAdaptationLayer.cs:187:in
`OpenInputFileStream'
        from
c:\tools\IronRuby\src\microsoft.scripting.core\SourceFileContentProvider.cs:62:in
`GetStream'
        from
c:\tools\IronRuby\src\microsoft.scripting.core\SourceFileContentProvider.cs:45:in
`GetStream'
        from
c:\tools\IronRuby\src\microsoft.scripting.core\runtime\languageboundtextcontentprovider.cs:38:in
`GetReader
'
        from
c:\tools\IronRuby\src\microsoft.scripting.core\sourceunit.cs:102:in
`GetReader'
        from
c:\tools\IronRuby\src\microsoft.scripting.core\sourceunit.cs:212:in
`Compile'
        from
c:\tools\IronRuby\src\microsoft.scripting.core\sourceunit.cs:246:in
`ExecuteProgram'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080724/89032d30/attachment.html>


More information about the Ironruby-core mailing list