Thanks, I'll try to make it work!

/ James

On Mar 1, 4:07 pm, JuanManuel Gimeno Illa <jmgim...@gmail.com> wrote:
> El jueves 1 de marzo de 2012 15:44:26 UTC+1, James escribió:
>
>
>
> > I was using the same branches.
>
> Another piece of the puzzle. My global .cake/project.clj is:
>
> (defproject global "0.0.0"
>   :description "Don't rename this project, but you can change the version
> if you want."
>   :dependencies [[clojure "1.3.0"]]
>   :dev-dependencies [[swank-clojure "1.3.4"]])
> ;;--------------------
> ;; This is the global cake project. What does that mean?
> ;;  1. This project is used whenever you run cake outside a project
> directory.
> ;;  2. Any dependencies specified here will be available in the global repl.
> ;;  3. Any dev-dependencies specified here will be available in all
> projects, but
> ;;     you must run 'cake deps --global' manually when you change this file.
> ;;  4. Configuration options in ~/.cake/config are used in all projects.
> ;;--------------------
>
> My dev-dependency is for emacs, so you can remove it.
>
>  I've considered going with Emacs as
>
> > well, once I've figured out the customization. Seems to be a popular
> > setup with Clojure devs.
>
> If I'm not mistaken, the aquatics+clojure instruction I used were taken
> from:
>
> http://jaydonnell.com/blog/2011/10/07/setting-up-aquamacs-for-clojure...
>
> Juan Manuel
>
>
>
>
>
>
>
> > / James
>
> > On Mar 1, 3:17 pm, JuanManuel Gimeno Illa <jmgim...@gmail.com> wrote:
> > > 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