swannodette / textmate-clojure

TextMate bundle for Clojure
91 stars 25 forks source link

Coffescript/node/cake conflict #6

Closed johnpaulashenfelter closed 14 years ago

johnpaulashenfelter commented 14 years ago

When I run the first demo (+ 4 5) ctrl-x I get

/usr/local/Cellar/coffee-script/0.9.2/lib/coffee-script/lib/cake.js:40 throw new Error("Cakefile not found in " + (process.cwd())); ^ Error: Cakefile not found in /Users/johnpaul/projects at /usr/local/Cellar/coffee-script/0.9.2/lib/coffee-script/lib/cake.js:40:15 at path:81:19 at node.js:757:9

Any ideas how to get to the right cake? I'm also using rvm to make things harder :)

swannodette commented 14 years ago

I'm looking into the RVM issue today, but fixing name conflicts between the cake's seems out of scope for us. Will mention it to the cake maintainers.

johnpaulashenfelter commented 14 years ago

I need to just RTFM! I was getting the wrong gem environment because of RVM -- I used the instructions at http://rvm.beginrescueend.com/integration/textmate/ for setting up textmate rvm integration and now everything is working fine (though I also had to remove my old hardcoded path in textmate which wasn't picking up the rvm path". I also had cake.js in my path from a homebrew-based node.js/coffee-script install.

So basically, I had to