Doesn't ir.exe my_spec.rb work also? You won't get any configuration benefits "spec" gives you, but it should still run. If not, then just copy "spec" and "spec.bat" from the ruby bin directory (usually C:\ruby\bin) to where ir.exe is located, rename them to "ispec", and edit ispec.bat to run ispec with IronRuby.
~js ________________________________ From: [email protected] [[email protected]] on behalf of Thibaut Barrère [[email protected]] Sent: Tuesday, July 14, 2009 12:35 PM To: ironruby-core Subject: [Ironruby-core] How to run 'spec' on an individual sample ? Hi, is there a specific trick to be able to launch a single rspec example when working with IronRuby ? The regular way of doing this is to call "spec my_spec.rb", which defaults to using MRI afaik. Are other people patching the spec script manually, or is there a cleaner alternative ? -- Thibaut
_______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
