From: Jason H. <jh...@ap...> - 2012-03-02 16:13:10
|
Known to work on Debian Squeeze? Not that I know of. But it should work. String#oct certainly does exist in ruby 1.8. In fact I'd hazard that it's been in ruby since the earliest days since it's a pretty direct carryover from perl. jheiss@sleet:~/projects/etch/trunk> irb 1.8.7 :001 > RUBY_VERSION => "1.8.7" 1.8.7 :002 > '10'.oct => 8 I just ran the etch test suite under ruby 1.8.7 (on a CentOS 5 box) and it ran fine. Did you see an error related to String#oct? With the error you posted below it's not clear what went wrong. The warning is just that, nothing fatal. I'm not sure where the "No such file or directory" came from. I suggest running with --debug and see if that helps, or send us the output and maybe we'll spot something. Jason On Feb 28, 2012, at 7:07 AM, Alex Young wrote: > Hi there, > > Is etch-3.19.0 known to work on Debian Squeeze? I ask because the > Getting Started instructions seem a little broken. > > It would seem that ruby1.8 is no longer supported - String#oct doesn't > exist in 1.8, for instance. This means that on Squeeze, we need to use > the ruby1.9.1 package. `apt-get install facter` only installs the > library for 1.8, which means we have to use rubygems. Using > rubygems-1.8.7.tgz from rubygems.org, I can install facter-1.6.5 and run: > > $ ./etch --generate-all --interactive --local ../etchserver-demo > > but it spews a couple of screens'-worth of warnings before quitting with: > > W, [2012-02-28T12:00:19.151350 #24223] WARN -- : No entry found for > node <my-hostname> in nodes.xml > No such file or directory > > and a failure exit code. I don't know if that's a sign that I've missed > a step somewhere, or if that's actually intended behaviour, or what. No > files get created in /tmp, although /var/etch does get built. > > Any guidance gratefully received. Thanks, > -- > Alex > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > etch-users mailing list > etc...@li... > https://lists.sourceforge.net/lists/listinfo/etch-users |