Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Unable to build 0.7b - 'location_of_caller' errors

#279

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

Reported by Bill · April 27th, 2009 @ 10:36 PM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. ronin-756 (at lighthouseapp)
    ronin-756 (at lighthouseapp)
    • Tag changed from 0.7b, bug, build, rake to 0.7b, @to-acknowledge, bug, build, rake

    April 27th, 2009 @ 11:20 PM

  2. ronin-756 (at lighthouseapp)
    ronin-756 (at lighthouseapp)

    Hello Bill,

    Do you still have the problem since this fix : http://github.com/280north/cappu... ?

    May 1st, 2009 @ 12:32 AM

  3. Bill
    Bill

    Hi Thomas,

    The problem has been resolved. 'rake release' completed without error and 'capp test_0.7b' built a new app folder.

    Thanks!

    --Bill

    May 1st, 2009 @ 06:41 AM

  4. ronin-756 (at lighthouseapp)
    ronin-756 (at lighthouseapp)
    • State changed from new to resolved

    May 2nd, 2009 @ 12:49 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.