Undefined local variable or method location_of_caller' for
Time:Class
I followed the steps to build 0.7b as presented in Thomas
Balthazar's "5 Playing with Cappuccino 07.b" screencast.
wbj ~/cappuccino_from_github/cappuccino (master)$ git checkout
-b 0.7b origin/0.7b Branch 0.7b set up to track remote branch
refs/remotes/origin/0.7b. Switched to a new branch "0.7b" wbj
~/cappuccino_from_github/cappuccino (0.7b)$ clear wbj
~/cappuccino_from_github/cappuccino (0.7b)$ rake release (in
/Users/wbj/cappuccino_from_github/cappuccino) (in
/Users/wbj/cappuccino_from_github/cappuccino) mkdir -p
/Users/wbj/objj_build/Release/env/lib cp
/Users/wbj/cappuccino_from_github/cappuccino/Tools/Utilities/js.jar
/Users/wbj/objj_build/Release/env/lib/js.jar (in
/Users/wbj/cappuccino_from_github/cappuccino/Objective-J) mkdir -p
/Users/wbj/objj_build/Release/Objective-J mkdir -p
/Users/wbj/objj_build/Release/Objective-J/rhino.platform cp
/Users/wbj/cappuccino_from_github/cappuccino/Rake/lib/licenses/LGPL-v2.1
/Users/wbj/objj_build/Release/Objective-J/LICENSE mkdir -p
/Users/wbj/objj_build/Release/env/lib/Frameworks
--cut--
cp
/Users/wbj/cappuccino_from_github/cappuccino/Objective-J/Tools/executable
/Users/wbj/objj_build/Release/env/bin/objjc cp shrinksafe.jar
/Users/wbj/objj_build/Release/env/lib/objjc/shrinksafe.jar (in
/Users/wbj/cappuccino_from_github/cappuccino/Foundation) rake
aborted! undefined local variable or method
location_of_caller' for Time:Class
/Users/wbj/cappuccino_from_github/cappuccino/Foundation/Rakefile:14:innew'
(See full trace by running task with --trace) (in
/Users/wbj/cappuccino_from_github/cappuccino/AppKit) rake
aborted!
Looking at the various Rakefile files, the files containing a
call to "ObjectiveJ::BundleTask.new" are the ones that fail.
The only reference I could find anywhere to 'location_of_caller'
was on this page: http://rubygems.rubyforge.org/rd...
This problem is always repeatable on my machine.
Mac OS X 10.5.6 ruby 1.8.7 (2009-04-08 patchlevel 160)
[i686-darwin9] gem 1.2.3 rake, version 0.8.4
--Bill