dbremner / rubydotnetcompiler

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

rubycompiler.exe throws exception when no file name is given #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In windows go te cmd prompt in the Ruby.net\bin folder
2. enter rubycompiler without a file name to compile

What is the expected output? What do you see instead?
The expected output should be a prompt for a file name or a message that a
file name should be present

What is seen is:
======================================================
C:\Program Files\Ruby.NET\bin>ruby

Unhandled Exception: Ruby.Runtime.RubyException: Could not find file
'C:\Program
 Files\Ruby.NET\bin\-'.
   at Ruby.File.load_file(Frame caller, String fname, Boolean xflag,
List`1& more_options, TaskLoggingHelper log)
   at Ruby.Compiler.RubyEntry.proc_options(Int32 first, String[] args)
   at Ruby.Compiler.RubyEntry.process_options()
   at Ruby.Compiler.RubyEntry.Process(String[] args)
   at RubyMain.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:49

GoogleCodeExporter commented 8 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 8 years ago

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

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
Are we talking about Ruby.exe or RubyCompiler.exe here?

(the issue title and contents seems to contradict)

Has this been fixed already?
(I'm unable to reproduce the behaviour)

Original comment by DrWayneK...@gmail.com on 14 Sep 2007 at 6:16

GoogleCodeExporter commented 8 years ago
This issue is for Ruby.exe (Issue#3 for RubyCompiler.exe).
Fixed in r69.

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