#5 Playing with Cappuccino 0.7b
In this episode, I’ll explain how to install Cappuccino 0.7b and still be able to play with 0.6. I’ll assume you went through the steps described in episode #2 : Build Cappuccino from the source.
- Download .mov file (27.2 MB, 5:58)
- Download .m4v file for iPod & Apple TV (11 MB, 5:58)
- This episode on Vimeo (HD quality)
- Full episode source code
Here are some useful links about :
- Rubygems
- How to install Ruby and Rubygems on Leopard, by Dan Benjamin (just skip the parts you don’t need)
- Rake
- Git : Git Ready, GitCasts, Git on PeepCode
Here are the commands I run to completely remove Cappuccino 0.6 at the end of the screencast (watch out, those commands really delete files …) :
sudo rm /usr/local/bin/bake sudo rm /usr/local/bin/cplutil sudo rm /usr/local/bin/nib2cib sudo rm /usr/local/bin/objj sudo rm /usr/local/bin/objjc sudo rm /usr/local/bin/ojtest sudo rm /usr/local/bin/press sudo rm /usr/local/bin/steam sudo rm -Rf /usr/local/share/objj
Your comments/remarks are welcome here!


For ubuntu users:
No sure what exactly the problem is here but this made building work for me if you keep getting an error “rake aborted!” “no such file to load — plist”
sudo apt-get install ruby gem rdoc1.8
# install gems
wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz
tar xvzf rubygems-1.3.1.tgz
cd rubygems-1.3.1 && sudo ruby setup.rb
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
sudo gem update
sudo gem update –system
cd ..
rm -Rf rubygems-1.3.1*
# install rake
sudo gem install rake
Checkout thomas’s ubuntu machine to do this the good way tho
[...] Ubuntu Linux, you have to install them. Here are the commands that worked for me. I’ve also published a screencast that explains how to build [...]
First, thanks for your very informative screencasts.
While working thru the steps to build 0.7b, I get several errors like this:
(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:in `new’
I don’t know if this is a problem with my setup or a Cappuccino problem.
Mac OS X 10.5.6
ruby 1.8.7 (2009-04-08 patchlevel 160) [i686-darwin9]
rake, version 0.8.4
Thanks for any insights.
Bill
Thomas, I did some more drill-down about this problem and posted bug #279 to cappuccino.
@bill : thanks for reporting. Having a look at your logs, I don’t know what’s happening. I’ll let you know if I find a solution.
By far the most concise and up to date information I found on this topic. Sure glad that I navigated to your page by accident. I’ll be subscribing to your feed so that I can get the latest updates. Appreciate all the information here