From brent at netomata.com Thu Oct 28 14:05:55 2010 From: brent at netomata.com (Brent Chapman) Date: Thu, 28 Oct 2010 14:05:55 -0700 Subject: [NCG-Users] Newest Ruby Facets library (v 2.9.0) breaks NCG Message-ID: It looks like the Ruby Facets library has been reorganized in its latest release (version 2.9.0, released on 1 Sep 2010), and some of the code that NCG depends upon (in particular, the "Dictionary" class) has been spun off to a different library (the "Hashery" library; see http://rubyworks.github.com/hashery). The Dictionary class was included in Facets versions up to and including 2.8.4. From some quick testing, it looks like everything works if you install Facets 2.8.4. Because of the way the Ruby 'require' mechanism works, you can have this in _addition_ to Facets 2.9.0; the Ruby 'require' system will look for a class in older versions of a library, if it can't find the class in the current version. So, the workaround, if you run into this problem, is to _also_ install version 2.8.4 of Facets (note that this will NOT overwrite the later Facets 2.9.0 version on your system, so anything that depends on Facets 2.9.0 should be fine), via the following command as root: gem install -v 2.8.4 facets Thanks to Bryan Wann , who reported this problem. -Brent -- Brent Chapman Netomata, Inc. -- www.netomata.com Making networks more cost-effective, reliable, and flexible by automating network configuration -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.netomata.com/pipermail/ncg-users/attachments/20101028/ff040f46/attachment.htm