<bobthecow>
cootcraig: any time you're using a js-based tool in ruby, you need a js runtime. there are lots of 'em, but the simplest to get is prolly just installing node :)
<bobthecow>
ExecJS is just a generic library that calls out to whatever js runtime you have available.
<cootcraig>
Yup. Why is JS required though?
<cootcraig>
I'm moving from a system using jruby to a system with cruby. Didn't need nodejs, but probably ahd therubyracer
<bobthecow>
uglify is a javascript library.
<bobthecow>
as are most frontend tools, these days.
<cootcraig>
Well I'm happy that nanoc compiles now, but it was a brief mystery
<cootcraig>
bobthecow: I keep running into nodejs. I should learn to use it (and love it). This is the first it was required for me.
<bobthecow>
it's pretty great.
<bobthecow>
but in this case, you could have used libv8/therubyracer, or any number of other js runtimes.
<bobthecow>
now that you have it, though, you should play :)
<cootcraig>
gem therubyracer was installed. nanoc compile failed until I apt-get install nodejs
<cootcraig>
Problem with ExecJS?
<guardian>
cootcraig: execjs needs a JS vm, either therubyracer, node or can use the system on on mac
<tom[]>
bobthecow: o/
<tom[]>
i gotta bobthefish question
<cootcraig>
But nanoc compile fail with therubyracer. success after nodejs
<cootcraig>
What is available for nanoc templates for a personal blog site?
number-six has joined #nanoc
<cootcraig>
I found h3rald.com on the nanoc wiki. This looks like a site to study and copy.
<bobthecow>
cootcraig: i don't know of many templates for nanoc, but there are quite a few open source nanoc sites on the wiki.
<bobthecow>
not all of 'em are open source, but probably half are?
<cootcraig>
bobthecow: Thanks, that's helpful. I had not stumbled on that page yet.
summatus1entis is now known as summatusmentis
Caster_ has joined #nanoc
<Caster_>
Hi folks! I am trying out nanoc and liking it so far. Bit of a ruby noob, but plenty of experience in other languages. Now I am trying to use LESS and after some fiddling (couple of hours now... :( ) I am stuck with a 'NoMethodError'. Would someone be willing to help me out? :)
<Caster_>
It happened as soon as I removed the stylesheet.css file from the thing 'create-site' made for me, but I cannot find any references to stylesheet
<Caster_>
Ooooooh, I feel stupid.
<Caster_>
<%= @items['/stylesheet/'].path %> in the default.html layout...