General

Profile

byrnejb (James Byrne)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

07/09/2014

08:38 PM Ruby Bug #10021: OptParse does not handle missing arguments bracketed by valid option switches
When I try this:

~~~
--re-run x -r --rerun y -- file
~~~
Then I see this
~~~
:in `eval': Only one output filename is permitted (RuntimeError)
~~~
From which I infer that -r has 'eaten' --rerun as its argument and...
byrnejb (James Byrne)
08:21 PM Ruby Bug #10021 (Closed): OptParse does not handle missing arguments bracketed by valid option switches
OS=CentOS-6.5 x86_64
Ruby=2.1.2p95
I have this in an optparse structure:
# Create parser
opts = OptionParser.new do |opts|
opts.banner = <<-BANNER
. . .
opts.on("-r", "--rerun=DATEorTRANSACTION", "-...
byrnejb (James Byrne)

09/08/2010

01:58 AM Ruby Bug #3799 (Rejected): Unexpected behaviour of require_relative
=begin
I have this code written to handle ruby 1.8 and 1.9.2:

#!/usr/bin/env ruby
byrnejb (James Byrne)

04/17/2010

05:42 AM Ruby Bug #1788: ある種のメソッドをalias_methodしようとすると落ちる
=begin
I am seeing this bug [BUG] rb_add_method: unsupported method type (8) in ActiveSupport-2.3.5

$ etl
/home/byrnejb/projects/proforma.git/vendor/plugins/activewarehouse-etl/lib/etl.rb:36: warning: already initialized constant...
byrnejb (James Byrne)

Also available in: Atom