drbrain changed the topic of #rubygems to: RubyGems 2.0.2: http://bit.ly/rubygems-2-0-2 – Latest status: http://twitter.com/rubygems_status and http://status.rubygems.org
procrastubator has joined #rubygems
<procrastubator> How do I change what version of gem the `gem` command launches?
<procrastubator> There are: Command 'gem' from package 'ruby1.9.1' (main) Command 'gem' from package 'rubygems' (main)
<procrastubator> And the default is linked to ruby1.8
<procrastubator> I am trying to get gems on my ruby1.9 version
<procrastubator> Ubuntu 11.10
<raggi> that's an ubuntu problem
<procrastubator> hm
<procrastubator> alright
<raggi> i would recommend asking on the ubuntu ruby mailing list
<procrastubator> was hoping I'd run into someone who'd had the same problem before
<procrastubator> Will do
<raggi> i've tried to help a number of times in the past, but i don't know how to support the way that they seem to want to package things
dvu has joined #rubygems
dvu has quit [Ping timeout: 256 seconds]
cowboyd has joined #rubygems
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #rubygems
adkron_ has quit [Remote host closed the connection]
kgrz has joined #rubygems
procrastubator has quit [Ping timeout: 250 seconds]
dmison has quit [Ping timeout: 246 seconds]
havenwood has joined #rubygems
kgrz has quit [Remote host closed the connection]
kgrz has joined #rubygems
kgrz has quit [Ping timeout: 246 seconds]
cdelo_ has quit [Ping timeout: 264 seconds]
corehook has joined #rubygems
corehook has quit [Ping timeout: 268 seconds]
kgrz has joined #rubygems
cowboyd has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubygems
jstr has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Ping timeout: 276 seconds]
havenwood has joined #rubygems
havenwood has quit [Remote host closed the connection]
jstr has joined #rubygems
havenwood has joined #rubygems
kgrz has quit [Remote host closed the connection]
dvu has joined #rubygems
dvu has quit [Ping timeout: 268 seconds]
kgrz has joined #rubygems
tbuehlmann has joined #rubygems
tbuehlmann has quit [Ping timeout: 264 seconds]
karmi has joined #rubygems
ericmathison has quit [Ping timeout: 255 seconds]
tbuehlmann has joined #rubygems
kgrz has quit [Remote host closed the connection]
alextheger has joined #rubygems
ckrailo has quit [Quit: Computer has gone to sleep.]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
kgrz has joined #rubygems
kgrz has quit [Ping timeout: 246 seconds]
karlfreeman has joined #rubygems
kgrz has joined #rubygems
karmi has quit [Quit: Leaving.]
charliesome has joined #rubygems
tbuehlmann has quit [Remote host closed the connection]
karmi has joined #rubygems
Elhu has joined #rubygems
ditto572 has joined #rubygems
kgrz has quit [Remote host closed the connection]
kgrz has joined #rubygems
whit537 has joined #rubygems
karlfreeman has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 256 seconds]
dvu has joined #rubygems
Elhu has quit [Quit: Computer has gone to sleep.]
tcopeland has quit [Quit: Leaving.]
jarib has quit [Quit: leaving]
jarib has joined #rubygems
dvu has quit [Ping timeout: 255 seconds]
jarib has quit [Client Quit]
jarib has joined #rubygems
jarib has joined #rubygems
alextheger has quit [Quit: alextheger]
bbrowning has joined #rubygems
zzak_ is now known as zzak
Elhu has joined #rubygems
karlfreeman has joined #rubygems
ditto572 has quit [Remote host closed the connection]
jstr has quit [Quit: Leaving.]
havenwood has quit [Ping timeout: 276 seconds]
havenwood has joined #rubygems
kgrz has joined #rubygems
tcopeland has joined #rubygems
dvu has joined #rubygems
Gnubie has quit [Ping timeout: 248 seconds]
Gnubie has joined #rubygems
havenwood has quit [Ping timeout: 264 seconds]
dvu has quit [Remote host closed the connection]
whit537 has quit [Remote host closed the connection]
whit537_ has joined #rubygems
whit537_ is now known as whit537
dvu has joined #rubygems
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
dwradcliffe_ is now known as dwradcliffe
pipework has joined #rubygems
dvu has quit [Remote host closed the connection]
havenwood has joined #rubygems
havenwood has quit [Remote host closed the connection]
dvu has joined #rubygems
ckrailo has joined #rubygems
havenwood has joined #rubygems
dvu has quit [Remote host closed the connection]
dvu_ has joined #rubygems
dvu_ has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 240 seconds]
dvu_ has joined #rubygems
stevenharman has joined #rubygems
ckrailo has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
whit537 has quit [Quit: whit537]
havenwood has joined #rubygems
<dwradcliffe> ping qrush evan samkottler
<qrush> hello
<qrush> just got a downtime notice
<dwradcliffe> me too
<samkottler> yo
<qrush> Disk space full again?
<samkottler> yep, 500's
* samkottler is looking
<evan> I know
<evan> it's me.
kgrz has quit [Remote host closed the connection]
<evan> blew up on deploy.
<qrush> df -h looks happy
<samkottler> the deploy process is effed generally
<qrush> i'll tweet
<samkottler> evan: usually if you just kick the init script it'll bounce back
<samkottler> or did the deployed code actually go sideways?
therealadam has joined #rubygems
<evan> unicorn seems fucked when doing a casual restart
<evan> I need to work on it today.
<dwradcliffe> CPU is 100%
<samkottler> yeah this has happened before
<qrush> full restart maybe?
<qrush> (of unicorn)
<dwradcliffe> yep
<dwradcliffe> uninitialized constant Tire (NameError)
<samkottler> oh great
<samkottler> it's a missing gem
<dwradcliffe> try a full restart
<dwradcliffe> unicorn freaks out with gem changes sometimes
<samkottler> evan: did you merge the ES changes?
ckrailo has joined #rubygems
<evan> dwradcliffe: stop
<evan> i'm in there
<evan> I don't need 2 people on this.
x1337807x has joined #rubygems
<evan> oh, try
<evan> I thought you were trying it.
<evan> I was in panic mode!
<evan> ok, reverted to older code
<qrush> gemcutter (rubygems.org) is UP again at 06/24/2013 11:59:05AM, after 7m of downtime.
<qrush> i wonder if pingdom can do irc notifications.
<dwradcliffe> probably can through pagerduty
<samkottler> datadog can spit notifications in here if we want
x1337807x has quit [Client Quit]
<qrush> +100
<evan> sorry about that guys.
<samkottler> qrush: I can work on that
<samkottler> I finally have some real time over the next week or two
<evan> I was just trying to deploy the gem name fix
<evan> I didn't realize the ES stuff got merged in
<samkottler> qrush: part of that story is moving the deployment pipeline out of chef
<qrush> +1000
<dwradcliffe> agree
<samkottler> alright I will work on that stuff this week
karlfreeman has quit [Remote host closed the connection]
<samkottler> and I have to finish deploying the ES machine
<evan> wait
<evan> if it's not ready
<evan> why did the ES stuff get merged in.
<evan> ARG.
<evan> we're gonig to have to go away from deploying master branch
<samkottler> +1M
<qrush> -1
<qrush> if the boxes weren't provisioned it shouldnt have been merged
<evan> hm
<samkottler> well having a branch-based staging pipeline would be good
<evan> qrush: thats fine too.
<qrush> i haven't been able to maintain this :(
<evan> weird.
<evan> the ES branch hasn't been merged...
<evan> why is it looking for Tire...
<qrush> IMO master should always be safe to deploy
<qrush> we also have a staging/prod branch setup already
<evan> it's... not.
<evan> super confused.
<evan> what the fuck.
<evan> *boggle8
jfoy has joined #rubygems
karlfreeman has joined #rubygems
<evan> wow.
<evan> what the in the same fuck is going on.
<evan> er, sam fuck.
<samkottler> that. makes. no. sense.
<evan> samkottler: is the chef recipes setting up config/initializers/tire.rb maybe?
<evan> the contents are:
<samkottler> evan: actually yes that's it
<evan> Tire.configure do
<evan> url ""
<evan> end
<evan> BOOO
* samkottler went splunking and just found that
<samkottler> whyyyy
x1337807x has joined #rubygems
<evan> samkottler: I see it in there
<evan> i guess this half got merged
<evan> but it shouldn't be there.
<dwradcliffe> the aws side got merged, but not the app side
<evan> the aws side is busted though
<samkottler> evan: yeah that's totally not the right place for it
<evan> since it didn't actually file in a URL.
<samkottler> evan: yeah I discovered that after it got merged
<evan> i'm going to remove this
<evan> via an attribute
<samkottler> k
<evan> so I can deploy
<samkottler> evan: we should just completely rip it out
<samkottler> managing that file through chef doesn't make much sense IMHO
<evan> done.
<samkottler> thanks
<evan> ok, round 2!
<dwradcliffe> cannot load such file -- rack/builder (LoadError)
<karmi> samkottler: Gotta run soon, but can I help somehow with ES?
<dwradcliffe> and seeing Tire again
<karmi> samkottler: I thought you're going to test everything in staging first?
<evan> dwradcliffe: I must have messed something up
<evan> I nuked the tire.rb file by hand
<evan> the rack/builder thing is unicorn not reloading properly.
<dwradcliffe> evan: by hand, meaning on the server?
<evan> yeah
<dwradcliffe> evan: then chef probably replaced it during the deploy
<evan> oh
<evan> no
<evan> i know why
<evan> because cap uses the same directory
<evan> since there were no new git commits
<evan> the file was left over from the last deploy.
<evan> so hand deleting it was the prudent way to fix it.
<evan> sorry about the morning frivolities everyone!
tbuehlmann has joined #rubygems
<dwradcliffe> evan: so did the deploy finish?
<evan> yeah
<evan> it's deployed now.
<samkottler> cool
<dwradcliffe> well at least the notifications are working :)
<evan> oddly I didn't get any
<evan> I must not have it configured right
<evan> though, I was the one blowing it up
<evan> so I knew about the issue :)
<qrush> would be cool to do a quick writeup on the new blurgh
<qrush> http://prose.io/ <3
<evan> yep yep
<evan> is that what we're using now?
<qrush> it's just a web editor for gh pages
<qrush> you *can* use it
karmi___ has joined #rubygems
<evan> oooh.
<dwradcliffe> looks slick
whit537 has joined #rubygems
karmi has quit [Quit: Leaving.]
<evan> yep, thanks!
<evan> I feel bad we sat on mame's issue for so long
<evan> but glad it got sorted out.
tekin has joined #rubygems
<evan> i'm going to bang on the vagrant and staging setups today
<evan> to protect myself from further production embarrassment
<karlfreeman> hey everyone, I've decided that I'm going to try and contribute some time towards helping out ( where possible ). Thought I'd drop by and say hi and witness a deploy ;).
roidrage has joined #rubygems
<evan> karlfreeman: morning karl!
<qrush> yo
<karlfreeman> morning ( afternoon ) :)
<qrush> honestly if mame needed his gem desperately he could have renamed it months ago
<qrush> or just installed via github/bundler
<qrush> not an excuse for us sitting on it
<qrush> but just saying
tekin has quit [Client Quit]
karmi___ has quit [Ping timeout: 256 seconds]
<evan> qrush: yeah, i'm sure he worked around it
<evan> samkottler: i'd like to make it possible to have 1 VM that is app, balancer, and db
<evan> all in one
<evan> for testing, etc.
<evan> any issue with that?
<samkottler> evan: nope, that sounds great
<evan> cool.
<evan> i've been doing A LOT of vagrant/chef stuff for work the last week or so.
havenn_ has joined #rubygems
havenwood has quit [Read error: Connection reset by peer]
<raggi> evan: i'm sorry
<evan> why are you sorry little raggi?
<raggi> evan: those tools get really horrible really fast, when you have to leave the happy path
mikewintermute has joined #rubygems
<raggi> i wouldn't wish them on anyone who actually reads code and debugs issues
<evan> which tools?
<raggi> chef and vagrant
<evan> well
<evan> last week I was fixing bugs in chef
<evan> so, to be honest, the happy path includes shipping my own patches for tools
<evan> if need be :)
<evan> it's a very WIDE path.
<raggi> haha
<samkottler> it includes 2am code reviews every night
mikewintermute has quit [Remote host closed the connection]
<raggi> i have ended up helping folks with integration problems in both places, and found rats nests
<raggi> don't get me wrong, as far as products go, at a high level, they're both great
<samkottler> raggi: it's software - everything is ultimately a rat's nest
<evan> rats nests are something i'm comfortable with now
mikewintermute has joined #rubygems
<evan> after debugging other peoples code and tests for 5 years in rubinius
<evan> i'm still surprised, but not by much.
<raggi> but i can't help my gut reaction when i first read things like https://github.com/mitchellh/vagrant/blob/master/lib/vagrant/box_collection.rb#L345-L359
<samkottler> evan: FFI with Perl - BAM
<evan> ha
karlfreeman has quit [Remote host closed the connection]
Elhu has quit [Quit: Computer has gone to sleep.]
dvu_ has quit [Ping timeout: 256 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DanKnox_away is now known as DanKnox
x1337807x has joined #rubygems
huoxito has quit [Read error: Connection reset by peer]
huoxito has joined #rubygems
havenn_ has quit [Ping timeout: 268 seconds]
DanKnox is now known as DanKnox_away
<evan> samkottler: still around
<samkottler> evan: mhm
DanKnox_away is now known as DanKnox
havenwood has joined #rubygems
nz_ is now known as nz
<evan> samkottler: hey
<samkottler> evan: what's up?
<evan> samkottler: i wondered why we use ngnix::server in the app, but rubygems::nginx_source in the balancer
<evan> can I use rubygems::nginx_source everywhere?
<samkottler> evan: we need nginx_source on the balancer for geoip
<samkottler> evan: that's the custom nginx build with geoip flags added
<evan> ok
<evan> for uni, i'll use rubygems::nginx_source then.
<samkottler> evan: we can probably switch to nginx_source everywhere just to standarize
<samkottler> evan: yep, that sounds good
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubygems
Elhu has joined #rubygems
havenwood has quit [Remote host closed the connection]
havenwood has joined #rubygems
havenwood has left #rubygems [#rubygems]
therealadam has quit [Remote host closed the connection]
cowboyd has joined #rubygems
therealadam has joined #rubygems
Elhu has quit [Quit: Computer has gone to sleep.]
therealadam has quit [Ping timeout: 276 seconds]
DKnox has joined #rubygems
Elhu has joined #rubygems
DKnox has quit [Client Quit]
karmi has joined #rubygems
therealadam has joined #rubygems
Elhu has quit [Quit: Computer has gone to sleep.]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
khaase has quit [Ping timeout: 256 seconds]
Elhu has joined #rubygems
<drbrain> evan: still around?
<evan> yep!
<evan> kpasta?
khaase has joined #rubygems
tcopeland1 has joined #rubygems
tcopeland has quit [Read error: Connection reset by peer]
<drbrain> a) can you take a look at the issues I've assigned to you in the 2.1 milestone of rubygems/rubygems
<drbrain> b) can you document how to use the gemdeps feature of rubygems
<drbrain> regarding the last one, I have promised some more bundler features in rubygems for ruby 2.1 at RubyKaigi
<drbrain> feel free to move them to other milestones, reject, comment, whatever
<evan> ok, will do.
<drbrain> if you give enough detail for me to make progress on them, unassign them and I'll pick them up as I'm working through them
<drbrain> as far as b) If I can get a paragraph or two and some examples I can probably write an expanded document
<evan> if you're comfortable with 258, it's good to go.
<drbrain> I just don't want to dig through it
<drbrain> it => the source
<evan> sure
<evan> 258 is trivial
<evan> it just translates - to .pre. so that 1.1.0-3 is accepted
<drbrain> assign 258 to me then, and I'll apply it with git am
<evan> I can do it
<evan> no problem
<drbrain> I've been doing that for other bit rotted patches, works well
<drbrain> oh great
<evan> just want a +1 on it
<drbrain> go for it
<evan> k
roidrage has quit [Quit: http://riakhandbook.com]
dvu has joined #rubygems
wedgeV has quit [Quit: leaving]
mikewintermute has quit [Quit: mikewintermute]
Elhu has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
x1337807x has joined #rubygems
x1337807x has quit [Ping timeout: 276 seconds]
whit537 has quit [Quit: BLAM!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
tcopeland1 has quit [Read error: Connection reset by peer]
tcopeland has joined #rubygems
karmi has quit [Quit: Leaving.]
ericmathison has joined #rubygems
pipework has quit [Remote host closed the connection]
dvu has quit [Ping timeout: 246 seconds]
autojack has joined #rubygems
x1337807x has joined #rubygems
<autojack> I have a gem whose gemspec specifies a default executable, and when I install that gem the executable goes into /usr/local/bin. is there any way I can get rubygems to put it in /usr/bin instead? so far I can't see a flag for that in the gemspec, etc.
<drbrain> autojack: by default it goes next to `ruby` so you just need to set $PATH and things work
<drbrain> you can change it with --bindir
stevenharman has quit [Quit: Leaving...]
<autojack> hmm. my ruby is in /usr/bin.
<drbrain> how did you install ruby?
<autojack> it's a system package.
<drbrain> what does ruby -rrbconfig -e 'p RbConfig::CONFIG["bindir"]' say?
<autojack> Ubuntu Precise.
<autojack> /usr/bin
raggi has quit [Quit: bye]
<drbrain> huh
<drbrain> can you paste `gem env`?
<drbrain> maybe /etc/gemrc or ~/.gemrc has --bindir set
<autojack> well, the gem was installed by Puppet. I wonder if it is specifying a bindir in its gem provider.
<autojack> let me look into that.
<autojack> that would be annoying.
dvu has joined #rubygems
raggi has joined #rubygems
pipework has joined #rubygems
<autojack> no, it doesn't seem to.
<autojack> when I do 'gem env' it lists - EXECUTABLE DIRECTORY: /usr/local/bin
<autojack> so there's the problem I guess.
<autojack> I was hoping I could specify something different in this gem's gemspec file to get around this.
<autojack> but it's not sounding like I can do that.
tcopeland has quit [Ping timeout: 246 seconds]
<drbrain> you can't specify it in the gemspec since the directory may make no sense when installing (such as windows)
<drbrain> is there any clue in the GEM CONFIGURATION section?
<autojack> section of what?
<autojack> I am guessing this is an oddity of the Ubuntu rubygems package.
<autojack> I see what you mean. no, nothing else in the 'gem env' output.
<autojack> I was hoping that the puppet 'gem' package provider would let me pass --binder as an option in this case, but it doesn't.
<autojack> er, bindir.
<autojack> I'm going to have to change some other stuff I guess.
pipework has quit [Remote host closed the connection]
cowboyd has quit [Remote host closed the connection]
<autojack> christ, on Debian Squeeze: EXECUTABLE DIRECTORY: /var/lib/gems/1.8/bin
<autojack> what the hell's the point of that? whose path would ever have /var/lib/gems/1.8/bin in it??
<drbrain> that's debian rubygems
<autojack> yeah but Lenny has /usr/bin
<autojack> sheesh
<autojack> adding the 'executables' entry to my gemspec has not been at all worth the additional headache of supporting it in multiple distros in our environment :)
<autojack> it's requiring me to add 20 more lines of puppet code.
<drbrain> I'm rather surprised that Linux doesn't seem to have an equivalent of OS X /etc/paths.d
<raggi> yeah, kinda surprised there isn't a freedesktop standard at least
<samkottler> raggi: it should totally go into systemd :P
<raggi> o0
<raggi> because that's taking over everything?
<autojack> in theory since /usr/bin and /usr/local/bin are in everyone's path by default, I could just add the retarded Squeeze /var/lib/gems/1.8/bin to $PATH and then stop specifying an absolute path when my scripts call this binary.
<autojack> but. eughghhgghhgh.
<raggi> autojack: i would recommend that, at least in the profiles of users that run ruby services
<samkottler> /usr/local/bin is definitely not in everyone's path by default
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dvu has quit [Remote host closed the connection]
<autojack> samkottler: yeah by everyone I meant everyone in my environment.
x1337807x has joined #rubygems
tcopeland has joined #rubygems
dvu has joined #rubygems
<samkottler> ah
brixen has quit [Excess Flood]
pipework has joined #rubygems
brixen has joined #rubygems
dvu has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dvu has joined #rubygems
dvu has quit [Ping timeout: 256 seconds]
dmison has joined #rubygems
dmison has quit [Changing host]
dmison has joined #rubygems
autojack has left #rubygems [#rubygems]
whit537 has joined #rubygems