weblink icon indicating copy to clipboard operation
weblink copied to clipboard

fresh install of ruby dev and weblink installs but does not start

Open rimrad opened this issue 3 years ago • 4 comments

this is what i get when i try to start weblink;

C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/weblink-1.1.0/lib/weblink.rb:22:in block in start': undefined method ipv4_private?' for nil:NilClass (NoMethodError)

  ip = Socket.getifaddrs.find { |ifa| ifa.addr.ipv4_private? }
                                              ^^^^^^^^^^^^^^
    from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/weblink-1.1.0/lib/weblink.rb:22:in `each'
    from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/weblink-1.1.0/lib/weblink.rb:22:in `find'
    from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/weblink-1.1.0/lib/weblink.rb:22:in `start'
    from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/weblink-1.1.0/bin/weblink:79:in `<top (required)>'
    from C:/Ruby31-x64/bin/weblink:25:in `load'
    from C:/Ruby31-x64/bin/weblink:25:in `<main>'

rimrad avatar Jan 26 '22 10:01 rimrad