ddfreyne changed the topic of #nanoc to: 3.6.6 (nov 8th) | 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
ics has joined #nanoc
ics has quit [Ping timeout: 240 seconds]
ics has joined #nanoc
pavelkunc has quit [Quit: Leaving.]
Keltia has quit [Read error: Operation timed out]
_br_ has quit [Read error: Operation timed out]
Keltia has joined #nanoc
_br_ has joined #nanoc
jugglinmike has joined #nanoc
bghost has joined #nanoc
jugglinmike has quit [Quit: Leaving.]
ics has quit [Read error: Connection reset by peer]
ics has joined #nanoc
bghost has quit [Ping timeout: 248 seconds]
bghost has joined #nanoc
alerante has quit [Remote host closed the connection]
bghost has quit [Ping timeout: 246 seconds]
bghost has joined #nanoc
bghost has quit [Read error: Operation timed out]
bghost has joined #nanoc
bghost has quit [Ping timeout: 264 seconds]
bghost has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 272 seconds]
bghost has quit [Read error: Operation timed out]
alerante has joined #nanoc
alerante has quit [Ping timeout: 245 seconds]
yogsototh has joined #nanoc
jarr0dsz has joined #nanoc
VitamineD has quit [Quit: VitamineD]
jarr0dsz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
VitamineD has joined #nanoc
ics has quit [Ping timeout: 245 seconds]
ics has joined #nanoc
alerante has joined #nanoc
alerante has quit [Ping timeout: 245 seconds]
pavelkunc has joined #nanoc
pavelkunc1 has joined #nanoc
yogsototh has quit [Ping timeout: 272 seconds]
pavelkunc1 has quit [Client Quit]
pavelkunc1 has joined #nanoc
pavelkunc has quit [Ping timeout: 240 seconds]
bghost has joined #nanoc
jarr0dsz has joined #nanoc
yogsototh has joined #nanoc
FunkyPenguin has quit [Ping timeout: 265 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Changing host]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Excess Flood]
bghost has quit [Ping timeout: 264 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Ping timeout: 246 seconds]
yogsototh has quit [Remote host closed the connection]
yogsototh has joined #nanoc
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Ping timeout: 245 seconds]
FunkyPenguin has joined #nanoc
VitamineD has quit [Ping timeout: 245 seconds]
FunkyPenguin has quit [Ping timeout: 265 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Excess Flood]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Ping timeout: 252 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Excess Flood]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Ping timeout: 245 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Excess Flood]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Excess Flood]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Ping timeout: 264 seconds]
FunkyPenguin has joined #nanoc
FunkyPenguin has quit [Ping timeout: 248 seconds]
FunkyPenguin has joined #nanoc
alerante has joined #nanoc
jarr0dsz has quit [Quit: Textual IRC Client: www.textualapp.com]
ics has quit [Ping timeout: 272 seconds]
m3nTe has joined #nanoc
ics has joined #nanoc
jugglinmike has joined #nanoc
ics has quit [Ping timeout: 272 seconds]
ics has joined #nanoc
ics has quit [Ping timeout: 246 seconds]
ics has joined #nanoc
ics has quit [Ping timeout: 246 seconds]
ics has joined #nanoc
m3nTe has quit [Ping timeout: 272 seconds]
m3nTe has joined #nanoc
m3nTe has joined #nanoc
m3nTe has quit [Changing host]
ics has quit [Ping timeout: 245 seconds]
ics has joined #nanoc
alerante has quit []
ics has quit [Ping timeout: 246 seconds]
ics has joined #nanoc
m3nTe has quit [Ping timeout: 265 seconds]
ics has quit [Ping timeout: 246 seconds]
ics has joined #nanoc
<bobthecow> ddfreyne: did something change in the last release or two about the way gemfiles are used?
<ddfreyne> bobthecow: No, why?
<ddfreyne> bobthecow: nanoc 4.0 removes Bundler integration completely, requiring "bundle exec" (since that solves some issues with the nanoc version not being specified correctly etc)
<bobthecow> something isn't building anymore, and i'm not sure which gem update broke it.
<bobthecow> i've got a nanoc site in a subdirectory of a project, and the Gemfile is in the parent directory.
<bobthecow> but nanoc's (now) trying to find the Gemfile in its own root.
<bobthecow> it worked before, but is broken now, and i'm not entirely sure why.
<ddfreyne> OH, weird... does bundle exec do the trick?
<bobthecow> i'm pretty sure it is being bundle exec'd.
<bobthecow> yeah, it's being bundle exec'd
<bobthecow> it's running through a rake task though. mebbe that's it.
VitamineD has joined #nanoc
<bobthecow> yeah. that fixed it.
<bobthecow> i was bundle execing the rake task...
<bobthecow> but inside the rake task it was just doing `system 'nanoc', 'compile'` :)
<bobthecow> adding another layer of bundle exec fixx0rd all that.
<bobthecow> oh just kidding. that definitely failed too.
<bobthecow> boo.
pavelkunc1 has quit [Quit: Leaving.]
<ddfreyne> :/
<gregkare> Can you make a gist of the error you're getting?
<bobthecow> gregkare: not really, because it's not happening locally, just on deploy.
<bobthecow> /tmp/build_bac39edc-1efd-47cf-baa3-fbaae6cc72f2/vendor/bundle/ruby/1.9.1/gems/bundler-1.3.2/lib/bundler/definition.rb:16:in `build': /tmp/build_bac39edc-1efd-47cf-baa3-fbaae6cc72f2/static/Gemfile not found (Bundler::GemfileNotFound)
<bobthecow> that's it.
<bobthecow> it's during nanoc compilation.
<bobthecow> that's looking for Gemfile in /static/, but the gemfile actually lives in the parent directory.
<bobthecow> used to work, doesn't now :)
<bobthecow> (/static/ is my nanoc site, it's running from a subdirectory of my project)
<gregkare> You can use the BUNDLE_GEMFILE environment variable to set the path to your Gemfile
<bobthecow> bundler already knows where the gemfile is. it executed nanoc using `bundle exec nanoc compile`
<gregkare> Why is it looking for the Gemfile in ./static then?
<bobthecow> i have no idea.
<bobthecow> that's what i'm wondering.
<gregkare> You need to set BUNDLE_GEMFILE to the Gemfile inside the root path in your Rakefile
<bobthecow> i can do that. but what changed? i didn't have to before.
<gregkare> I don't know, I haven't followed what changed in nanoc, sorry :/
<gregkare> I'm just trying to help because Bundler is confusing
<bobthecow> i promise i know how to use bundler. been using it for years :)
<bobthecow> i looked through the nanoc commit history and didn't see anything in the last couple of versions that messed with it.
<gregkare> You could also not shell-out and just use nanoc's runners I guess
<bobthecow> true.
<bobthecow> i did that before, but it had issues with not running in the root directory of the project.
<gregkare> Damn
<gregkare> Rubyyyyyy :(
<bobthecow> one of these days i'll have a minute or two of free time and i'll make nanoc's runners work if they're not in the base directory.
<bobthecow> until then, my little chdir and shelling out hack worked fine.
<bobthecow> for like a year.
<bobthecow> :(
<gregkare> Are you on nanoc 3.6.6?
<bobthecow> yes.
<gregkare> I don't see anything in the NEWS file (https://github.com/nanoc/nanoc/blob/release-3.6.x/NEWS.md), that looks like regression to me
<gregkare> Did it still work on 3.6.5?
<bobthecow> looks like the current production deploy is on 3.6.4
<bobthecow> i skipped straight from that to 3.6.6
<bobthecow> ^ i don't see anything in there which could have changed it.
<gregkare> Yup, I was looking at the same thing :/
<bobthecow> and i'm using the same (outdated) version of bundler.
<bobthecow> mebbe rake changed?
<gregkare> That's possible yeah, didn't you lock its version?
<bobthecow> it's hosted on heroku, everything's version locked to something :P
<bobthecow> looks like adding a gemfile env variable fixed things.
<bobthecow> or at least made things crappy and broken in a different way.
<bobthecow> now apparently shelling out to nanoc is loading the wrong ruby version.
<gregkare> Woah
<bobthecow> /tmp/build_19961f68-0785-4074-a6f5-c61211617e2e/vendor/bundle/ruby/1.9.1/gems/bundler-1.3.2/lib/bundler/definition.rb:361:in `validate_ruby!': Your Ruby version is 1.9.2, but your Gemfile specified 1.9.3 (Bundler::RubyVersionMismatch)
<bobthecow> wheee
yogsototh has quit [Remote host closed the connection]
pavelkunc has joined #nanoc
<ddfreyne> haha
<ddfreyne> Ruby can get a bit... icky at times.
<bobthecow> yep yep.
<ddfreyne> This is why I like go!
<ddfreyne> Anyway, sleep time. Seeya!
<gregkare> Good night!
jugglinmike has quit [Quit: Leaving.]
<bobthecow> gregkare: got it sorted by passing PATH in as an ENV hack as well.
<gregkare> Pass all the env variables! :D
<bobthecow> no, i had to make up a new PATH to keep it from freaking otu.
<bobthecow> s/otu/out/
<gregkare> Oooh, maybe that's also part of what Bundler.with_clean_env does
<gregkare> Anyway, that seemed painful, glad you found a work around
_whitelogger_ has joined #nanoc
_whitelogger has quit [Read error: Connection reset by peer]
bghost has joined #nanoc
jarr0dsz has joined #nanoc