The version of cake I'm using is the master branch from:

https://github.com/ninjudd/cake

and the version of clojure-textmate is the master branch from

https://github.com/swannodette/textmate-clojure

It seems that cake and leiningen will unify so I don't know if the new 
versions of cake are still compatibles with the plugin (I'm using emacs
now for clojure development).

Juan Manuel

El jueves 1 de marzo de 2012 14:40:56 UTC+1, James escribió:
>
> Hi Juan Manuel - thanks for the tip. I've just added /Users/ 
> abbottjam/.rvm/gems/ruby-1.9.3-p0/bin/cake to the start of my PATH in 
> Shell Variables - but am getting the same error! 
>
> When I press cmd+R a pop-up window says "Cake started" - it's the ctrl 
> +X command that's not working. 
>
> Thanks, 
> James 
>
> On Feb 29, 7:28 pm, JuanManuel Gimeno Illa <jmgim...@gmail.com> wrote: 
> > Maybe it is that you haven't included the directory where the cake 
> > executable is in the text mate PATH. 
> > 
> > For instance, my PATH is defined 
> > as: /Users/jmgimeno/Local/cake/bin:/usr/bin 
> > 
> > because my cake executable is in /Users/jmgimeno/Local/cake and textmate 
> > needs /usr/bin for other things. 
> > 
> > To change it you can go to Texmate -> Preferences -> Advanced and select 
> > the Shell Variables tab. 
> > 
> > Hope this helps, 
> > 
> > Juan Manuel 
> > 
> > PS: FWIW the clojure bundle no longer needs contrib. 
> > 
> > El miércoles 29 de febrero de 2012 14:30:00 UTC+1, James escribió: 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > 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/... 
>
> > 
> > > ... 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