mikecmpb_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
al2o3-cr has joined #ruby
newjersey has joined #ruby
Matthew_ has quit [Ping timeout: 244 seconds]
zrl_ has quit [Read error: Connection reset by peer]
spastorino has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
tristanp_ has joined #ruby
gmci has quit [Ping timeout: 264 seconds]
troter__________ has quit [Ping timeout: 264 seconds]
olivierjanss has quit [Ping timeout: 264 seconds]
AdamMeghji_ has quit [Ping timeout: 264 seconds]
tristanp has quit [Ping timeout: 260 seconds]
tristanp has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.4]
tristanp_ has quit [Read error: Connection reset by peer]
hxegon has joined #ruby
tildes has joined #ruby
Matthew_ has joined #ruby
Musashi007 has joined #ruby
graphettion has quit [Remote host closed the connection]
william3 has joined #ruby
tristanp has quit []
Matthew_ has quit [Ping timeout: 250 seconds]
tristanp has joined #ruby
ur5us has joined #ruby
Dry_Lips has quit [Ping timeout: 244 seconds]
joneshf-laptop has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
IrishGringo has quit [Ping timeout: 244 seconds]
CloCkWeRX has left #ruby [#ruby]
zrl_ has joined #ruby
al2o3-cr has joined #ruby
Dry_Lips has joined #ruby
Dry_Lips has quit [Changing host]
Dry_Lips has joined #ruby
tildes has quit [Ping timeout: 276 seconds]
troter__________ has joined #ruby
jpterry has joined #ruby
bhorn1|away has joined #ruby
csmb has joined #ruby
bhorn1|away is now known as bhorn1
Musashi007 has quit [Quit: Musashi007]
Matthew_ has joined #ruby
framling has quit [Remote host closed the connection]
al2o3-cr has quit [Client Quit]
s00pcan has quit [Ping timeout: 250 seconds]
al2o3-cr has joined #ruby
hxegon is now known as hxegon_AFK
hxegon_AFK has quit [Quit: BRB]
olivierjanss has joined #ruby
ensyde has joined #ruby
Yiota has joined #ruby
csmb has quit [Ping timeout: 265 seconds]
bhorn1 has quit [Ping timeout: 265 seconds]
Channel6 has joined #ruby
jpterry has quit [Ping timeout: 265 seconds]
stannard has quit [Remote host closed the connection]
GinoMan2440 has joined #ruby
william3 has joined #ruby
Cohedrin_ has joined #ruby
IrishGringo_ has joined #ruby
Cohedrin has quit [Ping timeout: 260 seconds]
william3 has quit [Ping timeout: 276 seconds]
freerobby has quit [Quit: Leaving.]
hxegon has joined #ruby
ekinmur has joined #ruby
th0m has quit [Read error: Connection reset by peer]
goodroot has joined #ruby
ebookclic has joined #ruby
william3 has joined #ruby
ebookclic has left #ruby [#ruby]
OTORelic2 has quit [Ping timeout: 250 seconds]
spastorino has joined #ruby
DarkBushido has quit [Ping timeout: 250 seconds]
william3 has quit [Ping timeout: 276 seconds]
houhoulis has joined #ruby
SCHAAP137 has quit [Quit: Exiting...]
sdothum has quit [Read error: Connection reset by peer]
aurum_infide_ has joined #ruby
northrup has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has joined #ruby
Madplatypus has joined #ruby
CloCkWeRX has joined #ruby
DarkBushido has joined #ruby
DarkBushido has joined #ruby
ensyde has quit [Ping timeout: 250 seconds]
IrishGringo_ has quit [Remote host closed the connection]
nitrix- has quit [Changing host]
nitrix- has joined #ruby
nitrix- is now known as nitrix
jokester has joined #ruby
IrishGringo has joined #ruby
AdamMeghji_ has joined #ruby
shai has joined #ruby
baweaver has joined #ruby
<shai>
hi :) I wanted to test if the script is currently running past midnight (even by a fraction of a second) and before 6am (even by a fraction of a second). how can I do that? would "t.hour > 0 && t.hour < 6" suffice for testing this against Time.new ?
<shai>
or would that only check against the hour, and not seconds, milliseconds, epoc etc?
danielpclark has quit [Ping timeout: 276 seconds]
A124 has quit [Read error: Connection reset by peer]
symm- has quit [Ping timeout: 276 seconds]
BtcBen has quit [Ping timeout: 276 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ss_much has quit [Quit: Connection closed for inactivity]
<Elysia>
Are IDE questions appropriate in this channel?
dn` has quit [Ping timeout: 244 seconds]
dn`_ is now known as dn`
<tobiasvl>
Elysia: I'd say "just ask", who knows until we hear the specific question
rbennacer has joined #ruby
william3 has joined #ruby
<Elysia>
I've been looking for a tool for ruby that sort of analyses rubydocs, but it seems RubyMine does nothing with comments before a method. In PHPStorm/Intelij you can use /** to have the IDE autocomplete a bit of documentation it knows, but I can't find such function within RubyMine
Pumukel has joined #ruby
karapety_ has joined #ruby
<Elysia>
it leads to me inconsisitently documenting my code at the very least, and was wondering if anyone has something like this integrated in their workflow
<jackdaniel>
jhass: thanks
<shevy>
Elysia don't know if many people use IDEs in ruby; in vim you can sort of enable this quite easily
hk238 has joined #ruby
<shevy>
you can get documentation via ri on the commandline; you can also enable this via ruby code, such as: RDoc::RI::Driver.process_args()
rubyaw has quit [Quit: Leaving...]
rbennacer has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
rbennacer has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
rubyaw has joined #ruby
karapety_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
<Elysia>
ri is nice, but I think what I want is more along the lines of yard
<Elysia>
and yeah, I haven't really tried vim's support for ruby yet, I often find the comfort of an IDE nice.
jaguarmagenta has joined #ruby
<shevy>
I don't use vim myself, I settled for editors that allow me to be lazy
bruno- has joined #ruby
<Elysia>
which are those? Atom? :P
william3 has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
jaguarmagenta has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 276 seconds]
Xeago has quit [Ping timeout: 268 seconds]
<manveru>
shevy: lazier than vim... what universe do you live in? :P
<Elysia>
anyhow - as far as RubyMine is concerned, it only completes the tags, but doesn't seem to autogenerate snippets, or hint that documentation is missing
<Elysia>
I guess I'll have to do with some hybrid monstrosity of using the terminal with my IDE :P
yeticry has joined #ruby
mdw has joined #ruby
mdw has quit [Client Quit]
rbennacer has joined #ruby
pawnbox has quit [Remote host closed the connection]
sepp2k has joined #ruby
crayfishx has joined #ruby
sepp2k has quit [Client Quit]
<shevy>
manveru notepad++!!! sorta
<shevy>
Elysia I actually haven't tested atom yet, havenwood seems to like it so that is a plus - havenwood can't be wrong!
<manveru>
...
<shevy>
there is also sublime, which I have tested only briefly; jhass likes it so that is a plus
<Elysia>
Atom's got some pretty good things going for it
<manveru>
why would you use an editor that has trouble opening files larger than 4MB...
<Elysia>
but the comfort of an IDE is something I've been preferring for larger projects, I don't know how well text editors do that
rbennacer has quit [Ping timeout: 244 seconds]
<Elysia>
manveru: if your code is 4 MB in one file, maybe you've got a problem bigger than your editor :P
<manveru>
if all your editor can edit is code, there's some issue :P
<Elysia>
well I'm not expecting it to edit images
<manveru>
what about xml/json/csv/whatever dumps, log files and the like?
<manveru>
editing large files is a solved problem for about 40 years...
<Elysia>
if this is about atom in particular, I remember that being horrible in earlier versions of atom
<Elysia>
but it's supposedly improved a lot in the stable releases
<manveru>
yeah
<manveru>
it still won't run in my terminal and it's still in JS though :P
OTORelic2 has joined #ruby
lacrosse has quit [Quit: Connection closed for inactivity]
* Elysia
hasn't used Atom a lot lately, considering he still has the Jetbrains family of IDEs at his leisure
<shevy>
manveru don't let those XML files grow!!!
<shevy>
some weeks ago, I actually found out that you can edit files on github
<shevy>
that is a cool feature :)
<Elysia>
shevy: sort of, it leads to a lot of bad things though :P
<manveru>
at least protect your master branch :)
platzhirsch has joined #ruby
<shevy>
Elysia yeah... it's not an IDE after all ;P
<shevy>
but in theory, my thinking was like "cool... now I can update ruby-gnome old code in the browser!"
phredus has quit [Remote host closed the connection]
Amnez777 has quit [Ping timeout: 244 seconds]
nofxx has joined #ruby
OTORelic2 has quit [Ping timeout: 250 seconds]
Alina-malina has quit [Ping timeout: 276 seconds]
<manveru>
i use it mostly to update things like docs and readmes
drptbl_ has joined #ruby
<manveru>
since it has the markdown preview, which is nice
<Elysia>
yeah, it's good for quick fixes
drptbl has quit [Read error: Connection reset by peer]
<Elysia>
I tend to appreciate it less when I see a pull request by some random guy that changes one character in some readme, though
moei has quit [Quit: Leaving...]
bollullera has joined #ruby
madgen has joined #ruby
moei has joined #ruby
bollullera has quit [Excess Flood]
bmf has joined #ruby
Alina-malina has joined #ruby
Amnez777 has joined #ruby
rbennacer has joined #ruby
houhoulis has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
DanyC has joined #ruby
watersoul has quit [Remote host closed the connection]
<kszarlej>
hey guys! I use Rails. Is there any possibility to make Rails ActiveRecord log in pure json so I can forward its logs to logstash?
BtcBen has joined #ruby
<kszarlej>
I use logstashlogger but still many of the activejob logs are in plaintext
rbr has quit [Disconnected by services]
<kszarlej>
not json
<kszarlej>
I assume activerecord has its own logger
rbr has joined #ruby
<manveru>
?rails kszarlej
<ruby[bot]>
kszarlej: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
neanderslob has joined #ruby
<kszarlej>
czy /j #RubyOnRails
<kszarlej>
ups
evidex has joined #ruby
postmodern has quit [Quit: Leaving]
navneet has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
shredding has quit [Ping timeout: 250 seconds]
navneet has joined #ruby
pawnbox has joined #ruby
krzkrz has quit [Ping timeout: 250 seconds]
bruno- has joined #ruby
A124 has joined #ruby
krzkrz has joined #ruby
workmad3 has joined #ruby
astrobunny has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 250 seconds]
Xeago has quit [Remote host closed the connection]
nettoweb has joined #ruby
baweaver has joined #ruby
Chagel_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
patrick_star has quit [Quit: Leaving]
Seich has quit [Ping timeout: 250 seconds]
Chagel has quit [Ping timeout: 264 seconds]
Seich has joined #ruby
yfeldblum has joined #ruby
baweaver has quit [Ping timeout: 268 seconds]
william3 has quit [Remote host closed the connection]
lightheaded has joined #ruby
ocbtec has joined #ruby
navneet has quit [Ping timeout: 250 seconds]
navneet has joined #ruby
tvl has joined #ruby
tvl is now known as tobiasvl
ICantCook has joined #ruby
karapetyan has quit [Remote host closed the connection]
tuelz3 has quit [Ping timeout: 268 seconds]
rippa has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
leftpad has quit [Remote host closed the connection]
bollullera has joined #ruby
pawnbox has quit [Remote host closed the connection]
poerror has joined #ruby
poerror has quit [Client Quit]
bollullera has quit [Excess Flood]
karapetyan has joined #ruby
stannard has joined #ruby
<shevy>
Elysia does RubyMine have some terminal embedded btw? geany has it, sorta, with vte embedded. It's not really an IDE though, just a lightweight editor
tuelz3 has joined #ruby
terlar has quit [Ping timeout: 246 seconds]
bronson has joined #ruby
stannard has quit [Ping timeout: 264 seconds]
krzkrz has quit [Ping timeout: 250 seconds]
<adaedra>
it does
Madplatypus has quit [Quit: Connection closed for inactivity]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
edwinvdgraaf has quit [Ping timeout: 250 seconds]
bigkevmcd has joined #ruby
navneet has quit [Ping timeout: 250 seconds]
karapetyan has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
joneshf-laptop has quit [Ping timeout: 260 seconds]
navneet has joined #ruby
unshadow has joined #ruby
LoneHerm_ has joined #ruby
<unshadow>
A qustion for you people. I have a class where one methos is looping and waiting for incoming connections. lets call it "server" for our example. When I do server.loop the class will block (ofcurse) which is fine, but, I want the class to respond to server.stop and\or server.reload etc.. how can I tell Kernel.loop to check if there are calls to the class before looping another time ? I also tried to do
<unshadow>
fork do; the loop; end but it wont work, the class is still unresponsive
pandaant has quit [Remote host closed the connection]
navneet_ has joined #ruby
navneet has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
<Mon_Ouie>
You could set a flag when you call #stop and just check the value of that flag before each iteration
<Mon_Ouie>
Don't forget that you need some form of IPC (e.g. pipes) if you need to communicate to the process you created using fork
LoneHerm_ has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
Spondyl has joined #ruby
<unshadow>
Mon_Ouie: The flag is a good idea, thanks :)
DoubleMalt has quit [Remote host closed the connection]
pawnbox has joined #ruby
jaguarmagenta has joined #ruby
rodfersou has joined #ruby
navneet_ has quit [Ping timeout: 246 seconds]
bruno- has joined #ruby
mikeiniowa has quit [Remote host closed the connection]
tuelz3 has quit [Ping timeout: 264 seconds]
mikeiniowa has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
navneet has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
bruno- has quit [Ping timeout: 264 seconds]
pandaant has joined #ruby
navneet has quit [Read error: Connection reset by peer]
navneet has joined #ruby
pawnbox has quit [Remote host closed the connection]
PedramT has joined #ruby
platzhirsch has quit [Quit: Leaving.]
pawnbox has joined #ruby
bkxd has joined #ruby
webus has joined #ruby
minimalism has quit [Quit: minimalism]
krzkrz has joined #ruby
navneet_ has joined #ruby
arlek_ has joined #ruby
Chagel_ has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
navneet_ has quit [Read error: Connection reset by peer]
Keltia_ has joined #ruby
navneet_ has joined #ruby
mozzarel1 has joined #ruby
diprotic has joined #ruby
diprotic has joined #ruby
rik has joined #ruby
paulgrmn1 has joined #ruby
rik is now known as Guest70979
acerna_ has joined #ruby
brunto has quit [Ping timeout: 260 seconds]
kapowaz_ has joined #ruby
deeprave_ has joined #ruby
navneet__ has joined #ruby
jpinnix________ has joined #ruby
deepak_ has joined #ruby
jmcc__________ has joined #ruby
navneet has quit [Ping timeout: 244 seconds]
utkarsh has joined #ruby
manveru_ has joined #ruby
Arcaire_ has joined #ruby
fn2187_ has joined #ruby
pelegreno_ has joined #ruby
madgen has quit [Ping timeout: 250 seconds]
audiodude_ has joined #ruby
nwhirschfeld_ has joined #ruby
jtd_ has joined #ruby
tonini_ has joined #ruby
deavidsedice has joined #ruby
stryek has joined #ruby
ltd has joined #ruby
bitemyap1 has joined #ruby
Karunamon|2 has joined #ruby
Sigma01 has joined #ruby
tvsutton_ has joined #ruby
tommylommykins has joined #ruby
valeri_uF0 has joined #ruby
perryh has joined #ruby
perryh has quit [Changing host]
perryh has joined #ruby
drbrain_ has joined #ruby
ec\_ has joined #ruby
code_[BNC] has joined #ruby
janelleb_ has joined #ruby
bakingbread has joined #ruby
brunto has joined #ruby
Rickmast_ has joined #ruby
irick has joined #ruby
hinbody_ has joined #ruby
thomasfedb_ has joined #ruby
xsdg_ has joined #ruby
jterra_ has joined #ruby
bnagy has joined #ruby
dostoyev1ky has joined #ruby
slash_ni1k has joined #ruby
trollface has joined #ruby
swistak35_ has joined #ruby
peterhu_ has joined #ruby
cfloare_ has joined #ruby
droptone_ has joined #ruby
nlsun_ has joined #ruby
_ht_ has joined #ruby
tabakhase__ has joined #ruby
pocketprotector- has joined #ruby
mg^^ has joined #ruby
kloeri__ has joined #ruby
navneet__ has quit [Read error: No route to host]
Edward123 has joined #ruby
lyro` has joined #ruby
atmosx_alt has joined #ruby
arthurnn_ has joined #ruby
navneet has joined #ruby
v1n has joined #ruby
navneet_ has quit [Ping timeout: 268 seconds]
OTORelic2 has joined #ruby
unsymbol_ has joined #ruby
scottschecter_ has joined #ruby
mozzarella has quit [Remote host closed the connection]
ljames has quit [Ping timeout: 260 seconds]
thermistor has quit [Ping timeout: 260 seconds]
code_ has quit [Ping timeout: 260 seconds]
jpinnix_______ has quit [Ping timeout: 260 seconds]
deeprave has quit [Ping timeout: 260 seconds]
tonini has quit [Ping timeout: 260 seconds]
Rickmasta has quit [Ping timeout: 260 seconds]
deepak has quit [Ping timeout: 260 seconds]
mmasaki has quit [Ping timeout: 260 seconds]
audiodude has quit [Ping timeout: 260 seconds]
icedp has quit [Ping timeout: 260 seconds]
yonatankoren has quit [Ping timeout: 260 seconds]
shortdudey123 has quit [Ping timeout: 260 seconds]
M-mistake has quit [Ping timeout: 260 seconds]
braidn has quit [Ping timeout: 260 seconds]
valeri_ufo has quit [Ping timeout: 260 seconds]
irick_ has quit [Ping timeout: 260 seconds]
arthurnn has quit [Ping timeout: 260 seconds]
nlsun has quit [Ping timeout: 260 seconds]
paulgrmn has quit [Read error: Connection reset by peer]
Paradox has quit [Ping timeout: 260 seconds]
jmcc_________ has quit [Ping timeout: 260 seconds]
levifig has quit [Ping timeout: 260 seconds]
yo61 has quit [Ping timeout: 260 seconds]
err_ok has quit [Ping timeout: 260 seconds]
optimaleatscout_ has quit [Ping timeout: 260 seconds]
atmosx has quit [Ping timeout: 260 seconds]
manveru has quit [Ping timeout: 260 seconds]
heyimwill has quit [Ping timeout: 260 seconds]
Arcaire has quit [Ping timeout: 260 seconds]
imajes has quit [Ping timeout: 260 seconds]
spectra has quit [Ping timeout: 260 seconds]
callumacrae has quit [Ping timeout: 260 seconds]
tabakhase has quit [Ping timeout: 260 seconds]
DenSchub has quit [Ping timeout: 260 seconds]
Hobbyboy has quit [Ping timeout: 260 seconds]
eggoez has quit [Ping timeout: 260 seconds]
mroth has quit [Ping timeout: 260 seconds]
gf3 has quit [Ping timeout: 260 seconds]
kapowaz has quit [Ping timeout: 260 seconds]
tvsutton has quit [Ping timeout: 260 seconds]
pipework has quit [Ping timeout: 260 seconds]
tommylom1ykins has quit [Ping timeout: 260 seconds]
drbrain has quit [Ping timeout: 260 seconds]
ltd_ has quit [Ping timeout: 260 seconds]
Karunamon has quit [Ping timeout: 260 seconds]
bitemyapp has quit [Ping timeout: 260 seconds]
perry has quit [Ping timeout: 260 seconds]
Cyrus has quit [Ping timeout: 260 seconds]
fn2187 has quit [Ping timeout: 260 seconds]
thomasfedb has quit [Ping timeout: 260 seconds]
Sammichmaker has quit [Ping timeout: 260 seconds]
Morrolan has quit [Ping timeout: 260 seconds]
jabreity_ has quit [Ping timeout: 260 seconds]
acerna has quit [Ping timeout: 260 seconds]
Fire-Dragon-DoL has quit [Ping timeout: 260 seconds]
krasnus has quit [Ping timeout: 260 seconds]
Bilge has quit [Ping timeout: 260 seconds]
pocketprotector has quit [Ping timeout: 260 seconds]
monoprotic has quit [Ping timeout: 260 seconds]
zlude has quit [Ping timeout: 260 seconds]
swistak35 has quit [Ping timeout: 260 seconds]
EdwardIII has quit [Ping timeout: 260 seconds]
brixen_ has quit [Ping timeout: 260 seconds]
segy has quit [Ping timeout: 260 seconds]
Keltia has quit [Ping timeout: 260 seconds]
riceandbeans has quit [Ping timeout: 260 seconds]
Sigma00 has quit [Ping timeout: 260 seconds]
zenguy_pc has quit [Ping timeout: 260 seconds]
deavid has quit [Ping timeout: 260 seconds]
Caelum has quit [Ping timeout: 260 seconds]
arlek__ has quit [Ping timeout: 260 seconds]
utkarsh_ has quit [Ping timeout: 260 seconds]
_ht has quit [Ping timeout: 260 seconds]
lyro has quit [Ping timeout: 260 seconds]
ec\ has quit [Remote host closed the connection]
janelleb has quit [Remote host closed the connection]
saltsa has quit [Remote host closed the connection]
zapata has quit [Ping timeout: 260 seconds]
unsymbol has quit [Ping timeout: 260 seconds]
speakingcode has quit [Ping timeout: 260 seconds]
bnagy_ has quit [Ping timeout: 260 seconds]
MaienM_ has quit [Ping timeout: 260 seconds]
Guest62432 has quit [Ping timeout: 260 seconds]
v0n has quit [Ping timeout: 260 seconds]
droptone has quit [Ping timeout: 260 seconds]
hinbody has quit [Ping timeout: 260 seconds]
rapha_ has quit [Ping timeout: 260 seconds]
cfloare has quit [Ping timeout: 260 seconds]
nwhirschfeld has quit [Ping timeout: 260 seconds]
scottschecter has quit [Ping timeout: 260 seconds]
stryek_ has quit [Ping timeout: 260 seconds]
xsdg has quit [Ping timeout: 260 seconds]
skakri has quit [Ping timeout: 260 seconds]
dostoyevsky has quit [Ping timeout: 260 seconds]
jterra has quit [Ping timeout: 260 seconds]
kriskropd has quit [Ping timeout: 260 seconds]
mg^ has quit [Ping timeout: 260 seconds]
epitron has joined #ruby
epitron has joined #ruby
j416 has quit [Ping timeout: 260 seconds]
epitron has quit [Ping timeout: 260 seconds]
peterhu has quit [Ping timeout: 260 seconds]
jtd has quit [Ping timeout: 260 seconds]
slash_nick has quit [Ping timeout: 260 seconds]
pelegreno has quit [Read error: Connection reset by peer]
kloeri has quit [Remote host closed the connection]
G has quit [Ping timeout: 260 seconds]
arthurnn_ is now known as arthurnn
drbrain_ is now known as drbrain
valeri_uF0 is now known as valeri_ufo
epitron has quit [Changing host]
jpinnix________ is now known as jpinnix_______
Sigma01 is now known as Sigma00
perryh is now known as perry
eggoez has joined #ruby
imajes has joined #ruby
MaienM_ has joined #ruby
deeprave_ is now known as deeprave
zlude has joined #ruby
j416_ has joined #ruby
Cyrus has joined #ruby
yonatankoren has joined #ruby
brixen has joined #ruby
segy has joined #ruby
tonini_ is now known as tonini
Cyrus is now known as Guest82863
cgfbee has quit [Excess Flood]
helpa-bot has joined #ruby
Edward123 is now known as EdwardIII
helpa has quit [Write error: Broken pipe]
mmasaki has joined #ruby
pocketprotector- has quit [Excess Flood]
rheddry has joined #ruby
j416_ is now known as j416
deepak_ is now known as deepak
pocketprotector has joined #ruby
Arcaire_ is now known as Arcaire
g3funk has joined #ruby
skakri has joined #ruby
pipework has joined #ruby
jabreity_ has joined #ruby
M-mistake has joined #ruby
moss has quit [Quit: QUITTING]
acerna_ is now known as acerna
gf3 has joined #ruby
Bilge has joined #ruby
<Elysia>
shevy: yeah, it's got a terminal. But if you're editing on windows, you might as well stab yourself in the knee
cgfbee has joined #ruby
kapowaz_ is now known as kapowaz
<Elysia>
so I often just use the git bash
helpa-bot has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 1.4]
helpa has joined #ruby
unshadow has quit [Quit: leaving]
navneet has quit [Read error: No route to host]
william3 has quit [Remote host closed the connection]
navneet_ has joined #ruby
zenguy_pc has joined #ruby
Fire-Dragon-DoL has joined #ruby
OTORelic2 has quit [Ping timeout: 250 seconds]
callumacrae has joined #ruby
riceandbeans has joined #ruby
<Elysia>
I am hopeless without `ls' :<
kent\n has quit [Quit: No Ping reply in 180 seconds.]
n008f4g_ has joined #ruby
manveru_ is now known as manveru
<Elysia>
it's the first command I use when I boot up my terminal (well, aside from cd), and the last command I use before shutting down!
jzigmund_ has joined #ruby
lsmola has quit [Ping timeout: 260 seconds]
saltsa has joined #ruby
william3 has joined #ruby
Morrolan has joined #ruby
kent\n has joined #ruby
DenSchub has joined #ruby
jzigmund has quit [Ping timeout: 276 seconds]
speakingcode has joined #ruby
G has joined #ruby
dn` has quit [Read error: Connection reset by peer]
optimaleatscout_ has joined #ruby
mroth has joined #ruby
<adaedra>
Powershell provides it
GodFather has joined #ruby
shortdudey123 has joined #ruby
err_ok has joined #ruby
william3 has quit [Remote host closed the connection]
Caelum has joined #ruby
vondruch has quit [Quit: Ex-Chat]
karapetyan has joined #ruby
freerobby has joined #ruby
william3 has joined #ruby
spectra has joined #ruby
terlar has joined #ruby
thermistor has joined #ruby
<Elysia>
I think it doesn't work on powershell terminals, i've not tried personally
gnufied has joined #ruby
<Elysia>
so long as I can use git commands i'll be satisfies
joonty has quit [Ping timeout: 276 seconds]
Weavel has joined #ruby
ljames has joined #ruby
johnmilton has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
waxxy has joined #ruby
william3 has quit [Ping timeout: 268 seconds]
Shidash has quit [Ping timeout: 276 seconds]
Papierkorb has quit [Ping timeout: 276 seconds]
iamvery_ has quit [Ping timeout: 276 seconds]
okdas has quit [Ping timeout: 276 seconds]
Spondyl is now known as Guest28437
Papierkorb has joined #ruby
lsmola has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
okdas has joined #ruby
okdas has quit [Changing host]
okdas has joined #ruby
Hobbyboy has joined #ruby
gregf has joined #ruby
krasnus has joined #ruby
iamvery has joined #ruby
nettoweb has quit [Ping timeout: 250 seconds]
yo61_ has joined #ruby
thai_ has quit [Ping timeout: 276 seconds]
ryotarai has quit [Ping timeout: 276 seconds]
norc has joined #ruby
<norc>
Hi. I need some ideas.
vondruch has joined #ruby
Shidash has joined #ruby
<norc>
One of my projects has both mechanize and savon as a dependency because it pulls in both ntlm-http and rubyntlm, creating bad blood when it comes to version checks.
ryotarai has joined #ruby
<norc>
Err. Well *because* of that dependency it requires the latter 2 packages.
thai_ has joined #ruby
<norc>
Should I go about and shoot someone to relieve my stress?
pawnbox has quit [Remote host closed the connection]
zapata has joined #ruby
kloeri__ is now known as kloeri
waxxy has quit [Read error: Connection reset by peer]
cj_ is now known as Guest31968
ldnunes has joined #ruby
nettoweb has joined #ruby
rapha_ has joined #ruby
joneshf-laptop has joined #ruby
karapetyan has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
heyimwill has joined #ruby
n008f4g_ has joined #ruby
waxxy has joined #ruby
pawnbox has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
lightheaded has quit []
sdothum has joined #ruby
<shevy>
fork!
<shevy>
call it mechon
jaruga___ has joined #ruby
jaruga___ has quit [Remote host closed the connection]
karapetyan has joined #ruby
pawnbox has quit [Remote host closed the connection]
jaruga__ has quit [Ping timeout: 244 seconds]
aurum_infide has quit [Ping timeout: 244 seconds]
poerror has joined #ruby
jaruga___ has joined #ruby
rbr has quit [Ping timeout: 264 seconds]
blaxter has joined #ruby
rbr has joined #ruby
dionysus69 has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
vondruch has quit [Quit: Ex-Chat]
Ebok has joined #ruby
NovapaX has joined #ruby
krzkrz has quit [Ping timeout: 276 seconds]
vondruch has joined #ruby
aep_ has quit [Changing host]
aep_ has joined #ruby
aep_ is now known as aep
senayar has quit [Remote host closed the connection]
<jhass>
because C is probably not not specified in C's gemspec
<jhass>
Gemfile's of dependencies are irrelevant
<jhass>
in B's gemspec I mean
teoric has joined #ruby
<jhass>
mmh and I think A's Bundler.require will only require the direct dependencies of A anyway
<workmad3>
^ was about to add that
GinoMan2440 has quit [Ping timeout: 250 seconds]
<norc>
jhass: So the dependency chains only work within gemspec?
<workmad3>
`Bundler.require` only automatically pulls in direct dependencies, not transitive dependencies
<jhass>
yes
baweaver has joined #ruby
navneet_ has quit [Remote host closed the connection]
<gregf_>
telnet localhost 3007
<jhass>
and since gemspec's don't support git sources, you'll have to redeclare it in A anyway
<gregf_>
oops :/ wrong chat
Mon_Ouie has quit [Ping timeout: 244 seconds]
GinoMan2440_ has quit [Ping timeout: 268 seconds]
<norc>
jhass: Okay great, while that is far from being pretty that works for me.
<workmad3>
norc: within a gem, a Gemfile is generally only useful for things like setting a git source for a dependency listed in the gemspec so you can do things like prepare support for unreleased gems prior to a full rubygems release
<norc>
workmad3: Ah that makes sense.
william3 has joined #ruby
<workmad3>
norc: basically, if you have a dependency, list it in the gemspec... if you have a place to get the dependency from, also list it in the Gemfile
navneet has joined #ruby
<jhass>
I also see benefit in having reproducable (CI) builds, hence I favor checking in the .lock for my gems too
<norc>
workmad3: Or I guess it could be sensible for an application like a rails app when you want to lock specific gems.
<workmad3>
jhass: I flip-flop on that front... on the one hand, good for reproducible, on the other hand, it could lead to not noticing breaks in newly installed versions
<norc>
In the end the real solution is to fix this obsolete mechanize gem to no longer use a badly outdated gem.
nobitanobi has quit [Remote host closed the connection]
<workmad3>
norc: Gemfile in a gem and Gemfile in an app fill different purposes :)
<norc>
But here we go, suddenly mechanize plays nicely again. :)
<jhass>
workmad3: yes I reckon that, but then you can cache and use --deployment, so it also gives faster builds
stannard has joined #ruby
<jhass>
and since breaking deps wasn't a pain point for me (i also use gemnasium to notify me of updates) I take those advantages
gagrio has quit [Ping timeout: 244 seconds]
baweaver has quit [Ping timeout: 268 seconds]
<workmad3>
jhass: yeah, at the moment I'm on a check-in Gemfile.lock at least for internal gems
<workmad3>
jhass: I'd probably re-evaluate that if I ever had any public gems :)
<jhass>
I only have public ones for now :P
nobitanobi has joined #ruby
<norc>
jhass: Though I would really like a way for gemspec being able to use git for gems.
<workmad3>
norc: not a responsibility for gemspecs...
navneet has quit [Read error: No route to host]
vondruch has joined #ruby
<jhass>
well the core of the issue is that Gemfile and gemspec are still two separate things...
navneet has joined #ruby
gagrio has joined #ruby
<norc>
Because one is for bundler, and the other is for building a gem, eh?
<jhass>
yes, but the core functionality of bundler is already moving into rubygems
<workmad3>
norc: a gemspec simply lists dependencies and versions, it makes no stance on to where a gem should be found
tjvc has quit [Max SendQ exceeded]
tjvc has joined #ruby
tjvc has quit [Changing host]
tjvc has joined #ruby
n008f4g_ has quit [Ping timeout: 268 seconds]
tjvc has quit [Max SendQ exceeded]
BrunoSaboia has joined #ruby
szulak_ has joined #ruby
<manveru>
in the end, Gemfiles still depend on gemspecs, so you can't really get rid of either :(
tjvc has joined #ruby
tjvc has joined #ruby
tjvc has quit [Changing host]
BSab has quit [Ping timeout: 244 seconds]
synthroid has joined #ruby
navneet has quit [Remote host closed the connection]
crameth has joined #ruby
kobain has joined #ruby
teoric has quit [Quit: WeeChat 1.3]
n008f4g_ has joined #ruby
codecop_ has quit [Remote host closed the connection]
OTORelic2 has joined #ruby
IrishGringo has joined #ruby
<jhass>
it's rather a question of what you consider the scope of rubygems to be
<shevy>
we can merge bundler and gem into ...
<shevy>
gundler!
bosnianboy has joined #ruby
joonty has joined #ruby
william3 has quit [Read error: Connection reset by peer]
<jhass>
for example supporting building a gem from git (and then git dependencies in turn would be easy)
william3 has joined #ruby
Shashikant86 has joined #ruby
OTORelic2 has quit [Ping timeout: 250 seconds]
marr has quit [Ping timeout: 250 seconds]
shredding has joined #ruby
pawnbox has joined #ruby
joonty has quit [Ping timeout: 276 seconds]
sgambino has joined #ruby
madgen has joined #ruby
siaw has quit [Quit: siaw]
yeticry has quit [Ping timeout: 264 seconds]
yeticry has joined #ruby
Xeago has quit [Remote host closed the connection]
Evan_ has quit [Ping timeout: 260 seconds]
saneax is now known as saneax_AFK
aufi has quit [Read error: Connection reset by peer]
Evan_ has joined #ruby
last_staff has quit [Quit: last_staff]
aufi has joined #ruby
Chagel has joined #ruby
eljimmy has joined #ruby
patrick_star has joined #ruby
swills has quit [Ping timeout: 244 seconds]
tuelz3 has joined #ruby
madgen has quit [Ping timeout: 244 seconds]
crameth has quit [Quit: crameth]
myntcake has joined #ruby
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gasher has joined #ruby
madgen has joined #ruby
newjersey has joined #ruby
newjersey has quit [Max SendQ exceeded]
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hinbody_ is now known as hinbody
jaguarmagenta has joined #ruby
<bosnianboy>
thanks nickjj (with a slight delay) that article helped me a lot :)
bruno- has joined #ruby
<nickjj>
bosnianboy, "slight"
<bosnianboy>
TTL didn't exceed :D
dick_ has joined #ruby
LadyElusive has quit [Quit: ZNC 1.6.2 - http://znc.in]
jaguarmagenta has quit [Ping timeout: 244 seconds]
elusiveother has joined #ruby
elusiveother has joined #ruby
Xeago has joined #ruby
constantinexvi_ has quit [Ping timeout: 276 seconds]
william3 has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 244 seconds]
dick_ has left #ruby [#ruby]
constantinexvi has joined #ruby
Shashikant86 has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
mikeiniowa has quit [Ping timeout: 260 seconds]
yeticry has quit [Ping timeout: 244 seconds]
bmn has quit [Ping timeout: 276 seconds]
Rasi has quit [Ping timeout: 244 seconds]
Xeago has quit [Remote host closed the connection]
yeticry has joined #ruby
bmn has joined #ruby
william3 has joined #ruby
Xeago has joined #ruby
ramortegui has joined #ruby
diegoaguilar has joined #ruby
djbkd_ has joined #ruby
GodFather has quit [Ping timeout: 246 seconds]
lxsameer has quit [Quit: WeeChat 1.4]
aegis3121 has joined #ruby
bkxd has quit [Ping timeout: 268 seconds]
cdg has joined #ruby
sid_fules has joined #ruby
navneet has joined #ruby
gagrio has quit [Ping timeout: 244 seconds]
Xeago has quit [Remote host closed the connection]
Amnez777 has quit [Ping timeout: 268 seconds]
Alina-malina has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
stannard has quit [Remote host closed the connection]
araujo has quit [Ping timeout: 244 seconds]
kriskropd has joined #ruby
xue has joined #ruby
aegis3121 has quit [Ping timeout: 260 seconds]
newdan has left #ruby [#ruby]
ChiefAlexander has joined #ruby
Xeago has quit [Remote host closed the connection]
araujo has joined #ruby
Xeago has joined #ruby
ekinmur has joined #ruby
* manveru
just wished bundler would go die in a hurry :P
Alina-malina has joined #ruby
Amnez777 has joined #ruby
<norc>
manveru: Why the hate for bundler?
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
araujo has quit [Max SendQ exceeded]
<manveru>
because trying to get a correct dependency tree with all the groups is a major PITA
araujo has joined #ruby
stannard has joined #ruby
malconis has joined #ruby
<jhass>
is that bundler's fault though? What could it do better?
Rasi has joined #ruby
<manveru>
why on earth does `Bundler.setup('default', 'production')` try to find a gemspec for a gem in the test group
drptbl_ has quit [Ping timeout: 250 seconds]
<jhass>
because you didn't install --without test ?
mustmodify___ has left #ruby [#ruby]
flashpoint9 has joined #ruby
sid_fules has quit [Remote host closed the connection]
<manveru>
i never installed the test gems in the first place, and i don't run install on the production machine
<jhass>
huh, you don't?
navneet has quit [Remote host closed the connection]
<jhass>
you should
sid_fules has joined #ruby
rbennacer has joined #ruby
<manveru>
no, i can't
<jhass>
don't check in vendor/bundle from a --path run
<manveru>
i don't
Snowy has joined #ruby
ludo_ has joined #ruby
djbkd_ has quit [Remote host closed the connection]
<jhass>
(nor a --deployment run)
<jhass>
if you have no network, that's what bundle package is for
william3 has quit [Remote host closed the connection]
AlexJakeGreen has joined #ruby
drptbl has joined #ruby
<manveru>
well, thanks
northrup has joined #ruby
krzkrz has joined #ruby
<manveru>
i spent the last week digging around bundler internals to figure out a good way to get the correct url for each source and the group of each non-development dependency
gagrio has joined #ruby
<jhass>
I don't want to miss bundlers feature set but I wouldn't miss its codebase, yeah
<jhass>
that's why I wish for rubygems to take over its feature set
<manveru>
bundler features are fine, but i'm doing immutabel deployments
<manveru>
*immutable
<manveru>
and it's really not happy in that environment :P
nobitanobi has quit [Remote host closed the connection]
atmosx_alt is now known as atmosx
<manveru>
i'm adding gemfile group support to the nix bundlerEnv
nobitanobi has joined #ruby
ludo_ has quit [Quit: Lost terminal]
tax has joined #ruby
<manveru>
but apparently the only thing group are good for is reducing startup times a bit
<manveru>
you still need those gemspecs around for some reason
PedramT has quit [Remote host closed the connection]
hxegon has joined #ruby
PedramT has joined #ruby
someish has joined #ruby
<manveru>
for example we have `metric_fu` as a development dependency, that in turn needs reek -> unparser -> abstract_type
<jhass>
mmh, not IME (and I kinda contributed by default optional groups, so I played around a fair bit there)
aegis3121 has joined #ruby
<manveru>
and if i try to `ruby -rbundler -e 'Bundler.setup("default")'` it complains about not finding abstract_type in any sources
<jhass>
well you do need them for resolving the lock
<manveru>
yeah
<jhass>
which will always happen unless you --deployment
<jhass>
not sure about bundle package there
<manveru>
so i tried writing a smaller Gemfile.lock without the dependencies that are in groups i don't need
<manveru>
but then bundler starts bitching about having the lock out of sync
<manveru>
even with BUNDLER_FROZEN set
<jhass>
really? sounds like some bug potential there
<jhass>
mh otoh it wouldn't be too unreasonable to do an offline check between the Gemfile and Gemfile.lock
<jhass>
so if you patch the .lock by hand you should keep the Gemfile in sync by hand too
<manveru>
not by hand
<manveru>
i wrote a subclass of Bundler::Dsl for that
<jhass>
basically the resolver ignores groups because --with / --without shall not affect the resolution
nando293921 has quit [Ping timeout: 244 seconds]
<jhass>
but I can't imagine why you'd need the spec's other than computing a new resolution or installing
<jhass>
and if frozen is set computing a new resolution should abort
<jhass>
but then it's been some time (a year or so) since I was that deep in the internals
<manveru>
heh
<manveru>
i guess i'd be happy if people didn't use the Bundler API directly and relied on RUBYLIB instead :P
<manveru>
but well, not much i can change ther
<manveru>
+e
Xeago_ has joined #ruby
siaw has joined #ruby
Nilium has quit [Ping timeout: 276 seconds]
xMopxShell has quit [Ping timeout: 276 seconds]
william3 has joined #ruby
<jhass>
peeking at the changelog, maybe relevant "add --frozen support to bundle package"
sid_fules has quit [Remote host closed the connection]
<jhass>
(for 1.12.pre.2)
<manveru>
yeah, that's what BUNDLER_FROZEN does
<manveru>
or Bundler.settings[:frozen]
Nilium has joined #ruby
GodFather has joined #ruby
<manveru>
it's nice so bundler doesn't try to write a new lockfile every time you call it :P
xMopxShell has joined #ruby
Xeago has quit [Ping timeout: 250 seconds]
<manveru>
also for some reason it always tries to make .bundle/config if you just look at the general direction of bundler ;P
spider-mario has joined #ruby
crank1988 has quit [Ping timeout: 276 seconds]
sgambino has joined #ruby
Waqas has joined #ruby
Snowy has quit [Remote host closed the connection]
rbennacer has quit [Read error: Connection reset by peer]
crank1988 has joined #ruby
tuelz3 has quit [Ping timeout: 246 seconds]
shadeslayer has quit [Ping timeout: 244 seconds]
elusiveother is now known as LadyElusive
infra-re_ has quit [Remote host closed the connection]
Shashikant86 has quit [Ping timeout: 244 seconds]
`tim` has joined #ruby
Aviio has joined #ruby
workmad3 has quit [Ping timeout: 268 seconds]
Yiota has joined #ruby
Waqas has quit [Ping timeout: 260 seconds]
Xeago_ has quit [Remote host closed the connection]
Waqas has joined #ruby
jokester has quit [Quit: recharge]
shadeslayer has joined #ruby
bruno- has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
infra-red has joined #ruby
Gasher has quit [Quit: Leaving]
gregf has quit [Ping timeout: 244 seconds]
godzillaenlacasa has joined #ruby
ChiefAlexander has joined #ruby
<shevy>
bundler loves you!
valeri_ufo has quit [Ping timeout: 268 seconds]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saneax_AFK is now known as saneax
gregf has joined #ruby
Chagel has quit [Ping timeout: 250 seconds]
Chagel has joined #ruby
Macaveli has joined #ruby
nitrix has quit [Quit: EOF]
Snowy has joined #ruby
AlexJakeGreen has quit [Quit: Leaving]
Yiota has joined #ruby
wlanboy has quit [Ping timeout: 276 seconds]
SirFunk has quit [Ping timeout: 276 seconds]
kkh is now known as duracrisis
duracrisis is now known as Guest96311
SirFunk has joined #ruby
Gasher has joined #ruby
Kallis has joined #ruby
LoneHerm_ has joined #ruby
william3 has quit [Remote host closed the connection]
william3 has joined #ruby
wlanboy has joined #ruby
Mon_Ouie has joined #ruby
aganov has quit [Remote host closed the connection]
karmatr0n has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
\13k has quit [Ping timeout: 276 seconds]
Guest15657 has quit [Ping timeout: 276 seconds]
Xeago has joined #ruby
centrx has joined #ruby
madgen has quit [Ping timeout: 268 seconds]
nuck has joined #ruby
\13k has joined #ruby
nuck is now known as Guest59517
william3 has quit [Remote host closed the connection]
CloCkWeRX has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 244 seconds]
tuelz3 has joined #ruby
infra-red has quit [Remote host closed the connection]
idletask has quit [Ping timeout: 260 seconds]
idletask has joined #ruby
SilverKey has joined #ruby
infra-red has joined #ruby
valeri_ufo has joined #ruby
tvon has quit [Quit: System is sleeping...]
n008f4g_ has quit [Ping timeout: 268 seconds]
jokester has joined #ruby
Chagel has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
william3 has joined #ruby
OTORelic2 has joined #ruby
terlar has quit [Quit: WeeChat 1.4]
banister has joined #ruby
djbkd_ has joined #ruby
Xeago has quit [Remote host closed the connection]
joonty has joined #ruby
hxegon has quit [Quit: BRB]
marr has joined #ruby
Regulati_ has quit [Read error: Connection reset by peer]
OTORelic2 has quit [Ping timeout: 276 seconds]
Xeago has joined #ruby
RegulationD has joined #ruby
djbkd_ has quit [Ping timeout: 260 seconds]
aufi has quit [Ping timeout: 260 seconds]
zast has joined #ruby
joonty has quit [Ping timeout: 268 seconds]
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
scottschecter_ is now known as scottschecter
rbennacer has joined #ruby
drptbl has joined #ruby
SilverKey has quit [Quit: Halted.]
<dionysus69>
help with git please, is this a correct way to pull specific commit from remote >? git fetch someRemoteOrigin master:32e23e5682323d143895e4db98a51ef887de7bd9
tvon has joined #ruby
<norc>
dionysus69: Aside from the fact that you hit the wrong channel, yes.
<Bish>
workmad3: guess he is still right, because Mail.new does create a mail with a certain delivery_method
Xeago has quit [Remote host closed the connection]
<Bish>
and Mail.defaults do { ... } does set the defaults for a certain delivery method
<toretore>
it's one of those "i want to be both a getter and a setter" methods
<Bish>
confusimg imho
treehug88 has joined #ruby
n008f4g_ has joined #ruby
SilverKey has quit [Quit: Cheerio!]
<workmad3>
Bish: `delivery_method :sendmail` could work, or `delivery_method :smtp, enable_starttls_auto: false` (and make sure you're connecting to port 25, assuming your SMTP server allows unencrypted connections on 25 but not on 587)
<workmad3>
Bish: tbh, almost everything about email gets confusing at some point :)
madgen has joined #ruby
rkazak has joined #ruby
<Bish>
yeah smtp is a huge load of .
smathy has joined #ruby
joseph has joined #ruby
lxsameer has joined #ruby
tuelz3 has quit [Ping timeout: 260 seconds]
SilverKey has joined #ruby
heinrich5991 has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
ssiris has joined #ruby
tuelz3 has joined #ruby
hobodave has joined #ruby
Balzrael has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
karmatr0n has joined #ruby
ljames has quit []
the_drow has joined #ruby
k13nox has joined #ruby
poguez_ has joined #ruby
t-richards has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
<adaedra>
HELO
synthroid has quit [Remote host closed the connection]
kareeoleez has joined #ruby
heinrich5991 has joined #ruby
<Bish>
EHLO
webus has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<smathy>
Pfft... 501 HELO/EHLO argument invalid.
the_drow has quit [Quit: This computer has gone to sleep]
eatsfoobars has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Aviio has joined #ruby
* adaedra
puts smathy into a postfix queue
elifoster has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
NovapaX has quit [Ping timeout: 260 seconds]
gregf has quit [Quit: WeeChat 1.4]
charliesome has joined #ruby
* smathy
retries for the next 4 days
lxsameer has quit [Ping timeout: 260 seconds]
Chagel has quit [Ping timeout: 260 seconds]
CausaMortis has quit [Ping timeout: 276 seconds]
tabakhase__ is now known as tabakhase
tabakhase has joined #ruby
tabakhase has quit [Changing host]
madgen has quit [Ping timeout: 268 seconds]
rbennace_ has joined #ruby
<adaedra>
You need 4 days to readjust a mental map?
bruce_lee has quit [Read error: Connection reset by peer]
charliesome has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
rbennacer has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
tvon has quit [Quit: Peace out, y'all!]
charliesome has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.4]
ixti has joined #ruby
Snowy has quit [Remote host closed the connection]
ta_ has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 268 seconds]
<smathy>
adaedra, no, just a joke referring to the default delivery failure retry period.
<smathy>
...sheesh, here I was thinking I was talking to an SMTP endpoint.
infra-red has quit [Remote host closed the connection]
<adaedra>
Of course, but I found it funny to cross-discuss with #RoR
dionysus69 has joined #ruby
aufi has joined #ruby
ta_ has joined #ruby
symm- has joined #ruby
tuelz3 has quit [Quit: WeeChat 1.3]
madgen has joined #ruby
<smathy>
Oh, damnit, I lost track.
* smathy
has very tightly defined channel silos
<brent__>
inject vs reduce, which si preferred? and why would there be 2 seemingly identical methods
bokayio has quit [Ping timeout: 276 seconds]
csaunders has quit [Ping timeout: 276 seconds]
Guest10044 has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
lxsameer has joined #ruby
bokayio has joined #ruby
<aegis3121>
brent__ so people from different backgrounds can more quickly get started, I believe, is at least part of the philosophy behind that
<adaedra>
They're the same, brent__, they're aliases
<aegis3121>
same reason for #collect/#map, #find/#select.
<aegis3121>
select...? that doesn't soudn right
<aegis3121>
ya no. #collect and #map are the same, though...
<aegis3121>
" Prefer map over collect, find over detect, select over find_all, reduce over inject and size over length. "
<aegis3121>
If you're following Rubocop and its style guide
<shevy>
long live the style guide!
greenhat has joined #ruby
<brent__>
okay
<brent__>
thanks
solocshaw has quit [Remote host closed the connection]
<smathy>
brent__, and aliases are usually there to conform to developer expectations - like how `map` is there for the devs coming from Perl and FPs whereas `collect` is from Smalltalk and was also in Prototype.js
kits has quit [Quit: Leaving]
eljimador has quit [Ping timeout: 260 seconds]
eljimador has joined #ruby
<smathy>
brent__, I'm sure there is an analogous reason behind inject/reduce I'm just not aware of that one.
solocshaw has joined #ruby
[Butch] has joined #ruby
<chrisarcand>
Same reasoning. reduce is the higher order function, inject is from smalltalk.
Yiota has joined #ruby
Shashikant86 has joined #ruby
synthroid has joined #ruby
swills has joined #ruby
<chrisarcand>
Wherein Ruby tries to make everyone happy and welcomed from other languages and honestly just makes it more confusing for newcomers, IMO.
raeoks has joined #ruby
<brent__>
i found all the aliases a confusing part of initially learnign ruby syntax
<chrisarcand>
You and most people, I think ;)
<brent__>
i was doing java before ruby and was like "why are they throwing multiple ways to do the same thing at me!"
IrishGringo has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160407164938]]
jackjackdripper has quit [Quit: Leaving.]
SilverKey has quit [Quit: Halted.]
<smathy>
Heh :)
jackjackdripper has joined #ruby
Xeago has joined #ruby
<smathy>
brent__, hence your "...but please for the love of God tell me which one is preferred?!?!?!" question ;)
william3 has quit [Remote host closed the connection]
<aegis3121>
The Style guide usually tells you if one is preferred. If not, use whatever your heart desires.
charliesome has quit [Ping timeout: 268 seconds]
<smathy>
I came from Perl, so I'm just happy to have aliases that aren't just punctuation.
<brent__>
indeed, i think i found myself using both randomly w/ no rhyme or reason
<smathy>
Heh, I came from Perl so, style guide, HA!
jobewan has joined #ruby
<smathy>
brent__, oh yeah, *that's* definitely not preferred ;)
<brent__>
i figured, just couldn't remember which was preferred
<brent__>
i'll remember to look to the style guide
<smathy>
:)
charliesome has joined #ruby
william3 has joined #ruby
jobewan has quit [Client Quit]
jobewan has joined #ruby
bradleyprice has joined #ruby
waxxy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joseph has quit [Read error: Connection reset by peer]
bronson has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
Couch has quit [Ping timeout: 244 seconds]
s00pcan has joined #ruby
aegis3121 has quit [Ping timeout: 252 seconds]
etehtsea has joined #ruby
matp has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cohedrin_ has joined #ruby
rubyaw has joined #ruby
hobodave has quit [Ping timeout: 276 seconds]
Cohedrin has quit [Ping timeout: 260 seconds]
nobitanobi has joined #ruby
apeiros has quit [Ping timeout: 260 seconds]
JoshL_ has quit [Quit: ZNC 1.6.1+deb1~ubuntu14.04.0 - http://znc.in]
bradleyprice has quit [Remote host closed the connection]
Yiota has joined #ruby
bradleyprice has joined #ruby
karapetyan has joined #ruby
toretore has quit [Ping timeout: 250 seconds]
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 246 seconds]
pietr0 has joined #ruby
PedramT has joined #ruby
dhollinger has joined #ruby
acidrainfall has joined #ruby
<acidrainfall>
Just a quick question. I'm creating an array in a method with Array.new - if I rerun the method, does Array.new also clear it out so it's an empty array again?
rkazak has quit [Ping timeout: 276 seconds]
<adaedra>
no, it's a new array
northrup has quit [Ping timeout: 246 seconds]
JoshL has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
mlakewood has joined #ruby
bradleyprice has quit [Read error: Connection reset by peer]
<adaedra>
Also, if you want an empty array, just use `[]`
<acidrainfall>
then... the answer is yes?
<acidrainfall>
What's the difference between new and empty?
<adaedra>
errr.
<adaedra>
I misread.
<acidrainfall>
oh
<adaedra>
Array.new won't touch existing arrays, if it's your question.
<acidrainfall>
Right, that's my question.
<acidrainfall>
Okay.
<adaedra>
But if you've a method with `@array = Array.new`, @array is rewritten at each call.
apeiros has joined #ruby
<acidrainfall>
Good to know I'll go look that up
PedramT has quit [Ping timeout: 260 seconds]
hxegon has joined #ruby
hxegon is now known as hxegon_AFK
<acidrainfall>
Stupid. Google won't search @.
saneax is now known as saneax_AFK
Renich has joined #ruby
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bigkevmcd has quit [Read error: Connection reset by peer]
<adaedra>
@array is an instance variable.
karapetyan has quit [Ping timeout: 260 seconds]
`tim` has joined #ruby
<acidrainfall>
yeah I knew that much
andikr has quit [Remote host closed the connection]
hxegon_AFK is now known as hxegon
<acidrainfall>
it's aight I just pulled up a scope section this will help
jackjackdripper has quit [Ping timeout: 252 seconds]
IrishGringo has joined #ruby
mlakewood has left #ruby [#ruby]
Log1x has quit [Ping timeout: 260 seconds]
stunder001 has joined #ruby
shredding has quit [Ping timeout: 246 seconds]
dreinull has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
stunder001 has quit [Client Quit]
anisha has quit [Quit: Leaving]
stunder has joined #ruby
davedev24 has joined #ruby
jrafanie has joined #ruby
Log1x has joined #ruby
Log1x has quit [Changing host]
Log1x has joined #ruby
infra-red has joined #ruby
Guest82863 is now known as Cyrus
Cyrus has quit [Changing host]
Cyrus has joined #ruby
ocbtec has quit [Quit: leaving]
bb010g has quit [Quit: Connection closed for inactivity]
<jhass>
acidrainfall: Array#clear will empty an existing array
<jhass>
Array.new creates a new one
davedev24 has quit [Ping timeout: 250 seconds]
<cschneid>
I have an array that I'd like to sort normally, except if it contains "X", I need "X" to bubble to front, and "Y" bubbles to just behind "X", or front if x isn't there. Is there a non-terrible way to write this kind of sort_by{} function? Or is there a smoother way?
karapetyan has joined #ruby
icedp has joined #ruby
<adaedra>
It's rather by sort {} here
<adaedra>
You can fake the comparaison to always put X as first inside the block, and normal comparaison if no X is in the comparaison
chosen1 has joined #ruby
joonty has quit [Ping timeout: 260 seconds]
<acidrainfall>
jhass: is that preferable to array = [] ?
mark_66 has quit [Remote host closed the connection]
<cschneid>
thats what I was figuring, but I'd have to account for the priority things in both the first & second key, and it'd end up being a fair bit of if statements
<acidrainfall>
I'm completely fine with that
<jhass>
acidrainfall: I wouldn't say so, technically equivalent but stylewise [] is preferred to Array.new
<acidrainfall>
Oh, I wasn't aware of that second bit
<jhass>
workmad3: mmh, dunno creating a two element array for each item?
evidex has quit [Remote host closed the connection]
Yeomra_ has joined #ruby
<cschneid>
oh, sort_by doesn't work like I thought. Man, I use too many languages on a regular basis
bigkevmcd has joined #ruby
<workmad3>
jhass: kinda depends on the size of the way, but I'd class it as 'non-terrible' at least :)
<workmad3>
*of the array
<workmad3>
wtf is wrong with my typing this evening? :/
<cschneid>
the list will be short, 10 items or so
IrishGringo has quit [Remote host closed the connection]
<adaedra>
cschneid: not the best way, but you could also remove the X, sort the array, unshift the X.
karapetyan has quit [Ping timeout: 276 seconds]
<cschneid>
hmm, not terrible. `.delete()` is plenty quick
<smathy>
acidrainfall, same reason `foo = ""` is preferred to `foo = String.new` because we're not Java devs ;)
decoponio has joined #ruby
<jhass>
dunno, I think I'd ["X", "Y", *arr.sort - ["X", "Y"]] if arr.include? "X"
<jhass>
you'd need to branch for the "Y" bit anyway
<jhass>
since "Y" shouldn't go to front if there's no "X" if I got it right
<adaedra>
ah yes, there are two things to put on top
<workmad3>
jhass: it should... 'front if x isn't there'
<cschneid>
ideally I'd write this so there can be N things to put up front :)
<jhass>
oh, misread that
<workmad3>
basically it's X > Y > <normal ordering>
baweaver has quit [Remote host closed the connection]
<cschneid>
workmad3: right, and skipping X or Y if they weren't present in the original
<cschneid>
which is awkward. I'll go write the generic solution elsewhere, and then use it. Was hoping I could one-liner it, but talking it through, it's complex enough to go do right
<adaedra>
cschneid: can there be multiple X or Y?
<cschneid>
adaedra: no, the list is unique
<cschneid>
items in the list rather
TomyLobo has joined #ruby
bigkevmcd has quit [Ping timeout: 250 seconds]
<adaedra>
[X, Y].map { |e| array.delete e }.compact + array.sort
baweaver has joined #ruby
<adaedra>
maybe better in two instructions tho, modifying and reading the array in the same instruction is not the best thing to do I think
<cschneid>
then `if Y was deleted, unshift` `if X was deleted, unshift`
diegoaguilar has quit [Remote host closed the connection]
<adaedra>
no, no need for that
stunder has quit [Ping timeout: 276 seconds]
Yiota has quit [Ping timeout: 276 seconds]
baweaver has quit [Remote host closed the connection]
bigkevmcd has joined #ruby
<cschneid>
oh, I see
<adaedra>
in the first part, it will collect X and Y IF it finds the elements, and then eleminate the nils if not found
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<acidrainfall>
I just saw Array.new in the ruby documentation on the Array type
<acidrainfall>
so I used it
mikecmpbll has quit [Ping timeout: 260 seconds]
<adaedra>
Literals are often preferred
<acidrainfall>
"" being a literal?
lxsameer has quit [Ping timeout: 268 seconds]
<adaedra>
{} over Hash.new, [] over Array.new, "" over String.new
<adaedra>
yep
<workmad3>
(oops, -1 in the right case, updated gist)
colegatron has quit [Read error: Connection reset by peer]
<cschneid>
workmad3: right, that's where I started which grows pretty ugly when you add thing #3 or 4 to sort on. This is a UI helper in rails, we want to bubble up known-important things to the front, then let the dynamic stuff just be sorted after
<workmad3>
cschneid: hmm... sounds like you're really reaching the point where you want a proper search/indexer that lets you boost values
fmcgeough has joined #ruby
Snowy has joined #ruby
diegoaguilar has joined #ruby
ellimist747 has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
Yiota has joined #ruby
<cschneid>
not really, this is a one-off. We only have room in our UI for ~7 sorta-dynamic items, we know 2-3 are always relevant, then we want to just show the rest we can.
<cschneid>
thanks a ton for helping me think through this - there are a few options here. Now to implement one of them
<mustmodify>
need a sanity check. I'm writing a microservice to receive UDP messages from GPS devices, persist the locations, and to provide a very small http API ( last position for a device, all positions between x and y for a device. ) So I have the UDP part working... now I'm starting to add to the db. I haven't used any ORMs other than ActiveRecord. Should I just bite the bullet and install Rails? Dev time will be much faster... just quickly thinking about it... l
jenrzzz has joined #ruby
jenrzzz has joined #ruby
SilverKey has joined #ruby
<mustmodify>
I was initially thinking about sinatra
<mustmodify>
and sqlite3
solars has joined #ruby
hk238 has joined #ruby
Xeago has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 246 seconds]
<mustmodify>
down side to rails is that it takes up a ton of memory and I don't need most of what Rails provides.
<mustmodify>
I guess I could use just ActiveRecord...
<mustmodify>
and now that I'm thinking about it, this isn't really relational data. So this might be a good candidate for experimenting with a nosql db.
danielpclark has joined #ruby
<jhass>
Sequel & Sinatra are fine and fast to learn for this if you want to keep the relational data
<jhass>
s/data/dbms/
<mustmodify>
right
_blizzy_ has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood>
mustmodify: I vote Roda with Sequel. :)
<jhass>
as for specialized DBs for that kind... idk possibly RDD? not sure it'd scale well for many devices though
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
Dimik has joined #ruby
jrafanie has joined #ruby
B1n4r10 has joined #ruby
baweaver has quit [Remote host closed the connection]
MagePsycho_ has joined #ruby
bronson has joined #ruby
infra-re_ has quit [Remote host closed the connection]
rcvalle has joined #ruby
DotKite has joined #ruby
SilverKey has quit [Quit: Halted.]
<DotKite>
anyone know why [1,1,2,3].permutation(4).to_a would generate duplicates? I get two elements that read [1,1,2,3] in the result.
mdw has joined #ruby
<DotKite>
among others
<benzrf>
DotKite: i would assume that Array#permutation permutes the array ignoring the specific elements
<benzrf>
so there's the identity permutation and the swap-first-two permutation
<benzrf>
in this case they happen to produce the same result when applied, but that's not something the method cares about
<DotKite>
hmmm
madgen has quit [Ping timeout: 265 seconds]
bronson has quit [Ping timeout: 260 seconds]
aegis3121 has quit [Ping timeout: 250 seconds]
karapetyan has joined #ruby
yfeldblum has joined #ruby
bitemyap1 is now known as bitemyapp
aegis3121 has joined #ruby
sid_fules has joined #ruby
n008f4g_ has quit [Ping timeout: 265 seconds]
borodin has joined #ruby
<smathy>
DotKite, it's a weird place to have that method, permutation *should* be on the Set class, not on Array.
<smathy>
...in which case duplicate members wouldn't be an issue.
<DotKite>
thanks smathy, I'll try that out
<borodin>
I'm trying to build a yaml lookup function like so: ConfigTools.lookup("system/aws/auth/secret_key") which would load a yaml file and find the value given. This is closest to what I need: http://stackoverflow.com/questions/14829462/search-check-values-in-yaml-document-with-ruby but it assumes you know the keys at runtime. But my function would not know the keys at runtime
<smathy>
DotKite, no, it doesn't exist.
<borodin>
seems like a function prople have already solved if I ask around
pawnbox has quit [Remote host closed the connection]
<smathy>
DotKite, I meant that ruby *should* have Set#permutation not Array#permutation.
<DotKite>
smthy, ah i see
d10n-work has joined #ruby
pawnbox has joined #ruby
<borodin>
I could receive that string and split it on a delimiter, but then I'd need some way of crawling the tree and keeping track of where I've been, within a loop
TheHodge has quit [Quit: Connection closed for inactivity]
<smathy>
DotKite, my point is that the concept of permutation is related to a set, it's not well defined how it should act when applied to an object which can contain duplicate members.
<smathy>
...totally undefined really.
ekinmur has joined #ruby
<DotKite>
smathy, then how would you go about generating all permutations of an array of characters?
zast has quit [Remote host closed the connection]
<DotKite>
where elements could be identical
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
william3 has quit [Remote host closed the connection]
<dfockler>
also a mathematical set doesn't have a specific order
cdg has quit [Remote host closed the connection]
william3 has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
tamole has quit [Quit: ...]
karapetyan has quit [Remote host closed the connection]
dhollinger has quit [Ping timeout: 268 seconds]
tamole has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
Waqas has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
Waqas has joined #ruby
<dfockler>
also probably why the Set class doesn't have any sort methods either
Waqas has quit [Read error: Connection reset by peer]
Waqas has joined #ruby
al2o3-cr has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
Waqas has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
IrishGringo has joined #ruby
Waqas has joined #ruby
<smathy>
DotKite, honestly, I'd reopen the Set class and add the permutation method there: def permutation *args; to_a.permutation *args; end
sauvin has quit [Read error: Connection reset by peer]
<smathy>
I just couldn't live with calling permutation on Array
last_staff has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
tamole has quit [Client Quit]
Waqas has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
Waqas has quit [Read error: Connection reset by peer]
Waqas has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
Waqas has joined #ruby
shayan has quit [Quit: shayan]
Xeago has quit [Remote host closed the connection]
Waqas has quit [Read error: Connection reset by peer]
Waqas has joined #ruby
wzy has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
Waqas has joined #ruby
flashpoint9 has joined #ruby
Waqas has quit [Read error: Connection reset by peer]
szulak has joined #ruby
Waqas has joined #ruby
Renich has quit [Ping timeout: 246 seconds]
d10n-work has quit []
Marsupermammal has joined #ruby
Marsupermammal has quit [Client Quit]
shayan has joined #ruby
Renich has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
wzy has left #ruby ["Leaving"]
Xeago has quit [Ping timeout: 250 seconds]
al2o3-cr has quit [Ping timeout: 260 seconds]
finisherr has joined #ruby
carlisiacampos has joined #ruby
shayan has quit [Client Quit]
dhollinger has joined #ruby
Xeago has joined #ruby
sid_fules has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
centrx has quit [Quit: centrx]
rubyaw has quit [Ping timeout: 268 seconds]
centrx has joined #ruby
stunder has quit [Ping timeout: 276 seconds]
ChiefAlexander has joined #ruby
karapetyan has joined #ruby
Blaguvest has joined #ruby
Aviio has quit [Remote host closed the connection]
madgen has joined #ruby
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ruby
ruby-lang352 has joined #ruby
<borodin>
anybody know about yaml lookup function that works like so: Module.lookup("system/aws/auth/security_key") or Module.lookup("system::aws::auth::security_key")
<borodin>
I think I've figured it out - just strip off the keys from the front one at a time, look to see if the key exists, if it does, create a data structure to hold data within that key, then do it all again until you've found the value
<ruby-lang352>
Help on using Faraday gem
tagaulap has quit [Quit: Connection closed for inactivity]
baweaver has joined #ruby
<centrx>
borodin: Like an alias?
bokayio has quit [Ping timeout: 276 seconds]
bokayio has joined #ruby
<ruby-lang352>
I have written a code to interact with a SOAP service using Faraday gem and all is working fine except in production
<ruby-lang352>
am getting following error
<ruby-lang352>
rake aborted! cannot load such file -- faraday
<ruby-lang352>
code deployment is done using cap
<centrx>
ruby-lang352: Is the faraday gem in your Gemfile?
karapetyan has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
<ruby-lang352>
yes it is
Blaguvest has quit [Read error: Connection reset by peer]
rbennacer has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
rbennacer has joined #ruby
sid_fules has quit [Ping timeout: 268 seconds]
<ruby-lang352>
I dont get the with error while using bundle exec rake
nofacade has quit [Ping timeout: 265 seconds]
IrishGringo has quit [Ping timeout: 268 seconds]
<ruby-lang352>
any specific reason for this behavior?
nanoz has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
MeMoc has joined #ruby
<aegis3121>
Your production box presumably has a different version of faraday installed that (I think) meets your specifications but doesn't actually implement feature x that you need or has broken feature x that you're using. Using bundle exec forces the version specified in the Gemfile.lock to be used.
<havenwood>
ruby-lang352: Prefixing `bundle exec` runs the command "in the context of your Bundle" (meaning with the exact gem versions from your Gemfile.lock file). If you run the same command without `bundle exec` it'll require the latest available gems which may or may not be the same as those specified in the Gemfile.lock.
zapata has joined #ruby
mdw_ has joined #ruby
<havenwood>
ruby-lang352: Bundler's Gemfile.lock allows all developers working on the app to be using the exact same gems as are in production.
<jhass>
ruby-lang352: also bundler's --path and --deployment options install to a location not found by rubygems without using bundle exec
nofxx has quit [Ping timeout: 244 seconds]
<havenwood>
And are confusingly "remembered" options.
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
bosnianboy has quit [Quit: This computer has gone to sleep]
solars has quit [Ping timeout: 250 seconds]
Snowy has joined #ruby
banister has joined #ruby
mdw has quit [Ping timeout: 250 seconds]
<havenwood>
ruby-lang352: See: bundle help config
poerror has joined #ruby
Blaguvest has joined #ruby
al2o3-cr has joined #ruby
<ruby-lang352>
so in my scheduler is it recommended to specify bundle exec rake XXX instead of just rake XXX?
poerror has left #ruby [#ruby]
<jhass>
yes, when using bundler better default to bundle exec, that'll save you most headaches
<jhass>
locally too
baweaver has joined #ruby
<ruby-lang352>
cool, thanks guys for your time and support
acidrainfall has joined #ruby
Devalo has quit [Remote host closed the connection]
minimalism has joined #ruby
bmf has joined #ruby
tildes has joined #ruby
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
northrup has joined #ruby
karmatr0n has joined #ruby
northrup has quit [Client Quit]
northrup has joined #ruby
Blaguvest has quit [Read error: Connection reset by peer]
dmr8 has joined #ruby
Madplatypus has joined #ruby
bmf has quit [Remote host closed the connection]
Snowy has quit [Remote host closed the connection]
nofxx has quit [Remote host closed the connection]
[Butch] has joined #ruby
solars has joined #ruby
<mustmodify>
jhass: You were recommending Sequel & sinatra. I think you were on target with those. But I just realized that I don't need to use a database at all. My input and my deliverable are basically the same. If I just the right filenames I can create my deliverables as soon as I receive input.
jhass has quit [Changing host]
jhass has joined #ruby
Takumo has quit [Ping timeout: 276 seconds]
Takumo has joined #ruby
Takumo has quit [Changing host]
Takumo has joined #ruby
<mustmodify>
Just append the newest position to the file and have sinatra spit that out.
sp4rrow has joined #ruby
firstdayonthejob has joined #ruby
nobitanobi has joined #ruby
conta has quit [Ping timeout: 244 seconds]
biberu has quit [Ping timeout: 244 seconds]
<borodin>
jhass the grey becomes jhass the white!
dionysus69 has quit [Remote host closed the connection]
symm- has joined #ruby
dionysus69 has joined #ruby
bmf has joined #ruby
<baweaver>
jhass has been an op for a while now. Now we just gave him the company jacket ;)
Xeago has joined #ruby
tildes has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 268 seconds]
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
bmf has quit [Ping timeout: 250 seconds]
bigkevmcd has quit [Read error: Connection reset by peer]
<shevy>
jhass is blue
<baweaver>
which client are you all using anyways?
<shevy>
still the abandoned xchat!
<al2o3-cr>
jhass: is blue
mustmodify has left #ruby [#ruby]
<al2o3-cr>
weechat
<baweaver>
(NSFW)xchat.com(NSFW) is the wrong site apparently, it's xchat.org
<al2o3-cr>
lol
<shevy>
lol
<jhass>
weechat here too
<banister>
baweaver textual
<banister>
i've tried out all irc clients for osx and textual is by far the best IMO
stunder has joined #ruby
banister is now known as banisterfiend
<eam>
xxxchat
mdw_ has quit [Quit: Sleeping Zzzzz]
jonathanwallace_ has quit [Ping timeout: 250 seconds]
B1n4r10 has quit [Ping timeout: 246 seconds]
webus has joined #ruby
<miah>
irssi forever =)
kirun has joined #ruby
PedramT has joined #ruby
banisterfiend has quit [Changing host]
banisterfiend has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
rkazak has joined #ruby
phaza has joined #ruby
platzhirsch has joined #ruby
<baweaver>
Still on Limechat for now
davedev24 has joined #ruby
rbennace_ has joined #ruby
rbennace_ has quit [Remote host closed the connection]
Aviio has quit []
PedramT has quit [Ping timeout: 240 seconds]
rbennace_ has joined #ruby
rbennace_ has quit [Remote host closed the connection]
bmf has joined #ruby
rbennace_ has joined #ruby
rbennacer has quit [Read error: Connection reset by peer]
bmf has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
tom39291 has quit [Ping timeout: 276 seconds]
tom39291 has joined #ruby
<siaw>
do i need to require something to use StringIO?
<siaw>
if so then what?
<acidrainfall>
baweaver: hahahaha that's funny
<acidrainfall>
I use pidgin
MagePsycho_ has quit [Quit: MagePsycho_]
Yeomra_ has quit [Quit: WeeChat 1.4]
PedramT has joined #ruby
<Papierkorb>
siaw: require 'stringio' # If needed
<siaw>
Papierkorb: got it, which turns my class into #<StringIO:0x007f937e41c148>
<siaw>
now how do i take the string out of it? any idea?
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stunder has joined #ruby
<jhass>
acidrainfall: the *best* way is to not be uncertain about the array being there or not
eljimmy has joined #ruby
mondo has joined #ruby
<jhass>
that is trying to find a better default value than "nil"
<mondo>
Can anyone point me to the best way to take gems from one server and install them on another? I have a list of gems I need to move from one server to another server that does not have internet access.
nobitanobi has quit [Remote host closed the connection]
<mondo>
smathy: thanks, I think that will do the trick.
<smathy>
mondo, you're welcome.
Snowy has quit [Ping timeout: 260 seconds]
mlakewood has joined #ruby
mlakewood has quit [Client Quit]
Devalo has quit [Remote host closed the connection]
eatsfoobars has joined #ruby
Balzrael has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
<acidrainfall>
jhass: I'll eventually be open sourcing this script, and wanted to leave room for error if people don't format the data properly
<acidrainfall>
jhass: but that may just be me babying people
<acidrainfall>
because I have to baby people here haha
<acidrainfall>
"If I can't trust people I know to do it right, how can I trust joe schmoe on the interwebs?"
<Ox0dea>
"Be liberal in what you accept."
<acidrainfall>
I like that mentality
jhack_ has joined #ruby
<acidrainfall>
But getting into these kinds of data structures... it's just hard.
<jhass>
validate your input then
<acidrainfall>
That's what I'm doing
<jhass>
if you run into NoMethodErrors, I don't think so
centrx has quit [Quit: centrx]
centrx has joined #ruby
pawnbox has joined #ruby
jhack has quit [Ping timeout: 268 seconds]
jhack_ is now known as jhack
<acidrainfall>
Yeah I guess that's what it is.
Pumukel has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.2/20160407164938]]
<acidrainfall>
It's complicated. I don't think there's an easy way to make this script work, because it's a complicated process and it will need to be customized per environment.
<acidrainfall>
I'm adding features as I think of them but the admin that wants to use this will have to have half a brain.
<acidrainfall>
"have to have half" - freaking english man.
<acidrainfall>
"if you have to halve, have half."
<acidrainfall>
haha
lxsameer has quit [Quit: Leaving]
anisha has quit [Quit: Leaving]
lemur has joined #ruby
<acidrainfall>
Anyway this is complicated because Elasticsearch offers *no* support for rolling restarts on clusters. They also don't specify anything about the environment in which it runs. If I cared enough I could handle all of those, but this script is for us, and I'm opening it as a courtesy because no other workable solutions exist out there.
hyperdrive has quit [Ping timeout: 260 seconds]
alexblom has quit [Ping timeout: 260 seconds]
* acidrainfall
shrugs
pawnbox has quit [Ping timeout: 250 seconds]
aufi has quit []
rubyaw has joined #ruby
Balzrael has joined #ruby
hyperdrive has joined #ruby
mhenrixon has quit [Ping timeout: 276 seconds]
alexblom has joined #ruby
tubbo is now known as epicwife
mhenrixon has joined #ruby
solars has quit [Ping timeout: 240 seconds]
swills has quit [Ping timeout: 268 seconds]
lemur has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby
bigkevmcd has joined #ruby
carlisiacampos has quit [Ping timeout: 276 seconds]
nobitanobi has joined #ruby
dmr8 has quit [Quit: Leaving]
stunder has quit [Ping timeout: 268 seconds]
auxbuss has joined #ruby
jaguarmagenta has joined #ruby
stunder has joined #ruby
Paradox has quit [Ping timeout: 276 seconds]
dn` has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
Paradox has joined #ruby
rubyaw has quit [Quit: Leaving...]
newjersey has joined #ruby
auxbuss_ has joined #ruby
auxbuss_ has quit [Client Quit]
auxbuss has quit [Client Quit]
auxbuss has joined #ruby
bb010g has joined #ruby
jaguarmagenta has quit [Ping timeout: 268 seconds]
t-richards has quit [Quit: Connection closed for inactivity]
sp4rrow has joined #ruby
joonty has joined #ruby
sepp2k has quit [Quit: Leaving.]
nettoweb has quit [Excess Flood]
brackson has joined #ruby
auxbuss has quit [Quit: I'm gone.]
hxegon is now known as hxegon_AFK
shinymcshine has joined #ruby
constantinexvi has quit [Ping timeout: 260 seconds]
nobitanobi has quit [Remote host closed the connection]
skweek has joined #ruby
jobewan is now known as jobewan_away
constantinexvi has joined #ruby
CausaMortis has joined #ruby
nobitanobi has joined #ruby
Blaguvest has quit [Remote host closed the connection]
eljimmy has joined #ruby
nobitanobi has quit [Remote host closed the connection]
binaryplease1 has joined #ruby
tax has joined #ruby
sid_fules has joined #ruby
binaryplease has quit [Ping timeout: 250 seconds]
shinymcshine has quit [Ping timeout: 250 seconds]
<A124>
Umm.. if I want to have Parser to be equivalent to JSON.parse method, what should I do?
<A124>
In a sense i just want to call Parser instead JSON.parse
<jhass>
"call parser"?
mesamoo has joined #ruby
<jhass>
you want a method named Parser? just define it
william3 has quit [Remote host closed the connection]
pawnbox has joined #ruby
<A124>
Yeah, method named parser, but that method would be identical to JSON.parse.
ldnunes has quit [Quit: Leaving]
<baweaver>
Why though?
code_[BNC] has quit [Ping timeout: 260 seconds]
dcope has quit [Ping timeout: 260 seconds]
<A124>
The thing is there are multiple options and once I select that option, I want simple way to call it.
loincloth has joined #ruby
<adaedra>
def parser(*args); JSON.parse(*args); end
edwinvdgraaf has joined #ruby
<baweaver>
?xy
<ruby[bot]>
it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
<A124>
baweaver I told you why.
<A124>
adaedra Yeah, but that would mean writing tons of def blocks. Plus one more method call.
sepp2k has joined #ruby
dcope has joined #ruby
<adaedra>
Then I didn't understand what you want, hence the ?xy.
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
hxegon_AFK is now known as hxegon
<A124>
I want Parser to be substitute for JSON.parse
<jhass>
my guess is you actually want something like parsers = {json: ->(doc) { JSON.parse(doc) }, yaml: ->(doc) { YAML.load(doc)}, ...}; parser = parsers[chosen_parser]
binaryplease1 is now known as binaryplease
<A124>
In my case it is multiple JSON parsers.
<jhass>
are you reimplementing the multi_json gem?
Cohedrin has joined #ruby
<baweaver>
hence the xy
<baweaver>
anyways, coffee time for me.
<jhass>
yeah, fully appropriate
Xiti has joined #ruby
baweaver has quit [Remote host closed the connection]
<A124>
Not fully.
<A124>
Can I just make Parser refer to same object?
pawnbox has quit [Ping timeout: 276 seconds]
<adaedra>
what object
<A124>
JSON.parse
<adaedra>
that's a method
x77686d has joined #ruby
epicwife is now known as tubbo
code_ has joined #ruby
<adaedra>
and in Ruby, methods are not first-class citizens
Cohedrin_ has quit [Ping timeout: 250 seconds]
<A124>
Ok, can I make Parse refer to it?
eatsfoobars has joined #ruby
<A124>
Aka, doing the same, without the onion method wrap.
<adaedra>
yes, by calling the method you want, like demonstrated above
flashpoint9 has quit [Remote host closed the connection]
<adaedra>
If your problem is doing ifs to choose which one to call, and if all classes use the same interface, you can store the choosen class in a variable like @engine, then do @engine.parse
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 250 seconds]
johnmilton has quit [Remote host closed the connection]
<A124>
They use different, else I would do exactly that.
<A124>
I never understood Lambdas, gotta try, thank you
ekinmur has joined #ruby
johnmilton has joined #ruby
johnmilton has quit [Read error: Connection reset by peer]
flashpoint9 has joined #ruby
william3 has joined #ruby
BSaboia has quit [Ping timeout: 246 seconds]
infra-red has quit [Ping timeout: 268 seconds]
<adaedra>
On these words, g'night all.
<A124>
Night
tubuliferous has joined #ruby
jobewan_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rbennace_ has quit [Ping timeout: 244 seconds]
dopie has joined #ruby
biberu has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
kirun has quit [Quit: Client exiting]
solocshaw has joined #ruby
n008f4g_ has quit [Ping timeout: 268 seconds]
<cschneid>
What's the right syntax to override #initialize, not use the arguments, and then call super with the same list passed in? `def initialize(*); @thing = 1; super; end`?
<jhass>
should work
william3 has quit [Ping timeout: 260 seconds]
<cschneid>
cool, that's a surprisingly hard thing to google for :)
<cschneid>
also I just tried it in irb, which I should have done rather than typing out that whole line.
<smathy>
:)
R\w\C has joined #ruby
<R\w\C>
hey guys anyone got huginn experience ?
Devalo has quit [Ping timeout: 260 seconds]
<jhass>
?anyone
<ruby[bot]>
Just ask your question, if anyone has or can, they will respond.
<R\w\C>
I am trying to setup gmail sending e-mails.. and I am editing the .env file
<R\w\C>
do i need to rebuild my app or will it update automatically ?
jobewan has joined #ruby
skweek has quit [Ping timeout: 268 seconds]
mozzarel1 is now known as mozzarella
aupadhye has quit [Quit: Leaving]
ensyde has joined #ruby
<A124>
jhass Thanks for the lambda example, would like to find where it is explained, though I get the syntax of the example. Got lot more to thing around now.
Drakevr_ is now known as Drakevr
<jhass>
A124: I can imagine Proc, Kernel#proc and Kernel#lambda has some on it
<A124>
About XY problem, a thing I did not mention and not completely related: Would like to read HTTP line by line. If there are any recommendations, would be glad.
BSaboia has joined #ruby
<A124>
Else I would just open socket, send hand made request, and use .gets on socket.
<jhass>
well, use TCPSocket / TCPServer
<jhass>
possible the ssl variants
<A124>
Hmm... Any way to get HTTP headers made by the HTTP class or should I just hand craft them?
<jhass>
uh, if anything it's on Net::HTTP::Request
<A124>
Already going there :)
<jhass>
btw if you're fine with the lambda approach, Object#method / Method might give you a shortcut
<jhass>
for some at least
flashpoint9 has quit [Remote host closed the connection]
joneshf-laptop has quit [Ping timeout: 246 seconds]
kareeoleez has quit [Remote host closed the connection]
swills has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<A124>
Yes, I tried to do that, but those fragments could have line splits. So would have to wrap it in conditions detecting newlines and << into string.
<jhass>
or you can .instance_variable_get(:@socket) I guess...
BSaboia has quit [Ping timeout: 244 seconds]
<A124>
Or array and join, but those object are actually small usually so the error appeared overnight.
codecop has quit [Remote host closed the connection]
<A124>
Aaah... that is what I was looking for and could not find (I should have read the source better) Going at it, Thank you very much.
TomyLobo has quit [Ping timeout: 252 seconds]
BrunoSaboia has quit [Ping timeout: 244 seconds]
<jhass>
A124: note that's raw stuff, chunked, possibly gzipped
yohle has joined #ruby
BrunoSaboia has joined #ruby
<A124>
Well, its socket, so .readline is not a problem. The API is not using compression, but Gzip reader would not be a problem :)
<A124>
Just have to figure out how to call the HTTP and where (moment) to hook it.
SCHAAP137 has quit [Quit: Exiting...]
yohle has quit [Client Quit]
<jhass>
where you had read_body previously I'd guess
ramfjord_ has joined #ruby
BSab has quit [Ping timeout: 268 seconds]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stunder has quit [Ping timeout: 250 seconds]
bigkevmcd has quit [Ping timeout: 246 seconds]
<A124>
NoMethodError: private method `gets' called for #<Net::BufferedIO io=#<TCPSocket:0x000000018ef9d0>>
<A124>
Going to look into that.
ramfjord has quit [Ping timeout: 268 seconds]
[Butch] has quit [Quit: I'm out . . .]
ensyde has quit [Ping timeout: 250 seconds]
sid_fules has quit [Read error: Connection reset by peer]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sid_fules has joined #ruby
wilsonc91 is now known as wilson
wilson is now known as w1lson
`tim` has joined #ruby
kies has quit [Remote host closed the connection]
sepp2k has quit [Read error: Connection reset by peer]
n008f4g_ has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
kies has joined #ruby
eatsfoobars has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
<A124>
So it did not work, calling private gets just stalls, so I tried .start .send_request, but gets (eventhough now public), stalls again.
<A124>
So I guess Ruby cannot do that itself. Either handling the chunks, which does not happen in fast C, or making the request by hand. So depending on use case.
<jhass>
how about looking into other http client libs?
Ebok has quit [Quit: This computer has gone to sleep]
<A124>
Or using other gem/library, if there is one that does it, or finding something that takes socket and spits outs lines.
Gasher has quit [Quit: Leaving]
vishwa has joined #ruby
GodFather has joined #ruby
<vishwa>
Hey guys, given an array, how do I generate all pairs from it?
<A124>
I already did which led me to look at other, even rare still programming languges and doing evented IO. But that was different usecase, though those projects are siblings.
william3 has joined #ruby
<A124>
vishwa What is a pair in array?
<vishwa>
like [1,2,3 ] => [(1,2),(2,3),1,3)]
<vishwa>
pairs of elements A124
<A124>
.slice I think.
CausaMortis has quit [Ping timeout: 244 seconds]
Ebok has joined #ruby
<vishwa>
A124: slices let you pick out a part of the array, how would I use that to generate pairs?
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlieb has quit [Quit: benlieb]
IrishGringo has quit [Ping timeout: 250 seconds]
aegis3121 has quit [Ping timeout: 260 seconds]
someish has quit [Quit: someish]
zenlot6 has joined #ruby
centrx has quit [Quit: centrx]
lemur has joined #ruby
zenlot has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
Waqas has quit [Ping timeout: 260 seconds]
banisterfiend has quit [Remote host closed the connection]
rodfersou has quit [Quit: leaving]
rbennace_ has joined #ruby
R\w\C has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LadyElusive has quit [Ping timeout: 260 seconds]
joonty has quit [Ping timeout: 260 seconds]
rbennacer has quit [Ping timeout: 252 seconds]
lemur has quit [Ping timeout: 276 seconds]
elusiveother has joined #ruby
elusiveother has quit [Changing host]
elusiveother has joined #ruby
blackwell has quit [Max SendQ exceeded]
blackwell has joined #ruby
guardian has joined #ruby
polishdub has quit [Quit: Leaving]
<brent__>
trying to do a regex to confirm that an iput matches the format of '0, 2' where those two digits can be 0..2, would it be \[0-2], [0-2]\.matches(input)?
Canar has quit [Quit: WeeChat 1.4]
Canar has joined #ruby
MeMoc has quit [Quit: Connection closed for inactivity]
jaguarmagenta has joined #ruby
Canar has quit [Client Quit]
last_staff has quit [Quit: last_staff]
<baweaver>
?try
<ruby[bot]>
Why don't you try it and see for yourself?
<ramfjord_>
brent__: yes, and to validate that, try using http://rubular.com/
Canar has joined #ruby
vishwa has quit [Ping timeout: 250 seconds]
sarbs has joined #ruby
<darix>
brent__: maybe if you replace the \ with /?
<brent__>
yeah, i saw taht misatke darix
jaguarmagenta has quit [Ping timeout: 252 seconds]
<brent__>
it looks like it works that way. ramfjord: i'm not getting matchign w/ rubular, though ti appears to be the correc tway
jobewan has quit [Ping timeout: 240 seconds]
firstdayonthejob has quit [Ping timeout: 244 seconds]
<brent__>
nvm, got it to work, cool website, thanks
ChiefAlexander has quit [Remote host closed the connection]
BSab has joined #ruby
cdg has quit [Remote host closed the connection]
greg_ has joined #ruby
cdg has joined #ruby
sp4rrow_ has joined #ruby
greg_ has quit [Client Quit]
`tim` has quit [Ping timeout: 252 seconds]
BrunoSaboia has quit [Ping timeout: 244 seconds]
jschoolcraft has joined #ruby
sp4rrow has quit [Ping timeout: 240 seconds]
RegulationD has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 250 seconds]
cdg has quit [Ping timeout: 250 seconds]
al2o3-cr has quit [Ping timeout: 252 seconds]
baweaver has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
blaxter has quit [Quit: KTHXBYE]
cschneid has quit [Remote host closed the connection]
solocshaw1 has joined #ruby
SilverKey has joined #ruby
stannard has quit [Remote host closed the connection]
solocshaw has quit [Ping timeout: 268 seconds]
solocshaw1 is now known as solocshaw
SilverKey has quit [Client Quit]
madgen has quit [Ping timeout: 240 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
Rasi has quit [Ping timeout: 252 seconds]
Dimik has quit [Ping timeout: 244 seconds]
GinoMan2440 has joined #ruby
GinoMan2440 has quit [Client Quit]
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
snockerton has quit [Quit: Leaving.]
ss_much has joined #ruby
jhack has quit [Quit: jhack]
A124 has quit [Ping timeout: 276 seconds]
banister has joined #ruby
GinoMan2440 has joined #ruby
vishwa has joined #ruby
baweaver has joined #ruby
_WWW-BUKOLAY-COM has joined #ruby
krzkrz has quit [Ping timeout: 276 seconds]
ruby-lang147 has joined #ruby
Rasi has joined #ruby
dfockler has quit [Ping timeout: 250 seconds]
_WWW-BUKOLAY-COM has quit [Excess Flood]
edwinvdgraaf has quit [Remote host closed the connection]
Kallis has quit [Quit: Leaving]
bosnianboy has joined #ruby
joneshf-laptop has quit [Ping timeout: 276 seconds]
vishwa has quit [Ping timeout: 260 seconds]
BSab has quit [Quit: Leaving]
sid_fules has quit [Remote host closed the connection]
ruby-lang147 has quit [Ping timeout: 250 seconds]
vishwa has joined #ruby
_WWW-BUKOLAY-COM has joined #ruby
karapetyan has quit [Remote host closed the connection]
william3 has joined #ruby
centrx has joined #ruby
centrx has quit [Client Quit]
A124 has joined #ruby
Rasi has quit [Ping timeout: 240 seconds]
bigkevmcd has joined #ruby
william3 has quit [Ping timeout: 240 seconds]
jamesbrink has joined #ruby
x77686d has quit [Quit: x77686d]
edv4rd0 has joined #ruby
mwlang has joined #ruby
spider-mario has quit [Remote host closed the connection]
Rasi has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
skweek has joined #ruby
diegoaguilar has joined #ruby
Yiota has joined #ruby
Snowy has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
darkf has joined #ruby
A124 has quit [Ping timeout: 276 seconds]
A124 has joined #ruby
Snowy has quit [Ping timeout: 244 seconds]
stunder has joined #ruby
sp4rrow_ has quit [Quit: The Internet needs a break and I need a cookie]
sp4rrow has joined #ruby
yfeldblum has quit [Remote host closed the connection]
rcvalle has quit [Quit: rcvalle]
johnmilton has quit [Remote host closed the connection]
stunder has quit [Ping timeout: 240 seconds]
myntcake has quit [Ping timeout: 244 seconds]
<jhass>
brent__: note that allows stuff like 'foo0, 2bar' too, if you don't want that add \A at the beginning and \z at the end