Hi, I'm trying to get Cake to work with TextMate. I've installed both
the TextMate bundle and Cake, but when trying to evaluate a script:

(print (+2 2))

-----------------^ Ctrl-X

I get "env: cake: No such file or directory"

I'm using RVM, so have spent some time studying this thread that
discusses the error:

http://groups.google.com/group/textmate-clojure/browse_thread/thread/7d42a13f50c98fdd

... and my take-away from it is that one needs to have clojure-contrib
installed (which I have, via Homebrew), then create a project folder
with 'cake new' and declare clojure-contrib as a dependency. I've
tried this:

(defproject foo "0.0.1-SNAPSHOT"
  :description "TODO: add summary of your project"
  :dependencies [[clojure "1.2.1", clojure-contrib "1.2.0"]])

(println(+ 1 2 3))

but still get the error. My .bash_profile contains the following:

export CLASSPATH=$CLASSPATH:/usr/local/Cellar/clojure-contrib/1.2.0/
clojure-contrib.jar

What am I doing wrong?

Thanks beforehand,
James


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to