nobu.nokada
4/13/2005 4:46:00 AM
Hi,
At Sat, 9 Apr 2005 21:43:03 +0900,
Jim Weirich wrote in [ruby-talk:137578]:
> = Rake 0.5.0 Released
It doesn't run.
$ rake
/usr/lib/ruby/gems/1.9/gems/rake-0.5.3/lib/rake.rb:658:in `private': undefined method `options' for class `Object' (NameError)
from /usr/lib/ruby/gems/1.9/gems/rake-0.5.3/lib/rake.rb:658
from /usr/lib/ruby/gems/1.9/gems/rake-0.5.3/lib/rake.rb:657:in `each'
from /usr/lib/ruby/gems/1.9/gems/rake-0.5.3/lib/rake.rb:657
from /usr/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:18:in `require'
from /usr/lib/ruby/site_ruby/1.9/rubygems/custom_require.rb:18:in `require'
from /usr/lib/ruby/gems/1.9/gems/rake-0.5.3/bin/rake:2
from /usr/bin/rake:18:in `load'
from /usr/bin/rake:18
--- rake-0.5.3/lib/rake.rb.orig 1970-01-01 09:00:00.000000000 +0900
+++ rake-0.5.3/lib/rake.rb 2005-04-12 15:01:59.501750000 +0900
@@ -652,11 +652,6 @@
# define methods on other objects.
-file_utils_methods = (FileUtils.methods - Object.methods)
include RakeFileUtils
-
-file_utils_methods.each do |name|
- private name.to_sym
-end
-file_utils_methods = nil
+private(*FileUtils.instance_methods(false))
######################################################################
--
Nobu Nakada