Hi everybody, AFAICT ohai works fine nowadays:
$ getent passwd 1000 alexander:x:1000:1000:Alexander' Kurtz£,,,,:/home/alexander:/bin/bash $ ohai { [...] "platform": "debian" } $ Chris Butler suggested[1] that this commit to ruby-json might be a fix: https://github.com/flori/json/commit/dd06e48aa414674f52e81f9cdc7836b6456c04f8 This commit seems to be included in the latest version of ruby-json: $ grep --recursive --context=3 'def benchmark_generator_ascii' ruby-json-1.5.3/ ruby-json-1.5.3/benchmarks/generator2_benchmark.rb- ruby-json-1.5.3/benchmarks/generator2_benchmark.rb- alias reset_benchmark_generator_pretty generic_reset_method ruby-json-1.5.3/benchmarks/generator2_benchmark.rb- ruby-json-1.5.3/benchmarks/generator2_benchmark.rb: def benchmark_generator_ascii ruby-json-1.5.3/benchmarks/generator2_benchmark.rb- @result = JSON.generate(@big, :ascii_only => true) ruby-json-1.5.3/benchmarks/generator2_benchmark.rb- end ruby-json-1.5.3/benchmarks/generator2_benchmark.rb- -- ruby-json-1.5.3/benchmarks/generator_benchmark.rb- ruby-json-1.5.3/benchmarks/generator_benchmark.rb- alias reset_benchmark_generator_pretty generic_reset_method ruby-json-1.5.3/benchmarks/generator_benchmark.rb- ruby-json-1.5.3/benchmarks/generator_benchmark.rb: def benchmark_generator_ascii ruby-json-1.5.3/benchmarks/generator_benchmark.rb- @result = JSON.generate(@big, :ascii_only => true) ruby-json-1.5.3/benchmarks/generator_benchmark.rb- end ruby-json-1.5.3/benchmarks/generator_benchmark.rb- $ Unless somebody tells me otherwise, I'm going to reassign this bug to ruby-json and close it with the appropriate version in a few days. Best regards Alexander Kurtz [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596351#50
signature.asc
Description: This is a digitally signed message part