Search code examples
.netconsoleironrubyread-eval-print-loop

IronRuby REPL with required .NET assemblies


What is the best way to put together a "shortcut" to launch a IronRuby REPL with some .NET assemblies preloaded? I think there is a way to do this in Powershell (via Snapin or Module) and I'm looking for something similar in IronRuby.


Solution

  • create a bat file that executes

    ir -S irb -r irb/completion -r bin/Assembly1.dll -r bin/Assembly2.dll