bugZoneCheck - Bugs: bug #31837, Problem with $LOAD_PATH or...

 
 

bug #31837: Problem with $LOAD_PATH or something alike

Submitted by:  None
Submitted on:  Thu 09 Dec 2010 10:04:03 PM UTC  
 
Category: reportSeverity: High
Priority: 5 - NormalItem Group: Crash/Error
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 20 Dec 2010 03:06:18 PM UTC, comment #1:

For the locale problem, while I'm not an expert in Ruby libraries, I note that the Debian package has this patch, which seems related:

Index: zonecheck-3.0.0/zc/zc.rb
===================================================================
--- zonecheck-3.0.0.orig/zc/zc.rb 2010-06-24 11:19:54.000000000 +0200
+++ zonecheck-3.0.0/zc/zc.rb 2010-06-24 11:21:16.000000000 +0200
@@ -192,7 +192,7 @@

# ZoneCheck component
-require 'locale'
+require 'zc-locale'
require 'msgcat'
require 'console'
require 'zonecheck'

And locale.rb is installed as zc-locale.rb.

It may be useful as a workaround.

Stephane Bortzmeyer <bortzmeyer>
Project Administrator
Thu 09 Dec 2010 10:04:03 PM UTC, original submission:

Hi!

I'm trying to update freebsd port of zonecheck to version 3.0.4. All installs fine, but when i try to start cli version of zonecheck, i get this:

# zonecheck google.com
ERROR: uninitialized constant ZoneCheck::Locale

As far i understand it's because i have ruby-gettext installed that has locale.rb file too in site_ruby. So i've deinstalled ruby-gettext and now has another error:

# zonecheck google.com
ERROR: uninitialized constant ZoneCheck::CheckNetworkAddress::RootServerList::Dbg

My $LOAD_PATH looks like this:

/usr/local/lib/ruby/site_ruby/1.8
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd8
/usr/local/lib/ruby/site_ruby
/usr/local/lib/ruby/vendor_ruby/1.8
/usr/local/lib/ruby/vendor_ruby/1.8/i386-freebsd8
/usr/local/lib/ruby/vendor_ruby
/usr/local/lib/ruby/1.8
/usr/local/lib/ruby/1.8/i386-freebsd8
/usr/local/libexec/zonecheck/zc
/usr/local/libexec/zonecheck/lib

What should i do to make it work?
Thanks.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bortzmeyer (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1