Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

UUID::Client.inspect fails if socket is a UNIXSocket in uuid-2.3.1 #9

Open
patricklucas opened this issue Jan 11, 2011 · 0 comments
Open

Comments

@patricklucas
Copy link

u = UUID::Client.new '/tmp/uuid.sock'
u.inspect
ArgumentError: not an AF_INET/AF_INET6 sockaddr
        from /usr/local/lib/ruby/gems/1.9.1/gems/uuid-2.3.1/lib/uuid.rb:432:in `unpack_sockaddr_in'
        from /usr/local/lib/ruby/gems/1.9.1/gems/uuid-2.3.1/lib/uuid.rb:432:in `inspect'
        from (irb):17
        from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands/console.rb:44:in `start'
        from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands/console.rb:8:in `start'
        from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.0.3/lib/rails/commands.rb:23:in `<top (required)>'
        from script/rails:6:in `require'
        from script/rails:6:in `<main>'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant