I installed hobix with a custom configuration:
$ ruby setup.rb --bindir=/usr/local/bin --datadir=/usr/local/share
But 'hobix.rb' didn't take the specified 'datadir' into account.
So I patched the file:
--- /usr/local/lib/site_ruby/1.8/hobix.rb~ 2006-04-02
10:17:06.000000000 +0200
+++ /usr/local/lib/site_ruby/1.8/hobix.rb 2006-04-02
10:25:58.000000000 +0200
@@ -212,7 +212,7 @@
CVS_ID = "$Id: hobix.rb 124 2006-03-24 23:44:03Z why $"
CVS_REV = "$Revision: 124 $"[11..-3]
## Share directory contains external data files
- SHARE_PATH = "#{ ::Config::CONFIG['datadir'] }/hobix/"
+ SHARE_PATH = "/usr/local/share/hobix/"
## Get a top-level constant from a string
def self.const_find( tclass )
May be the 'hobix.rb' should be automatically configured during
installation process.
Do you want me to add an entry in the Bug Tracking System?
_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way