ddfreyne changed the topic of #nanoc to: 3.6.4 (may 29th) | web http://nanoc.ws/ | repo http://bit.ly/XE6e3G | issues http://bit.ly/VfXaSV | forum http://ho.io/n-discuss | irclog http://irclog.whitequark.org/nanoc
forcev has quit [*.net *.split]
bghost_ has quit [*.net *.split]
jaspervdj has quit [*.net *.split]
jugglinmike has quit [*.net *.split]
smkelly has quit [*.net *.split]
feliciaan has quit [*.net *.split]
guardian has quit [*.net *.split]
stbuehler has quit [*.net *.split]
KK4MGV has quit [*.net *.split]
musicmatze has quit [*.net *.split]
francois2 has quit [*.net *.split]
terinjokes has quit [*.net *.split]
louquillio has quit [*.net *.split]
_rgn has quit [*.net *.split]
jachymko has quit [*.net *.split]
koan has quit [*.net *.split]
bobthecow has quit [*.net *.split]
matjas has quit [*.net *.split]
gkarekinian has quit [*.net *.split]
dbast_ has quit [*.net *.split]
tbm has quit [*.net *.split]
darix has quit [*.net *.split]
ldk has quit [*.net *.split]
summatusmentis has quit [*.net *.split]
Keltia has quit [*.net *.split]
whee has quit [*.net *.split]
ddfreyne has quit [*.net *.split]
bitslip has quit [*.net *.split]
number-six has quit [*.net *.split]
_br_ has quit [*.net *.split]
Evolution has quit [*.net *.split]
antognolli has quit [*.net *.split]
bghost has quit [Ping timeout: 351 seconds]
VitamineD has quit [Ping timeout: 372 seconds]
_whitelogger has joined #nanoc
jugglinmike has quit [Quit: Leaving.]
bghost has quit [Quit: leaving]
bghost has joined #nanoc
bobthecow has quit [Remote host closed the connection]
bghost has quit [Quit: leaving]
pavelkunc has joined #nanoc
yogsototh has joined #nanoc
pavelkunc has quit [Ping timeout: 245 seconds]
VitamineD has quit [Quit: VitamineD]
_whitelogger has joined #nanoc
VitamineD has joined #nanoc
yogsototh has quit [Remote host closed the connection]
yogsototh has joined #nanoc
yogsototh has quit [Read error: Connection reset by peer]
yogsototh has joined #nanoc
_whitelogger has joined #nanoc
_whitelogger_ has joined #nanoc
_whitelogger has quit [Remote host closed the connection]
_whitelogger_ has joined #nanoc
_whitelogger_ has joined #nanoc
jugglinmike has joined #nanoc
number-six has quit [Ping timeout: 260 seconds]
tantalum has joined #nanoc
yogsototh has quit [Remote host closed the connection]
VitamineD has quit [Ping timeout: 252 seconds]
number-six has joined #nanoc
tantalum has quit [Ping timeout: 256 seconds]
tantalum has joined #nanoc
VitamineD has joined #nanoc
tantalum has quit [Read error: Connection reset by peer]
tantalum has joined #nanoc
<guardian> good evening!
ddfreyne has quit [Ping timeout: 248 seconds]
ddfreyne has joined #nanoc
<tantalum> goof evening
bobthecow has joined #nanoc
bobthecow has joined #nanoc
<bobthecow> ddfreyne: the rails example *could* include the RAILS_VERSION file to define their library versions.
<bobthecow> you just have to be careful to include the RAILS_VERSION file in each of the gemfiles.
<Evolution> have I mentioned how much I hate gem versioning?
<darix> Evolution: why?
<darix> it is not much different from any other versioning
<darix> except for ~> operator
<bobthecow> which npm and composer just call ~
<ddfreyne> bobthecow: But RAILS_VERSION file cannot be included in the gem itself.
<ddfreyne> (because it is outside the root)
<bobthecow> oh, it can be included in rails gem.
<bobthecow> but not the others?
<Evolution> darix: I've run into conflicts a couple times. and the general idea irks me. I'm all for letting the distro handle packaging.
<bobthecow> Evolution: meaning linux / os x?
<Evolution> either .deb or rpm or similar. gems are just the bad idea of cpan revisited.
<darix> Evolution: just because you package it in a different format
<Evolution> bobthecow: yeah. linux.
<bobthecow> you would get library updates once a year.
<darix> doesnt make the version problems go away
<bobthecow> that just doesn't cut it.
<bobthecow> gems work, almost all of the time.
<darix> bobthecow: people tend to abuse gems
<bobthecow> and when they don't, it's usually because of an abandoned or misbehaving package.
<bobthecow> not really. not in my experience.
<darix> bobthecow: when people start to put things like libv8 into gems
<darix> than it is abusing
<bobthecow> nah. that's options.
<Evolution> okay, to get this back on track a bit... can nanoc handle javascript?
<bobthecow> nothing requires that libv8.
<darix> bobthecow: lool
<bobthecow> it's *one* of the ways to run execjs.
<bobthecow> you can also get it by installing node via your package manager of choice.
<Evolution> I've *mostly* got bootstrap beaten into compass/nanoc. but I'm having some issues getting the javascript processed
<bobthecow> but for things where you don't really have that option, like heroku, libv8 is awesome.
<bobthecow> because it just works.
<Evolution> what I've found that seems to be what I'm after is https://github.com/jingoro/nanoc-javascript-concatenator
<Evolution> but it'd be nice if that functionality were in nanoc directly
<Evolution> given how old that looks.
<bobthecow> Evolution: what exactly are you trying to do?
<darix> bobthecow: it is just a workaround for limitations of heroku. but it doesnt make it right
<bobthecow> darix: but it's not *the* way to run js in ruby.
<bobthecow> it's not even the recommended way.
<bobthecow> it's just *a* way.
<darix> bobthecow: after repackaging a few gems (could say a few hundred) into rpms i can tell you that too many things *hard* require libv8
<Evolution> bobthecow: .... I don't follow from that gist
<darix> the libv8 gem that is
<bobthecow> darix: the only one i know of that hard requires it which i actually use is less.
<bobthecow> and it kind of has to.
<bobthecow> well, it needs therubyracer.
<bobthecow> which needs libv8.
<bobthecow> but that's because it's doing unholy things.
<bobthecow> what don't you follow?
<bobthecow> it does the same thing as your concatenator, but doesn't require a gem.
<bobthecow> Evolution: wha?
<Evolution> bobthecow: right, but then I'm either adding another js, or modifying the default bootstrap.js
<bobthecow> you're adding another js.
<Evolution> I was hoping for a Rule line or filter or similar.
<bobthecow> to concatenate things?
<Evolution> right.
<bobthecow> nanoc maps items to output.
<bobthecow> what item would you like to output?
<Evolution> actually... I wonder if compass could do that.
<Evolution> hmmm.
<bobthecow> this is how asset pipeline in rails works, and how that gem you linked works.
<bobthecow> you put a file in your content directory with instructions for how to turn it into your script.js
<bobthecow> but there's always an actual item that defines this.
<bobthecow> you could make a fake item in your preprocessing block.
<bobthecow> but there still has to be an item.
<bobthecow> incidentally, it's also how compass, and less, and everything else works.
<bobthecow> you compile an item (which might include other items) to an output file.
tantalum has left #nanoc [#nanoc]
louquillio has quit [Remote host closed the connection]
louquillio has joined #nanoc
tantalum has joined #nanoc
tantalum has left #nanoc [#nanoc]