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

List:       ruby-core
Subject:    [ ruby-Bugs-5941 ] "nundefined method `to_str' for nil:NilClass" exception from mkmf.rb when doing "
From:       <noreply () rubyforge ! org>
Date:       2006-09-28 17:59:33
Message-ID: 20060928175932.074CB5241548 () rubyforge ! org
[Download RAW message or body]

Bugs item #5941, was opened at 2006-09-28 10:59
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=5941&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 mkmf.rb when doing "make distclean"

Initial Comment:
Following patch appears to fix the problem:

--- extmk.rb.orig       2006-09-21 06:58:33.000000000 -0700
+++ 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=5941&group_id=426

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

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