Re: [wmii] ENV['WMII_ADDRESS'] problem with latest Ruby-IXP/libixp/wmii?

From: Suraj N. Kurapati <skurapat_AT_ucsc.edu>
Date: Sat, 21 Oct 2006 18:43:34 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andy Gimblett wrote:
> So, it finds the ixp rake OK, but is failing to connect in some way.
> Looking at line 129 in client.rb, we see:
>
> def initialize aSocketPath = ENV['WMII_ADDRESS']
> raise 'Nowhere to connect' unless aSocketPath
>
> So the problem is this ENV['WMII_ADDRESS'].

Thank you for the report.

I have updated the SVN trunk accordingly: the default value for the
socket path in IXP::Client's constructor has been removed. Instead,
one must explicitly specify the socket path when instantiating the
IXP::Client class.

  c = IXP::Client.new ENV['WMII_ADDRESS']
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFOszGmV9O7RYnKMcRAusWAJ9AVVjfkqVBso0LAC9RsD2MvEhpUACfXIPB
K1nfc8imoga5LC4IG7bVJGU=
=m00v
-----END PGP SIGNATURE-----
Received on Sun Oct 22 2006 - 03:43:36 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:16:10 UTC