General

Profile

jamesotron (James Harton)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

01/30/2014

07:15 AM Ruby Bug #8245: Segfault installing gems on Linux PowerPC with Ruby 2.0.0p0
Sorry, just saw this now. I'll try trunk tomorrow when I get to the office. I can provide a remote shell should it be needed, or can do peer debugging. jamesotron (James Harton)

04/11/2013

05:57 AM Ruby Bug #8245 (Closed): Segfault installing gems on Linux PowerPC with Ruby 2.0.0p0
When attempting to install bundler on a freshly installed Ruby 2.0.0p0 (installed via rvm) on Ubuntu 12.10 running on a G4 PowerPC I receive the following segfault:
[08:51][jnh@cube]~$ gem install bundler
Fetching: bundler-1.3.5.gem ...
jamesotron (James Harton)

04/03/2013

11:03 AM Ruby Feature #8191: Short-hand syntax for duck-typing
OP's original examples involve Rails views, where I'd have to say that a helper or presenter would reduce the view logic in the desired way whereas his solution (which merely replicates Object#try) just golfs the logic in place. jamesotron (James Harton)

02/25/2013

10:55 AM Ruby Bug #7951 (Closed): Cannot rescue SignalException in 1.9.3 or 2.0.0
When running the example provided on http://www.ruby-doc.org/core-1.9.3/SignalException.html we find that neither Ruby 1.9.3p392 nor Ruby 2.0.0p0 are able to rescue SignalException:
```
$ cat <<EOF >signal_exception_test.rb
puts "#{...
jamesotron (James Harton)

11/21/2011

06:43 AM Ruby Bug #5468: IPSocket#valid_v6? in ipaddr.rb contains incorrect regexps
Apologies, you're right. That was a stupid mistake to make :)
However, I'm still getting an invalid address:
ruby-1.9.3-p0 :004 > IPAddr.new('FF32:00FF:A12:34FF:FE56:7890::/96', Socket::AF_INET6)
ArgumentError: invalid addre...
jamesotron (James Harton)

10/21/2011

01:05 PM Ruby Bug #5468 (Closed): IPSocket#valid_v6? in ipaddr.rb contains incorrect regexps
Code to reproduce:
require 'ipaddr'
IPAddr.new('FF32:00FF:A12:34FF:FE56:7890::/96', Socket::AF_INET) # See RFC4489
Fails with:
ArgumentError: invalid address
from /Users/jnh/.rvm/rubies/ruby-1.9.2-p290/lib/rub...
jamesotron (James Harton)

Also available in: Atom