Skip to content

Instantly share code, notes, and snippets.

@andruby
Created June 7, 2011 17:53
Show Gist options
  • Save andruby/1012748 to your computer and use it in GitHub Desktop.
Save andruby/1012748 to your computer and use it in GitHub Desktop.
BERT-RPC / Ernie bug
BERTRPC::Service.new("localhost", 9999).call.ernie.echo(2282389)
% Interface module for E.T. via Ernie
-module(ernie).
-export([echo/1).
echo(Response) ->
Response.
@andruby
Copy link
Author

andruby commented Jun 7, 2011

This causes a permanent "hang"/"freeze" on Ruby 1.9.2 but succeeds on Ruby 1.8.7.

Maybe it is an encoding issue? (in 1.9.2)
BERT.encode(2282389) => "\x83b\u0000"ӕ"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment