freebsd-ports/devel/ruby-setup.rb/files/patch-ruby-setup.rb
Pav Lucistnik fa7d6a02d2 - Fix runtime (File.pwd -> Dir.pwd)
PR:		ports/81816
Submitted by:	IWATSUKI Hiroyuki <don@na.rim.or.jp>
Approved by:	maintainer timeout (18 days)
2005-07-21 13:36:40 +00:00

11 lines
267 B
Ruby

--- ruby-setup.rb.orig Tue Dec 16 18:45:36 2003
+++ ruby-setup.rb Mon Dec 22 03:02:04 2003
@@ -916,7 +916,7 @@
@singleton = nil
def ToplevelInstaller.instance
- @singleton ||= new(File.dirname($0))
+ @singleton ||= new(Dir.pwd)
@singleton
end