<Evolution>
ddfreyne: you going to be at either linuxcon-eu or fosdem?
<Evolution>
I'll happily buy the beer (and then write it off as a work expense)
<ddfreyne>
Not linuxcon, fosdem perhaps!
<ddfreyne>
Evolution: It will need to be a good Belgian beer though ;)
<Evolution>
ddfreyne: pretty sure that's a requirement for everything at fosdem
<ddfreyne>
Evolution: Replace the Nokogiri::HTML.fragment with Nokogiri::HTML.parse... that should fix it
<ddfreyne>
.parse is for full HTML documents, .fragment for pieces of a document
<Evolution>
ah
<Evolution>
good to know. thanks
<Evolution>
ddfreyne: hell, if you need some press... once I'm done with this... www.centos.org will be nanoc driven...
<ddfreyne>
Evolution: Nice :)
<ddfreyne>
If you need assistance in finishing that up, let me know :)
<Evolution>
certainly.
<ddfreyne>
I haven't worked on nanoc much lately, sadly
<Evolution>
that's too bad. it's a rather nice toolset
<Evolution>
better than most of the other static generators I've played with
<ddfreyne>
Not because I don't want to, though ;)
<Evolution>
$dayjob getting in the way?
<ddfreyne>
Not so much. I actually have more free time now, but I switched jobs, moved to a new city in a different country (Berlin!) and I spent a lot of time settling in
<Evolution>
oh, congrats
<Evolution>
one of our devs is around there.
<ddfreyne>
Actually, I've been living in Berlin for exactly four months as of today
jugglinmike has joined #nanoc
tantalum has joined #nanoc
<ddfreyne>
I really like Berlin. I am very happy I moved here
yogsototh1 has quit [Remote host closed the connection]
VitamineD has quit [Ping timeout: 264 seconds]
alerante has quit [Read error: Connection reset by peer]
alerante has joined #nanoc
alerante has quit [Read error: Connection reset by peer]
alerante_ has joined #nanoc
alerante has joined #nanoc
alerante_ has quit [Read error: Connection reset by peer]
alerante has quit [Changing host]
alerante has joined #nanoc
alerante has quit [Remote host closed the connection]
<Evolution>
is there a simple way to include part of an item in another item?
<ddfreyne>
Evolution: a part? which part?
<ddfreyne>
Evolution: to get the content of an item, @items['/blah/'].compiled_content. That will give you the full compiled content, so possibly laid out, so without layout would require :snapshot => :pre
<Evolution>
ddfreyne: Say I have a /download/ /download/cloud and a /download/spins
<Evolution>
for example.
<Evolution>
I'd like to have a /download/all that includes cloud, spins, and whatever else we shove under downloads.
<jachymko>
<%= @items['/download/'].children.delete(@item).each do |i| %><%= i.compiled_content(:snapshot => :pre) %><% end %>
<jachymko>
oops, not delete
<jachymko>
select{|i| i != @item}
<jachymko>
or reject
<ddfreyne>
The reject is not necessary, because it will not include @item
<ddfreyne>
Ahh... it might be
<jachymko>
yeah, if he wants the page id to be /download/all/
Test_ has joined #nanoc
<Test_>
full of people here :-)
<Test_>
/quit
Test_ has quit [Client Quit]
VitamineD has joined #nanoc
<ddfreyne>
o_O
vivien_ has joined #nanoc
<vivien_>
hi, I'm in trouble with Nanoc
<vivien_>
I use rbenv on osx in order to control my Ruby environment
<ddfreyne>
You've come to the right place!
<vivien_>
:)
<darix>
osx. i see your problem :p
<darix>
*scnr*
<vivien_>
oh :D
<darix>
so what's the issue?
<vivien_>
I'd say it's the solution, but I'm not here for that…
<vivien_>
so
<vivien_>
I wanted to deploy via dandelion, but it can't work with ruby 2.0, so I installed ruby 1.9.3 via rbenv
<vivien_>
reinstalling nanoc and so on, but I get this message when I do nanoc :
<vivien_>
RuntimeError: Could not parse YAML for content/archives.md: argument out of range
<ddfreyne>
vivien_: Can you share content/archives.md?
<vivien_>
didn't find something approching in the internets
<vivien_>
ok, but I have to say, compiling with ruby 2.0 environment works just fine
<darix>
well so compile with 2.0 and deploy with 1.9?:p
<darix>
also what error did dandelion give on 2.0?
<vivien_>
well i'm tempted to do that, but changing environment each time would be a bit tiedous