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

 
 

bug #31837: Problem with $LOAD_PATH or something alike

Submitter:  None
Submitted:  Thu 09 Dec 2010 10:04:03 PM UTC
   
 
Category:  report Severity:  High
Priority:  5 - Normal Item Group:  Crash/Error
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code