<tbm>
ddfreyne: pandoc-ruby is installed but nanoc fails to load it
<ddfreyne>
tbm: Do you use Bundler?
<tbm>
ddfreyne: yes, I ran "bundle install" and it says "bundle is complete"
<ddfreyne>
tbm: Is pandoc-ruby in your Gemfile?
<tbm>
yes
<ddfreyne>
in Gemfile.lock too?
<tbm>
ah
<tbm>
this works: ruby1.9.1 /var/lib/gems/1.9.1/gems/nanoc-3.6.2/bin/nanoc compile
<tbm>
but nanoc compile doesn't so maybe there are different ruby versions
<tbm>
but it's strange because the crash file refers to 1.9.1
<ddfreyne>
tbm: Ahh, maybe your nanoc version in Gemfile.lock differs from the nanoc version that you have installed with Rubygems
<tbm>
ddfreyne: thanks, updating nanoc in Gemfile.lock helped!
<tbm>
ddfreyne: you must be frustrated with all these ruby newbies using nanoc :)
<ddfreyne>
no prob
<ddfreyne>
It’s an issue that shouldn’t really happen anyway (it is because nanoc loads Bundler, which is icky… nanoc 4.0 doesn’t anymore)
jadd_ has joined #nanoc
jadd_ has quit [Ping timeout: 256 seconds]
<musicmatze>
ddferyne: currently compiling my site on my new device.
<musicmatze>
ddfreyne: sorry, typo.
<musicmatze>
ddfreyne: Improvement idea: nanoc should store state when crashing. So I do not have to recompile 300 items when I have a typo in item 301!
<musicmatze>
ddfreyne: COMPILED!
<musicmatze>
Skyr: COMPILED!
<musicmatze>
828.44s!
<musicmatze>
started nanoc again to look how long it takes until it is finished without any changes in wd.
<musicmatze>
Omfg. I think it takes 10 minutes again. That's not what I want...
jadd_ has joined #nanoc
<darix>
musicmatze: rm -rf tmp
<darix>
recompile
<darix>
recompile -> this should finish in a few seconds
jadd_ has quit [Ping timeout: 255 seconds]
<darix>
musicmatze: and guardian was tracking down a compass bug the other day which made all items appear to be changed.
jadd_ has joined #nanoc
<musicmatze>
darix: it does not.
<musicmatze>
I will checkout the latest stable. But I think, when installing via gem, I should have received the latest stable!
<darix>
musicmatze: then it is something to debug with ddfreyne :)
<musicmatze>
definitively.
jadd_ has quit [Quit: Leaving...]
jadd_ has joined #nanoc
<ddfreyne>
musicmatze: The preprocessing is done every time, so if you can reduce the time spent doing that, then the total time spent compiling should go down
<ddfreyne>
musicmatze: As for storing state between crashes, indeed… In database-like terms, nanoc should have “transactions” around each item compilation, instead of around the entire site compilation
<ddfreyne>
Fixing that is scheduled for 4.0
<musicmatze>
Okay, thanks.
<ddfreyne>
(Lots of things scheduled to be changed in 4.0, heh)
jadd_ has quit [Quit: Leaving...]
<ddfreyne>
I broke my vim… and/or my homebrew. Reinstalling :(
<telemachus>
ddfreyne: ?
<ddfreyne>
Hm. vim started giving errors about ruby.vim etc… so I attempted reinstalling vim, but now I cannot even get that to work. Gah!
<telemachus>
brew doctor?
<ddfreyne>
telemachus: Nothing. My “brew install vim” fails with “abort: No module named repo!”
<ddfreyne>
Which means my Python doesn’t know about hg…