__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mia has quit [Ping timeout: 248 seconds]
dthams has quit [Ping timeout: 260 seconds]
dthams has joined #ruby
FahmeF has joined #ruby
cagomez has quit [Ping timeout: 248 seconds]
brent__ has joined #ruby
QualityAddict has joined #ruby
FahmeF has quit [Ping timeout: 248 seconds]
gizmore has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cschneid has joined #ruby
weaksauce has joined #ruby
brent__ has quit [Ping timeout: 260 seconds]
marxarelli is now known as marxarelli|afk
gizmore|2 has quit [Ping timeout: 248 seconds]
kn-928 has quit [Ping timeout: 240 seconds]
quobo has quit [Quit: Connection closed for inactivity]
danielpclark has quit [Quit: Leaving]
nacsurte_ has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
raynold has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
pharma_joe has joined #ruby
cdg has joined #ruby
gusrub has quit [Ping timeout: 248 seconds]
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Ping timeout: 248 seconds]
Azure has quit [Read error: Connection reset by peer]
gusrub has joined #ruby
Azure has joined #ruby
romulus10 has joined #ruby
cdg has quit [Ping timeout: 260 seconds]
__Yiota has joined #ruby
mtkd has joined #ruby
benlieb has joined #ruby
gusrub_ has joined #ruby
gusrub has quit [Ping timeout: 240 seconds]
cconstantine has joined #ruby
d^sh has quit [Ping timeout: 248 seconds]
jameser has joined #ruby
d^sh has joined #ruby
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
meinside has joined #ruby
cagomez has joined #ruby
cconstantine has quit [Ping timeout: 246 seconds]
cagomez has quit [Ping timeout: 260 seconds]
kies has quit [Ping timeout: 252 seconds]
uZiel has joined #ruby
enterprisey has quit [Ping timeout: 248 seconds]
kapowaz has quit [Ping timeout: 240 seconds]
foamz has quit [Ping timeout: 240 seconds]
kapowaz has joined #ruby
foamz has joined #ruby
elsevero has joined #ruby
elsevero has quit [Quit: elsevero]
uZiel has quit [Ping timeout: 248 seconds]
romulus10 has quit [Quit: WeeChat 1.7]
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cosmicz has quit [Quit: This computer has gone to sleep]
pharma_joe has joined #ruby
bairyn has joined #ruby
iamyask has joined #ruby
enterprisey has joined #ruby
enterprisey has quit [Read error: Connection reset by peer]
Orbixx[m] has joined #ruby
lexruee has quit [Ping timeout: 260 seconds]
lexruee has joined #ruby
<Orbixx[m]>
I'm trying to set up a automated testing workflow for a Ruby project and want to use a docker image to do so. I also want to avoid having the docker image redownload gems on each execution, so would ideally like to install them into the docker image using the project's Gemfile.lock.
<Orbixx[m]>
If the project's Gemfile/Gemfile.lock contents change and one or more gems need installing and/or updating, can I simply run bundle install to update the existing gems and install new gems on a system that already has the previous project version's gems installed?
larissa has quit [Ping timeout: 255 seconds]
larissa has joined #ruby
cdg has joined #ruby
justizin has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
dviola has quit [Quit: WeeChat 1.9]
Ropeney has joined #ruby
djuber has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
enterprisey has joined #ruby
mtkd has joined #ruby
ozcanesen has joined #ruby
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
gusrub_ has quit []
nadir has quit [Quit: Connection closed for inactivity]
bronson has joined #ruby
harai_ has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
djuber has left #ruby ["ERC (IRC client for Emacs 26.0.50)"]
mson has quit [Quit: Connection closed for inactivity]
orbyt_ has joined #ruby
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pharma_joe has joined #ruby
eightlimbed has quit [Ping timeout: 240 seconds]
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pharma_joe has joined #ruby
harai_ has quit [Ping timeout: 248 seconds]
d5sx43 has joined #ruby
cschneid has quit [Remote host closed the connection]
cschneid has joined #ruby
d5sx43 has quit [Client Quit]
cschneid has quit [Ping timeout: 255 seconds]
ozcanesen has quit [Ping timeout: 260 seconds]
harai_ has joined #ruby
gix has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arescorpio has quit [Quit: Leaving.]
elcontrastador has joined #ruby
gix has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
weaksauce has quit [Read error: Connection reset by peer]
whippythellama has quit [Quit: WeeChat 1.4]
govg has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<craysiii>
Hello everyone, I am having troubles with HTTParty. I am able to gain an access_token from the Twitch API via HTTParty, and I am able to authenticate that access_token via curl, but not via my method which appears to me to be the same request. Maybe there is something I am missing?
<tamouse__>
neat! i'm doing a general drop-in thing weekly now, but it's not focused on any particular tech (most folks are attending from bootcamps and are learning JS)
<havenwood>
tamouse__: Exercism is a nice resource for feedback outside the group.
<havenwood>
tamouse__: We've had good luck rotating the subject matter.
nacsurte has joined #ruby
<tamouse__>
i think what i'm looking for is the sort of stuff i can use to help me put together a plan of sorts; this thing is supposed to run for 8 sessions, then be over
<havenwood>
tamouse__: First wed of the month we have a night for new folk, to get Ruby and other tools installed, etc.
<tamouse__>
yup, i'm reading you schedule
<havenwood>
The party night is by far the most popular. ;-)
<tamouse__>
i've been also running a monthly rails meetup, which i'm a bit tired from
<tamouse__>
hehe, i bet
<havenwood>
tamouse__: 8 sessions for folk new to Ruby?
<tamouse__>
yes, but not new to coding
<tamouse__>
the tuesday night group is great and it's really been building a community for women in tech
nacsurte has quit [Ping timeout: 255 seconds]
<tamouse__>
another group is asking me about the thing with ruby
<tamouse__>
i think i want to really focus on practical coding practice, not lectures or slides and crap like that
<tamouse__>
exercism is great for that, i've also got a few people going through brian hogan's book
<funkycrunchy>
havenwood: Thank you for saving me from prematurely zombie
cschneid has joined #ruby
ahrs has quit [Remote host closed the connection]
ferr has joined #ruby
ahrs has joined #ruby
Mortomes|Work has joined #ruby
<tamouse__>
but still , people do need some theory to hang the practical off of
cschneid has quit [Ping timeout: 255 seconds]
enterprisey has joined #ruby
pandaant has joined #ruby
pandaant has quit [Client Quit]
conta has joined #ruby
cschneid has joined #ruby
phaul has joined #ruby
cschnei__ has joined #ruby
frozengeek has joined #ruby
[dmp] has joined #ruby
cschneid has quit [Ping timeout: 252 seconds]
cschnei__ has quit [Ping timeout: 264 seconds]
cadillac_ has quit [Read error: Connection reset by peer]
cadillac_ has joined #ruby
tvw has joined #ruby
phaul has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tamouse__>
havenwood: here's one of the challenges: most of them are probably coming from the world of JS, where objects are so vastly different from the ruby world; bridging that, well, idk
<tamouse__>
scares me a little
<tamouse__>
teaching-wise, anyway
HTTP_____GK1wmSU has joined #ruby
cschneid has joined #ruby
HTTP_____GK1wmSU has left #ruby [#ruby]
<tamouse__>
i have to say i really do like your format, havenwood
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tvw has quit []
guille-moe has joined #ruby
cschneid has quit [Ping timeout: 252 seconds]
<baweaver>
A wild tamouse__ appeated
frozengeek has quit [Quit: frozengeek]
<baweaver>
baweaver used pun!
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
nacsurte has joined #ruby
cosmicz has joined #ruby
Gabemo has quit [Ping timeout: 248 seconds]
nacsurte has quit [Ping timeout: 240 seconds]
cschneid has joined #ruby
claudiuinberlin has joined #ruby
cagomez has joined #ruby
kbengala has left #ruby [#ruby]
Mia has joined #ruby
iamyask has quit [Quit: Connection closed for inactivity]
marr has joined #ruby
cschneid has quit [Ping timeout: 252 seconds]
cagomez has quit [Ping timeout: 248 seconds]
FahmeF has joined #ruby
mim1k has joined #ruby
cosmicz has quit [Quit: This computer has gone to sleep]
KeyJoo has joined #ruby
quobo has joined #ruby
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
alex`` has quit [Quit: WeeChat 1.9]
andikr has joined #ruby
r7c has quit [Quit: Leaving]
hahuang65 has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby
wnd has quit [Excess Flood]
wnd has joined #ruby
alex`` has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
Cohedrin_ has joined #ruby
cdg has joined #ruby
nadir has joined #ruby
rabajaj has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
AlHafoudh has quit [Ping timeout: 264 seconds]
cdg has joined #ruby
enterprisey has quit [Remote host closed the connection]
conall has joined #ruby
<conall>
When generating documentation with rdoc, lets say I have a directory with 3 modules in it and each has a README. I want to generate documentation from these READMEs so that under the "pages" tab, it will show the full path to all of these READMEs. Is this possible?
AlHafoudh has joined #ruby
ana_ has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
nacsurte has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
jinie has quit [Ping timeout: 240 seconds]
jinie has joined #ruby
runescape07rsps has quit [Quit: Leaving]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ana_ has joined #ruby
djbkd has quit [Ping timeout: 248 seconds]
nacsurte has quit [Ping timeout: 248 seconds]
claudiuinberlin has joined #ruby
rabajaj has quit [Quit: Leaving]
rabajaj has joined #ruby
catbusters has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
<Orbixx[m]>
Has anybody experienced their rspec test failing to exit/return after completion?
BSaboia has joined #ruby
mim1k_ has joined #ruby
mim1k has quit [Disconnected by services]
ledestin has joined #ruby
Olipro has joined #ruby
mtkd has quit [Ping timeout: 252 seconds]
imode has quit [Ping timeout: 264 seconds]
dlitvak has joined #ruby
mtkd has joined #ruby
KeyJoo has quit [Ping timeout: 240 seconds]
cschneid has joined #ruby
benlieb has quit [Quit: benlieb]
Serpent7776 has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid has quit [Ping timeout: 246 seconds]
t-recx has joined #ruby
millerti has joined #ruby
tvw has joined #ruby
HTTP_____GK1wmSU has joined #ruby
HTTP_____GK1wmSU has left #ruby [#ruby]
rabajaj has quit [Quit: Leaving]
Silthias has joined #ruby
claudiuinberlin has joined #ruby
charliesome has joined #ruby
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
uZiel has quit [Ping timeout: 248 seconds]
uZiel has joined #ruby
nacsurte has joined #ruby
nacsurte has quit [Ping timeout: 240 seconds]
charliesome has quit [Ping timeout: 255 seconds]
HTTP_____GK1wmSU has joined #ruby
HTTP_____GK1wmSU has quit [K-Lined]
<dminuoso>
No.
charliesome has joined #ruby
charliesome has quit [Client Quit]
FahmeF has quit [Remote host closed the connection]
cagomez has joined #ruby
KeyJoo has joined #ruby
FahmeF has joined #ruby
cagomez has quit [Ping timeout: 248 seconds]
ShalokShalom_ has joined #ruby
fivmo has joined #ruby
MyMind has joined #ruby
ShalokShalom has quit [Ping timeout: 248 seconds]
Sembei has quit [Ping timeout: 240 seconds]
ShalokShalom_ is now known as ShalokShalom
cschneid has joined #ruby
FahmeF has quit [Remote host closed the connection]
cagomez has joined #ruby
cschneid has quit [Ping timeout: 246 seconds]
ur5us has quit [Remote host closed the connection]
<craysiii>
Sorry to post again everyone, I am having troubles with HTTParty. I am able to gain an access_token from the Twitch API via HTTParty, and I am able to authenticate that access_token via curl, but not via my method which appears to me to be the same request. Maybe there is something I am missing?
<craysiii>
havenwood I've added a comment to the gist to show the responses I get
<craysiii>
both using the same client_id and access_token
cdg has quit [Remote host closed the connection]
<craysiii>
also I will check out that snippit when I get out of the shower, thanks
<havenwood>
craysiii: I get the same response for both curl and net-http, but I don't have a valid auth.
mkali has quit [Ping timeout: 248 seconds]
<craysiii>
would you mind if i PMed you my auth values?
twillkens has joined #ruby
<Salmonidae>
don't pm anyone your auth values
<craysiii>
i agree with you in practice
<Salmonidae>
i don't know the context here. at all. but if they are in any way important, don't bother.
mikecmpbll has quit [Quit: inabit. zz.]
cagomez has quit [Remote host closed the connection]
BTRE has quit [Ping timeout: 248 seconds]
cagomez has joined #ruby
<craysiii>
I will revisit this after work, thanks for the snip
millerti has joined #ruby
<Salmonidae>
try to provide gists that show the call paths you're making. it will help. or raise an exception when you get an invalid response, and show the backtrace.
<Salmonidae>
it makes identifying the issue easier without you having to provide any credentials
<craysiii>
I'll keep that in mind thanks!
_sfiguser has joined #ruby
imode has joined #ruby
FrostCandy has joined #ruby
BTRE has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_aeris_ has quit [Remote host closed the connection]
hahuang65 has joined #ruby
hahuang65 has quit [Client Quit]
lexruee has quit [Ping timeout: 248 seconds]
lexruee has joined #ruby
SeepingN has joined #ruby
ryandevilla has joined #ruby
_aeris_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
aihwh has joined #ruby
troys is now known as troys_
<aihwh>
how do i keep track of number of retries in a while?
<aihwh>
:o3
<aihwh>
or a loop
twillkens has joined #ruby
<dminuoso>
aihwh, does your version of Ruby come with variable support?
Zoffix has joined #ruby
imajes has joined #ruby
gusrub has quit [Remote host closed the connection]
<aihwh>
dminuoso: yes, i figured it was a dumb q
<aihwh>
thank you!
uZiel has quit [Ping timeout: 248 seconds]
mson has quit [Quit: Connection closed for inactivity]
<Zoffix>
\o Any idea what might be causing error about "gems/bundler" (full output here: https://gist.github.com/zoffixznet/11be36951d327c8646917557cb5b9aca ). I don't use Ruby in this project, but apparently it contains some files that trigger some ruby process when I try to use git on windows and git push fails with that error. Any hits what to look for?
<elomatreb>
As the output suggests it's on the remote, maybe there is some broken receive hook on the server?
<matthewd>
Zoffix: It's a problem on <redacted> (the server)
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaruga has quit [Quit: jaruga]
dionysus69 has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
charliesome_ has quit [Ping timeout: 248 seconds]
<Zoffix>
Turned out to be a GitLab issue documented here https://github.com/gitlabhq/gitlabhq/issues/7230 . Fixed it by changing the shebang in ~/gitlab-shell/hooks/update to from /usr/bin/env ruby to /usr/local/bin/ruby. I guess there's another version of ruby kicking around on that box that it was using instead of the right one. Oh well. Works For Now™ :)
<Zoffix>
Thanks everyone \o
Zoffix has left #ruby ["WeeChat 1.0.1"]
twillkens has joined #ruby
cosmicz has quit [Quit: This computer has gone to sleep]
Ltem has joined #ruby
twillkens has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
reber has quit [Quit: Leaving]
preyalone has quit [Quit: Connection closed for inactivity]
MarkBilk_ has joined #ruby
lxnr has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 252 seconds]
twillkens has joined #ruby
MarkBilk has quit [Ping timeout: 246 seconds]
__Yiota has joined #ruby
orbyt_ has joined #ruby
lxnr has quit [Ping timeout: 246 seconds]
twillkens has quit [Ping timeout: 240 seconds]
nchambers has quit [Ping timeout: 255 seconds]
nchambers has joined #ruby
twillkens has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bggbesb has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
al2o3-cr has quit [Quit: WeeChat 1.9]
cosmicz has joined #ruby
cosmicz has quit [Client Quit]
qwedfg has quit [Ping timeout: 240 seconds]
gusrub has joined #ruby
aihwh has joined #ruby
__Yiota has joined #ruby
baroquebobcat has joined #ruby
r3QuiEm_cL has joined #ruby
justinweiss has joined #ruby
maryo has joined #ruby
cdg has joined #ruby
ta_ has joined #ruby
qwedfg has joined #ruby
Dimik has joined #ruby
dviola has joined #ruby
bggbesb has quit [Ping timeout: 248 seconds]
charliesome has joined #ruby
cdg_ has joined #ruby
bvcosta has quit [Remote host closed the connection]
bvcosta has joined #ruby
balazs_ has quit [Ping timeout: 255 seconds]
cdg has quit [Ping timeout: 240 seconds]
bvcosta has quit [Remote host closed the connection]
bvcosta has joined #ruby
gusrub has quit [Read error: Connection reset by peer]
frozengeek has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub has joined #ruby
frozengeek has quit [Remote host closed the connection]
AgentVenom has joined #ruby
AgentVenom has quit [Client Quit]
Cohedrin_ has joined #ruby
unshadow has joined #ruby
balazs_ has joined #ruby
lxsameer has joined #ruby
lxnr has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Bock has quit [Ping timeout: 246 seconds]
enterprisey has joined #ruby
gr33n7007h has joined #ruby
bmurt has joined #ruby
gr33n7007h is now known as al2o3-cr
KeyJoo has joined #ruby
enterprisey has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
my123 has quit [Read error: Connection reset by peer]
my123 has joined #ruby
my123 has joined #ruby
balazs_ has quit [Ping timeout: 260 seconds]
qwedfg has quit [Ping timeout: 264 seconds]
cosmicz has joined #ruby
cosmicz has quit [Client Quit]
ur5us has joined #ruby
jackjackdripper has joined #ruby
jackjackdripper has quit [Client Quit]
jackjackdripper has joined #ruby
kapil___ has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
_sfiguser has quit [Ping timeout: 248 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub has quit [Read error: Connection reset by peer]
cadillac_ has quit [Ping timeout: 248 seconds]
gusrub has joined #ruby
cadillac_ has joined #ruby
_sfiguser has joined #ruby
GodFather has quit [Ping timeout: 248 seconds]
Gabemo has joined #ruby
ryandevilla has quit [Ping timeout: 248 seconds]
jackjackdripper has quit [Quit: Leaving.]
frozengeek has joined #ruby
<theRoUS>
how can i tell on linux whether a particular PID is alive or not? (exist or not)
gusrub has quit [Remote host closed the connection]
montyboy has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
montyboy has quit [Client Quit]
funkytwig has joined #ruby
Pisuke has quit [Ping timeout: 260 seconds]
<theRoUS>
apeiros: not seeing the 'without waiting' aspect
twillkens has joined #ruby
<apeiros>
wait2 with Process::WNOHANG as 2nd arg
bmurt has joined #ruby
<apeiros>
that's what I used
<apeiros>
don't remember why I used wait2 over other available methods, so feel free to investigate which wait methods support WNOHANG
<theRoUS>
hmm, i'll have to investigate this in more detail..
MrBusiness has joined #ruby
unshadow has quit [Quit: leaving]
<theRoUS>
apeiros: i'm basically having to spawn() an ssh command to set up a tunnel to a remote non-ssh port -- and if the server isn't listening, i can't figure out how to tell
conta has joined #ruby
<theRoUS>
apeiros: of course, if i'm not going to feed multiple commands, i coul probably use open3 instead
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub has joined #ruby
<eam>
19:00 < theRoUS> how can i tell on linux whether a particular PID is alive or not? (exist or not)
<eam>
theRoUS: the canonical way to do this is to send it a signal
conta has quit [Ping timeout: 246 seconds]
<eam>
Process.kill 0, pid
<eam>
this will not actually interrupt the process with a signal, but you will be able to tell if the process is signalable or not
<al2o3-cr>
+1 ^^
<havenwood>
if it raises an Errno::EPERM, it's there you just don't have permission to signal it
<eam>
bonus: this is a cross platform mechanism good for any posix system
twillkens has quit [Ping timeout: 246 seconds]
<theRoUS>
good enough, thanks!
orbyt_ has joined #ruby
phinxy has joined #ruby
r3QuiEm_cL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eam>
havenwood: 0 doesn't actually send a signal, it just invokes the error checking
cosmicz has joined #ruby
<havenwood>
eam: rgr
dviola has quit [Quit: WeeChat 1.9]
jenrzzz has joined #ruby
<Salmonidae>
Process.kill 0, pid_that_isnt_running raises Errno::ESRCH tho. still good though.
mostlybadfly has quit [Quit: Connection closed for inactivity]
MarkBilk__ has joined #ruby
twillkens has joined #ruby
mim1k has joined #ruby
claudiuinberlin has joined #ruby
dviola has joined #ruby
MarkBilk_ has quit [Ping timeout: 246 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 240 seconds]
nacsurte has quit [Ping timeout: 240 seconds]
<apeiros>
eam: ah, keep forgetting that. nice :)
<eam>
Salmonidae: yeah, the tricky thing here is that the underlying unix api intends errors to be useful
<Salmonidae>
ime it's the best way.
<eam>
and that kinda makes for an antipattern of using exceptions for flow control when mapped into ruby
<eam>
but what are you gonna do
Azure has quit [Ping timeout: 248 seconds]
<Salmonidae>
yeah. i think i just rescue SystemCallError false. basically. which would be better as a fine thought list of system errors that could apply.
KevinSjoberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aihwh has quit [Quit: Leaving.]
johnny56_ has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
Asher has joined #ruby
eckhardt has joined #ruby
Averna has joined #ruby
twillkens has quit [Ping timeout: 240 seconds]
Slinky_Pete has joined #ruby
<Slinky_Pete>
Question on running a cgi script from the command line. using var such as text=cgi['text'] and puts
mtkd has quit [Ping timeout: 240 seconds]
<Slinky_Pete>
puts "<html>#{text}</html>"
tcopeland has joined #ruby
mtkd has joined #ruby
<Slinky_Pete>
what do I run from the command line to make this return correct; at the moment I am running $ file.rb 'text=hello' but getting no putpt
shime has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eam>
Slinky_Pete: post the entire script in a gist if you can
<Slinky_Pete>
answered my own question while asking it, thanks though!
<eam>
:)
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 252 seconds]
banisterfiend has joined #ruby
ta_ has quit [Remote host closed the connection]
gusrub has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
maryo has quit [Ping timeout: 264 seconds]
claudiuinberlin has joined #ruby
wjack has joined #ruby
biberu has quit []
ur5us has joined #ruby
__Yiota has joined #ruby
benlieb has joined #ruby
MrBusiness has quit [Read error: Connection reset by peer]
shimshamshao has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nacsurte has joined #ruby
marxarelli is now known as marxarelli|afk
gusrub has joined #ruby
shimshamshao has quit [Quit: Lost terminal]
twillkens has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troys is now known as troys_
wjack has quit [Quit: Leaving]
__Yiota has joined #ruby
Rapture has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
twillkens has quit [Ping timeout: 255 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
Silthias has joined #ruby
hahuang65 has joined #ruby
ryandevilla has quit [Ping timeout: 260 seconds]
ldnunes has quit [Ping timeout: 240 seconds]
_joes_ has joined #ruby
GodFather has joined #ruby
goyox86 has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
goyox86 has quit [Client Quit]
goyox86 has joined #ruby
Silthias has quit [Ping timeout: 248 seconds]
def_jam is now known as eb0t
jinie has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
jinie has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 260 seconds]
jnollette_ is now known as jnollette
jnollette has quit [Changing host]
jnollette has joined #ruby
lxsameer has joined #ruby
twillkens has joined #ruby
__Yiota has joined #ruby
goyox86 has quit [Read error: Connection reset by peer]
goyox86 has joined #ruby
ldnunes has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
goyox86 has quit [Read error: No route to host]
howdoi has quit [Quit: Connection closed for inactivity]
lxsameer has quit [Ping timeout: 240 seconds]
Slinky_Pete has quit [Remote host closed the connection]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FahmeF has joined #ruby
twillkens has quit [Ping timeout: 260 seconds]
hahuang65 has quit [Ping timeout: 240 seconds]
nacsurte_ has joined #ruby
Ltem has quit [Quit: Leaving]
FahmeF has quit [Ping timeout: 248 seconds]
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
neo95 has joined #ruby
nacsurte has quit [Ping timeout: 255 seconds]
ryandevilla has joined #ruby
__Yiota has joined #ruby
oleo has quit [Remote host closed the connection]
TomyLobo has quit [Ping timeout: 255 seconds]
anisha has quit [Quit: This computer has gone to sleep]
ozcanesen has joined #ruby
lacuna has joined #ruby
r3QuiEm_cL has joined #ruby
r3QuiEm_cL has quit [Client Quit]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FahmeF has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
montyboy_ has quit [Quit: WeeChat 1.9]
ldnunes has quit [Quit: Leaving]
__Yiota has joined #ruby
__Yiota has quit [Client Quit]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enterprisey has quit [Remote host closed the connection]
ta_ has joined #ruby
abrcdbr has quit [Remote host closed the connection]
<zenspider>
Slinky_Pete: you probably kept a process open. You can't reopen the same port so either randomize it or make sure you kill all backgrounded processes
guille-moe has joined #ruby
<zenspider>
`jobs` to check
iszak has joined #ruby
iszak has quit [Changing host]
iszak has joined #ruby
enterprisey has joined #ruby
KeyJoo has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
<Slinky_Pete>
lsof | grep (myportnumber) doesn't return anything no matter what port I try
<tcopeland>
there’s an interesting comment about that warning here: https://stackoverflow.com/questions/10261477/tcpserver-error-address-already-in-use-bind2 - “Note that the problem can also be a harmless warning coming from an IPv6 configuration issue: the server first binds to a dual-stack IPv4+IPv6 address, then it also tries to bind to a IPv6-only address; and the latter doesn't work because the IPv6 address is already taken by the
<tcopeland>
I see that warning locally also and lsof shows that nothing is running on that port - and when I run GenericService on a port I can telnet to it and get a timestamp response
clemens3 has quit [Quit: WeeChat 1.0.1]
ryandevilla has joined #ruby
<zenspider>
matthewd: assuming I understand your q... tenderlove and I have talked about having a client that shows up to the server and asks for jobs but we haven't done it yet.
<matthewd>
zenspider: Basically it currently has a series of individual test runs (because we want a clean ruby env for each, because reasons)... am I right in thinking that mt-s could do the same thing, but gather those children's results into a single series of dots?
<zenspider>
Slinky_Pete: is your port > 1024?
guille-moe has quit [Ping timeout: 248 seconds]
<matthewd>
So no, simpler than that: I just want to aggregate results from child processes, no fancy work-assignment stuff here
ta_ has quit [Ping timeout: 240 seconds]
<Slinky_Pete>
Yeah, I have tried a gamete of diff ports
<zenspider>
matthewd: right now, not so much. you can look at how minitest-bisect uses minitest-server ... and tenderlove does have some stuff (I think for github, not rails directly) for forking tests out... but at some point I'd like a minitest "job" server and clients that show up and run them. It'd basically take over for ... what's that called. ugh. I forget the name. not pigeon-hole... :)
<zenspider>
the thingy that tries to distribute your tests evenly
<zenspider>
I'm post workout and nouns are still not looking up
<matthewd>
Okay, thanks. Is there any sort of existing API by which I can.. I guess inject multiple test-run results into a/the runner (or whatever it is that sits between the individual MT::Test subclass instances and the reporter)? Or maybe I should be trying to inject them directly into the reporter?
lxsameer has joined #ruby
<zenspider>
Slinky_Pete: ok. 1) it's a WARN, not an error. 2) I can reproduce the warning... but I suspect it is not on the default interface. 3) nc localhost 3321 works fine and reports the time
<zenspider>
AH
Uranio has joined #ruby
<zenspider>
4) it only happens on the stock ruby! my rbenv install of 2.4.0 doesn't warn at all
<Slinky_Pete>
I am running 2.4 as well but still no luck. Idk, I will keep searching.
<zenspider>
doesn't happen on my rbenv install of 2.2.4 either.
r3QuiEm_cL has joined #ruby
<zenspider>
either way... it still works
<matthewd>
Wild guess: it's trying to listen on both 0.0.0.0:3321 and [::]:3321
<matthewd>
At which point it depends on OS and maybe even compile-time flags as to whether the IPv6 listener defaults to IPv6-only, or dual stack
ozcanesen has joined #ruby
selim has quit [Ping timeout: 240 seconds]
Uranio has quit [Remote host closed the connection]
<Slinky_Pete>
So, I am getting return on nc local; but noting in the browser. Oh well not really the biggest issue right now. I will keep looking around, I am sure I will figure out my error somewhere.
alex`` has quit [Quit: WeeChat 1.9]
selim has joined #ruby
jackjackdripper has joined #ruby
jackjackdripper1 has quit [Read error: Connection reset by peer]
lxsameer has quit [Ping timeout: 240 seconds]
justinweiss has quit [Remote host closed the connection]
montyboy has joined #ruby
govg has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
<Slinky_Pete>
Got it working in the next example in the book. All is well!
ResidentBiscuit has quit [Quit: Critical Miss]
cdg_ has quit [Ping timeout: 260 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
<matthewd>
zenspider: Did you see my last? No worries if it was getting too complicated/boring/whatever.. just checking in case it slid by.
cdg has quit [Ping timeout: 240 seconds]
nadir has quit [Quit: Connection closed for inactivity]
<zenspider>
matthewd: no, catching up... nothing sits between a test and the reporter. It's all passed down to the class and then instance level run methods.
<matthewd>
Ah, so maybe I just want to replace the reporter in the children, and manually construct a regular reporter in the parent and feed it directly
<zenspider>
I would unify the run at the rake level and then try to do the split / map / reduce inside
<zenspider>
and just go through the normal mechanisms
baroquebobcat has quit [Quit: baroquebobcat]
<matthewd>
This is about having a clean ruby environment (constants, loaded features, etc), so I don't think we can avoid the forking
<zenspider>
not suggesting otherwise... pretty sure tenderlove has done this. Also pretty sure that... evan? the sequel guy has a minitest exension of the same sort. Tho I think he goes about it a bit wrong
<zenspider>
yeah. it'd also be nice to have the rails bootstrap in the parent process and the forks for free
<zenspider>
I think the majority of the complication on tenderlove's side was cloning/splitting the db connections as well
<zenspider>
I should get a version of this, clean it up, and add it to minitest. and/or the client job thingy
<matthewd>
Ah, yes, I know tenderlove has more complex stuff for parallel running in multiple processes
__Yiota has joined #ruby
<zenspider>
not sure if that was for rails or github tho... pretty sure he could share it either way. My eyeballs have touched it :)
<matthewd>
I think that's a whole level more complicated than this one though -- here we're purely serial
nobitanobi has joined #ruby
enterprisey has quit [Remote host closed the connection]
jackjackdripper1 has joined #ruby
tvw has joined #ruby
pharma_joe has joined #ruby
jackjackdripper has quit [Ping timeout: 240 seconds]
tvw has quit [Remote host closed the connection]
lxnr has quit [Ping timeout: 252 seconds]
<zenspider>
matthewd: right... you're just forking for a fresh env (which is SAD by the way!) ... it'd be equivalent to only having one client worker spawned. I don't see that being much more than a cmdline flag
<zenspider>
--jobs 1
<matthewd>
Sad but necessary.. we have to know we've got all the requires we need ¯\_(ツ)_/¯
Slinky_Pete has quit [Remote host closed the connection]
<matthewd>
If it was just about our own (actually very minimal) global state, we could arrange to reset it
enterprisey has joined #ruby
runescape07rsps has joined #ruby
gusrub has quit [Remote host closed the connection]
FahmeF has quit [Remote host closed the connection]
<matthewd>
zenspider: Talking of forks, I wish I could have a Minitest.dont_autorun / Minitest.forget_everything... but I do understand why it's objectionable
<zenspider>
matthewd: Do you just want Runnable.runnables.clear ?
<matthewd>
I want "neutralize the at_exit handler (because our forked child may not be a test at all), but if the child tries to arrange autorun for itself, then go ahead and un-neutralize it"
<zenspider>
you could group_by + clear... fork children, and have them pull from the group_by partitions
<matthewd>
Which is just gross, which is why I know I can't have it :)
<zenspider>
what's that scenario? forked child that may not be a test? why?
benlieb has quit [Quit: benlieb]
<matthewd>
This is a different fork, from inside the tests
<zenspider>
ah. bleh. yeah.
goyox86 has joined #ruby
brent__ has quit []
<matthewd>
I get the first half by installing an at_exit that'll just exit! before minitest gets a chance
<zenspider>
it's kinda unfortunate that at_exit is forked as well and there seems to be no forked hook method
<matthewd>
But then that means we never get the original one if it's really meant to happen
<matthewd>
You could check the pid :/
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
cschneid has joined #ruby
<zenspider>
matthewd: I'd be open to suggestion in that area. I'm not fond of my alternatives in either direction
mostlybadfly has joined #ruby
goyox86 has quit [Read error: Connection reset by peer]