Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2003 12:14:19 -0500
From:      Lucas Wilcox <Lucas_Wilcox@brown.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Problems compiling Ruby port
Message-ID:  <20030114171419.GA20716@swirlee.ath.cx>

next in thread | raw e-mail | index | archive | help

--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,
I have been having trouble installing ruby on my freebsd box using the
port.  The typescript of the port trying to build can be found at
http://www.dam.brown.edu/people/lucasw/pub/typescript.  I
have found that if apply the attached patch patch everything compiles.  So my
question is what am I doing wrong so that the require ruby command is
not adding a .rb to the end of the file names it is searching for?

Thanks,
Lucas

uname -a
FreeBSD swirlee.ath.cx 4.7-RELEASE-p1 FreeBSD 4.7-RELEASE-p1 #1: Thu Dec
19 20:34:18 EST 2002 root@swirlee.ath.cx:/usr/obj/usr/src/sys/FLIPSIDE  i386



--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ruby.patch"

--- ruby-1.6.8/mkconfig.rb.orig	Thu Jan  9 11:42:32 2003
+++ ruby-1.6.8/mkconfig.rb	Thu Jan  9 11:42:53 2003
@@ -1,6 +1,6 @@
 #!./miniruby -s
 
-require File.dirname($0)+"/lib/ftools"
+require File.dirname($0)+"/lib/ftools.rb"
 mkconfig = File.basename($0)
 
 rbconfig_rb = ARGV[0] || 'rbconfig.rb'

--liOOAslEiF7prFVr--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030114171419.GA20716>