sergioro has quit [Read error: Connection reset by peer]
phaul has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has quit [Ping timeout: 276 seconds]
phaul has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
phaul has joined #ruby
phaul has quit [Ping timeout: 268 seconds]
DTZUZO has quit [Ping timeout: 240 seconds]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
phaul has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
phaul has joined #ruby
itarato has quit [Ping timeout: 265 seconds]
phaul has quit [Ping timeout: 252 seconds]
phaul has joined #ruby
phaul has quit [Ping timeout: 276 seconds]
phaul has joined #ruby
phaul has quit [Ping timeout: 265 seconds]
phaul has joined #ruby
sergioro has joined #ruby
silviu17 has joined #ruby
silviu has quit [Read error: Connection reset by peer]
ewanchic has left #ruby [#ruby]
universa1 has quit [Ping timeout: 276 seconds]
RushPL has quit [Ping timeout: 276 seconds]
universa1 has joined #ruby
RushPL has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
infinityfye has joined #ruby
_whitelogger has joined #ruby
<cxl>
havenwood: thanks. I'd probably want to have templates in files because that would be a lot of inlining ERB. But that's helpful
x0f has quit [Ping timeout: 250 seconds]
x0f has joined #ruby
buckworst has quit [Quit: WeeChat 2.3]
_whitelogger has joined #ruby
<cxl>
If I have a throw and catch, how can I log that something was caught only when it was caught? I don't want to do it where I throw, I want to do it in the parent class where I catch. But I can't figure out how to do it because catch is basically begin in exception's terms and I don't understand where the rescue equivalent is in that case.
NODE has quit [Quit: changing servers]
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
dionysus69 has joined #ruby
<cxl>
One more: I am parsing a CSV file that has "é" in its header. But when I use the CSV module to parse it, "é" becomes "\xC3\xA9". I know this is an encoding problem, but "ISO-8859-1" and "ISO-8859-15" don't seem to make a difference: it's still garbled. Why?
sergioro has quit [Quit: leaving]
suukim has joined #ruby
DTZUZO has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 246 seconds]
<cxl>
oh my... I though the CSV module would use UTF-8 by default, but it uses ASCII-8BIT it seems... Using UTF-8 fixed it.
ropeney has quit [Read error: Connection reset by peer]
ropeney has joined #ruby
ropeney_ has joined #ruby
DTZUZO has quit [Ping timeout: 276 seconds]
DTZUZO has joined #ruby
Fernando-Basso has joined #ruby
DTZUZO has quit [Ping timeout: 252 seconds]
DTZUZO has joined #ruby
Emmanuel_Chanel has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
DTZUZO has joined #ruby
dionysus69 has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
DTZUZO has quit [Ping timeout: 265 seconds]
DTZUZO has joined #ruby
dasher00 has joined #ruby
DTZUZO has quit [Ping timeout: 265 seconds]
NODE has quit [Quit: changing servers]
DTZUZO has joined #ruby
NODE has joined #ruby
conta has joined #ruby
NODE has quit [Client Quit]
mniip has quit [Ping timeout: 608 seconds]
NODE has joined #ruby
NODE has quit [Client Quit]
j416 has quit [Read error: Connection reset by peer]
j416 has joined #ruby
NODE has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
Inline has quit [Quit: Leaving]
Inline has joined #ruby
banisterfiend has joined #ruby
DTZUZO has quit [Ping timeout: 250 seconds]
banisterfiend has quit [Client Quit]
ellcs1 has joined #ruby
banisterfiend has joined #ruby
DTZUZO has joined #ruby
sameerynho has joined #ruby
conta1 has joined #ruby
conta has quit [Ping timeout: 240 seconds]
conta1 is now known as conta
bvdw has quit [Read error: Connection reset by peer]
conta1 has joined #ruby
bvdw has joined #ruby
conta has quit [Ping timeout: 265 seconds]
conta1 is now known as conta
DTZUZO has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
DTZUZO has quit [Ping timeout: 276 seconds]
Nicmavr has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
zlogan2003 has quit [Ping timeout: 252 seconds]
DTZUZO has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
DTZUZO has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 246 seconds]
chalkmonster has joined #ruby
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
DTZUZO has joined #ruby
kreantos1 has joined #ruby
kreantos1 has quit [Client Quit]
kreantos has joined #ruby
Inline has quit [Quit: Leaving]
DTZUZO has quit [Ping timeout: 240 seconds]
Inline has joined #ruby
DTZUZO has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chalkmonster has joined #ruby
DTZUZO has quit [Ping timeout: 250 seconds]
chalkmonster has quit [Client Quit]
Inline has quit [Quit: Leaving]
Inline has joined #ruby
DTZUZO has joined #ruby
bruce_lee has quit [Ping timeout: 276 seconds]
Inline has left #ruby [#ruby]
TCZ has joined #ruby
bruce_lee has joined #ruby
conta has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 265 seconds]
hiroaki has joined #ruby
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
ellcs1 has quit [Ping timeout: 250 seconds]
banisterfiend has joined #ruby
zlogan has joined #ruby
DTZUZO has joined #ruby
gix has joined #ruby
DTZUZO has quit [Ping timeout: 250 seconds]
normanrockwell has joined #ruby
normanrockwell has quit [Client Quit]
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
cadeskywalker has quit [Ping timeout: 265 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akem__ is now known as akem
itarato has joined #ruby
mniip has joined #ruby
NODE has quit [Quit: changing servers]
cadeskywalker has joined #ruby
chalkmonster has joined #ruby
NODE has joined #ruby
itarato has quit [Ping timeout: 268 seconds]
rpaw has joined #ruby
<rpaw>
Hey guys, question - if I have an array that contains some elems that I need to operate over.. do I need to add a .present? check before I do an .each over the array? I see that it isn't needed, but is it better to be safe by adding a check?
<rpaw>
i.e. if the array is empty, it seems that the code inside the each block isn't reached, but do I need to still add a .present check?
<al2o3-cr>
rpaw: if the array is empty, it'll just return an empty array.
<galtgendo>
...so, I've got a question that's kind of about ruby...
Fernando-Basso has joined #ruby
<galtgendo>
how can I install a gem if I already have the file, but can't access 'gem install' command ?
<galtgendo>
...or at least if there's a way to access it, I'm unaware of it
<nofxx>
galtgendo, maybe rubygems is in a different pkg, which OS?
<galtgendo>
...unfortunatelly, it's not that...
<galtgendo>
you see, if I wanted to run 'gem install' for the *native* ruby, there would be no problem
<galtgendo>
but I want to update something run through wine
<galtgendo>
rubygems is inside the bundle, but there's no ruby executable, so I either need a fully manual way (I already know how to unpack the gem) or a way to trigger the install from ruby code
drincruz has joined #ruby
<sh7d>
wine cmd
<sh7d>
also, > running ruby through wine
<sh7d>
shitty idea
<sh7d>
unless there are direct calls to win api or shit
<galtgendo>
...I've already said 'no ruby executable' just the lib; I mean I don't know what metadata is being written upon 'gem install'
phaul has quit [Ping timeout: 240 seconds]
<galtgendo>
the gem is something I need to add, not update, otherwise I'd likely be already done
<nofxx>
galtgendo, hm sorry dunno much.. but I would try just upacking to where other gems are, just specifications/ and gems/ the later the gem itself
drincruz has quit [Ping timeout: 265 seconds]
reyfi9e has quit [Read error: Connection reset by peer]
phaul has joined #ruby
reyfi9e has joined #ruby
<nofxx>
actually I think just the gem's files in the loadpath will work
<galtgendo>
...hmm, I think I've go an idea...
drincruz has joined #ruby
Fernando-Basso has quit [Quit: Leaving]
phaul has quit [Ping timeout: 250 seconds]
phaul has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
drincruz has quit [Ping timeout: 246 seconds]
GodFather has joined #ruby
akemhp has joined #ruby
akem has quit [Ping timeout: 265 seconds]
akemhp_ has joined #ruby
bmurt has joined #ruby
akemhp has quit [Ping timeout: 240 seconds]
bmurt has quit [Ping timeout: 240 seconds]
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 268 seconds]
ellcs1 has quit [Ping timeout: 250 seconds]
ellcs1 has joined #ruby
itarato has quit [Ping timeout: 252 seconds]
nowhere_man has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]