berkesokhan / rubydotnetcompiler

Automatically exported from code.google.com/p/rubydotnetcompiler
1 stars 0 forks source link

Rubycompiler has unhandled exception #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run rubycompiler from command promot without a file name
2. Throws an error message with a fault message

What is the expected output? 
to exit gracefully with a message to enter a filename 
or
prompt for filenames

What do you see instead?
C:\Program Files\Ruby.NET\bin>rubycompiler

Unhandled Exception: System.Exception: No inputs specified
   at Ruby.Compiler.Compiler.Process(String[] args, TaskLoggingHelper log)
   at Ruby.Compiler.Compiler.Process(String[] args)
   at RubyCompiler.Main(String[] args)

C:\Program Files\Ruby.NET\bin>

Please use labels and text to provide additional information.

Original issue reported on code.google.com by gan...@gmail.com on 23 Jul 2007 at 6:52

GoogleCodeExporter commented 9 years ago
The version that is being tested is 
ver 1.8.2 
release date 2006-06-30

Original comment by gan...@gmail.com on 23 Jul 2007 at 7:03

GoogleCodeExporter commented 9 years ago

Original comment by DrWayneK...@gmail.com on 8 Aug 2007 at 12:18

GoogleCodeExporter commented 9 years ago
According with MRI (also, I've patched Ruby.exe), I think it's good for reading 
script from stdin (System.Console in .NET).
For example:
C:\>type script.rb | rubycompiler
 -> -.exe

But I'm not sure the name -.exe is acceptable or not.

Original comment by art...@gmail.com on 24 Aug 2007 at 4:14

GoogleCodeExporter commented 9 years ago
fixed in r95.
If no file was given, the compiler shows 'No inputs specified'.

Original comment by art...@gmail.com on 17 Sep 2007 at 1:40