-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The coffeescript compiler at 'coffee' is currently unavailable #12
Comments
Same here. |
Odd - not sure what's going on here. Will take a look very shortly. |
I also had this problem. I installed Node+NPM via the official method in HOME (without sudo) : I think that's because of the way barista detects coffee : using test -x will only return true if an absolute path to a file is given. For example, testing on 'ls' returns false : irb(main):001:0> system("test -x 'ls' >/dev/null 2>&1") false irb(main):003:0> system("test -x '/bin/ls' >/dev/null 2>&1") true So maybe you'll have to change this. Barista.configure do |c| #... c.bin_path = File.expand_path("~/local/bin/coffee") # ... end |
Oh wow, that's my mistake. Thanks for picking up that glaring oversight. As a side note, I'm currently porting it across to use the Ruby coffee-script gem to avoid these issues / move that part of barista and that'll be done in the next 2-3 days |
I've just pushed 0.6.1 with a hopeful fix for this issue - can you guys take a look and confirm if it fixes it for you? Re. the native version, slainer68's done a bunch of work and I'll be finishing up my work tomorrow as well so 0.7.0 isn't far off (since it introduces deprecated options). Cheers |
0.6.1 fixes for me, thanks |
Upgraded to 0.6.0, get the following error in my server log, and no compilation:
The coffeescript compiler at 'coffee' is currently unavailable
It is available:
$ which coffee
/usr/local/bin/coffee
the preamble branch on my fork works for me. Won't get a chance to investigate until next week.
The text was updated successfully, but these errors were encountered: