Date: Fri, 3 Jun 2005 05:48:31 +0900 (JST) From: IWATSUKI Hiroyuki <don@na.rim.or.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: knu@FreeBSD.org Subject: ports/81816: [PATCH] devel/ruby18-setup.rb: Fix files/patch-ruby-setup.rb Message-ID: <200506022048.j52KmV9D001198@lemmy.moonrock.local> Resent-Message-ID: <200506022050.j52Ko2Nw067901@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 81816 >Category: ports >Synopsis: [PATCH] devel/ruby18-setup.rb: Fix files/patch-ruby-setup.rb >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jun 02 20:50:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: IWATSUKI Hiroyuki >Release: FreeBSD 5.4-STABLE i386 >Organization: Natsume Co., Ltd. >Environment: System: FreeBSD lemmy.moonrock.local 5.4-STABLE FreeBSD 5.4-STABLE #7: Fri May 13 12:09:15 JST 2005 >Description: Fix files/patch-ruby-setup.rb. Port maintainer (knu@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: % ruby-setup.rb /usr/local/bin/ruby-setup.rb:681:in `instance': undefined method `pwd' for File:Class (NoMethodError) from /usr/local/bin/ruby-setup.rb:675:in `invoke' from /usr/local/bin/ruby-setup.rb:1353 >Fix: --- ruby18-setup.rb-3.3.1.patch begins here --- Index: files/patch-ruby-setup.rb =================================================================== RCS file: /home/ncvs/ports/devel/ruby-setup.rb/files/patch-ruby-setup.rb,v retrieving revision 1.4 diff -u -p -u -r1.4 patch-ruby-setup.rb --- files/patch-ruby-setup.rb 21 Dec 2003 18:02:42 -0000 1.4 +++ files/patch-ruby-setup.rb 2 Jun 2005 20:37:43 -0000 @@ -5,7 +5,7 @@ def ToplevelInstaller.instance - @singleton ||= new(File.dirname($0)) -+ @singleton ||= new(File.pwd) ++ @singleton ||= new(Dir.pwd) @singleton end --- ruby18-setup.rb-3.3.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506022048.j52KmV9D001198>