From: unbewusst.sein@... (=?ISO-8859-1?Q?Une_B=E9v?= =?ISO-8859-1?Q?ue?=) Date: 2007-04-07T14:55:04+09:00 Subject: RubyObjC rake failed Hey all ! after downloading and installing "RubyObjC. A Ruby/Objective-C bridge." i did the simplest try-out "myapp" and rake failed, see trace below : ------------------------------------------------------------------------ ------------------------------------------------------------------------ ~/work/RubyObjC/myapp%> rake --trace (in /Users/yt/work/RubyObjC/myapp) ** Invoke default (first_time) ** Invoke app (first_time) ** Invoke executable (first_time) ** Invoke RubyObjC.app/Contents/MacOS (first_time, not_needed) ** Invoke RubyObjC.app/Contents/MacOS/RubyObjC (first_time) ** Invoke /opt/local/lib/ruby/gems/1.8/gems/RubyObjC-0.3.0/lib/rake/../rubyobjcapp (first_time, not_needed) ** Execute RubyObjC.app/Contents/MacOS/RubyObjC rake aborted! wrong number of arguments (3 for 2) /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:725:in `fu_check_options' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:725:in `sh' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:812:in `sh' /opt/local/lib/ruby/gems/1.8/gems/RubyObjC-0.3.0/lib/rake/cocoa.rb:103:i n `initialize' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `call' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `each' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `synchronize' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisites' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `send' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisites' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `synchronize' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisites' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `send' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisites' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `synchronize' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisites' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `send' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisites' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `synchronize' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `each' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /opt/local/bin/rake:16:in `load' /opt/local/bin/rake:16 ~/work/RubyObjC/myapp%> ------------------------------------------------------------------------ ------------------------------------------------------------------------ i get about the same with one of the samples : ------------------------------------------------------------------------ ------------------------------------------------------------------------ ~/work/RubyObjC/samples/maildemo%> rake --trace (in /Users/yt/work/RubyObjC/samples/maildemo) rake aborted! Don't know how to build task 'default' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1449:in `[]' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:455:in `[]' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `each' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /opt/local/bin/rake:16:in `load' /opt/local/bin/rake:16 ------------------------------------------------------------------------ ------------------------------------------------------------------------ as far as i understand this is due to rake not RubyObjC. i think i should upgrade rake ??? my ruby version is : ruby 1.8.6 (2007-03-13 patchlevel 0) [powerpc-darwin8.9.0] Mac OS X 10.4.9 -- Une B�vue