[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-core
Subject:    [ ruby-Bugs-5942 ] "nundefined method `to_str' for nil:NilClass" exception from ext/extmk.rb when do
From:       <noreply () rubyforge ! org>
Date:       2006-09-28 18:07:37
Message-ID: 20060928180735.440EC5241548 () rubyforge ! org
[Download RAW message or body]

Bugs item #5942, was opened at 2006-09-28 11:07
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5942&group_id=426

Category: Core
Group: 1.8.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Rick Ohnemus (joast)
Assigned to: Nobody (None)
Summary: "nundefined method `to_str' for nil:NilClass" exception from ext/extmk.rb \
when doing "make distclean"

Initial Comment:
Following patch appears to fix the problem:

--- ext/extmk.rb.orig       2006-09-21 06:58:33.000000000 -0700
+++ ext/extmk.rb    2006-09-28 10:38:29.000000000 -0700
@@ -417,7 +417,7 @@
   Dir.chdir ".."
   if $clean
     Dir.rmdir('ext') rescue nil
-    FileUtils.rm_rf(extout) if $extout
+    FileUtils.rm_rf($extout) if $extout
   end
   exit
 end


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5942&group_id=426


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic