00:01
aldto has joined #ruby-lang
00:02
bglusman has joined #ruby-lang
00:05
felipe__ has quit [Quit: Leaving]
00:06
bglusman has quit [Ping timeout: 244 seconds]
00:08
Natch| has quit [Ping timeout: 248 seconds]
00:10
aldto has quit [Quit: Leaving]
00:11
spuk has quit [Ping timeout: 265 seconds]
00:12
tenderlove has joined #ruby-lang
00:12
gregmoreno has joined #ruby-lang
00:12
tindron has quit [Ping timeout: 244 seconds]
00:17
DEac- has quit [Ping timeout: 240 seconds]
00:23
tindron has joined #ruby-lang
00:24
DEac- has joined #ruby-lang
00:26
fragrant has joined #ruby-lang
00:27
fragrant has quit [Quit: fragrant]
00:28
replore_ has joined #ruby-lang
00:28
ryanf has joined #ruby-lang
00:31
gregf has quit [Quit: WeeChat 0.3.8]
00:32
gregmoreno has quit [Remote host closed the connection]
00:38
yugui_zzz is now known as yugui
00:38
stardiviner has joined #ruby-lang
00:38
fayimora has quit [Read error: Connection reset by peer]
00:38
gregf has joined #ruby-lang
00:38
fayimora has joined #ruby-lang
00:38
M4g1c5t0rM has joined #ruby-lang
00:39
gregmoreno has joined #ruby-lang
00:39
macmartine has joined #ruby-lang
00:42
perryh_away is now known as perryh
00:46
fgomez has quit [Quit: leaving]
00:46
stardiviner has quit [Ping timeout: 252 seconds]
00:47
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
00:48
gregmoreno has quit [Remote host closed the connection]
00:55
fgomez has joined #ruby-lang
00:59
stardiviner has joined #ruby-lang
01:00
msaffitz has quit [Quit: Computer has gone to sleep.]
01:06
M4g1c5t0rM has quit [Ping timeout: 256 seconds]
01:07
tenderlove has quit [Remote host closed the connection]
01:08
spuk has joined #ruby-lang
01:14
neoesque has joined #ruby-lang
01:20
jperry2 has quit [Read error: Operation timed out]
01:20
mrsolo has quit [Quit: Leaving]
01:24
savage- has quit [Remote host closed the connection]
01:30
neocoin has quit [Remote host closed the connection]
01:35
Hakon|mbp has quit [Quit: Leaving...]
01:38
WillMarshall has joined #ruby-lang
01:39
apeiros_ has quit [Remote host closed the connection]
01:39
crackity_jones has quit [Read error: Connection reset by peer]
01:39
apeiros_ has joined #ruby-lang
01:44
apeiros_ has quit [Ping timeout: 265 seconds]
01:49
bfreeman has joined #ruby-lang
01:55
jakko has quit [Remote host closed the connection]
01:55
jakko has joined #ruby-lang
01:57
fserb has quit [Quit: ttyl]
02:00
wlfman2k1 has joined #ruby-lang
02:01
wallerdev has quit [Quit: wallerdev]
02:03
shtirlic has quit [Ping timeout: 256 seconds]
02:04
Defusal_ has quit [Ping timeout: 246 seconds]
02:05
fserb has joined #ruby-lang
02:05
ilyam has quit [Quit: ilyam]
02:07
Defusal has joined #ruby-lang
02:07
Defusal has quit [Changing host]
02:07
Defusal has joined #ruby-lang
02:07
fserb has quit [Client Quit]
02:13
fserb has joined #ruby-lang
02:16
BMF has joined #ruby-lang
02:17
x0F has quit [Disconnected by services]
02:17
x0F_ has joined #ruby-lang
02:17
x0F_ is now known as x0F
02:17
BMF has left #ruby-lang [#ruby-lang]
02:18
fserb has quit [Client Quit]
02:18
igotnolegs has joined #ruby-lang
02:20
SimSala has quit [Ping timeout: 240 seconds]
02:21
msaffitz has joined #ruby-lang
02:23
fgomez has quit [Quit: leaving]
02:31
fgomez has joined #ruby-lang
02:38
_ko1 has joined #ruby-lang
02:39
fayimora has quit [Ping timeout: 245 seconds]
02:41
replore_ has quit [Remote host closed the connection]
02:42
gja has joined #ruby-lang
02:44
jbsan has quit [Ping timeout: 244 seconds]
02:44
jbsan has joined #ruby-lang
02:46
<
postmodern >
where is the option parsing logic for irb?
02:46
<
postmodern >
somehow they can parse options, without loading optparse
02:46
fserb has joined #ruby-lang
02:46
tomb__ has quit [Quit: Computer has gone to sleep.]
02:47
gregmoreno has joined #ruby-lang
02:48
fserb has quit [Client Quit]
02:49
<
drbrain >
postmodern: I'm sure irb predates optparse
02:50
<
drbrain >
postmodern: IRB.parse_opts in irb/init.rb
02:50
<
drbrain >
it's done the old-fashioned way
02:51
fserb has joined #ruby-lang
02:52
fserb has quit [Client Quit]
02:53
kvirani has joined #ruby-lang
02:53
<
postmodern >
drbrain, bingo
02:53
drumond19 has joined #ruby-lang
03:01
robbyoconnor has joined #ruby-lang
03:01
umttumt has joined #ruby-lang
03:01
umttumt has left #ruby-lang [#ruby-lang]
03:03
seanstickle has quit [Quit: Nihil sub sole novum]
03:07
ilyam has joined #ruby-lang
03:07
gregmore_ has joined #ruby-lang
03:08
gregmoreno has quit [Ping timeout: 244 seconds]
03:09
umttumt has joined #ruby-lang
03:09
fserb has joined #ruby-lang
03:09
outoftime has quit [Quit: Leaving]
03:11
fserb has quit [Client Quit]
03:12
drumond19 has quit [Remote host closed the connection]
03:13
wpaulson has joined #ruby-lang
03:16
TheHunter_1039 has quit [Quit: TheHunter_1039]
03:16
WillMarshall has quit [Read error: Connection reset by peer]
03:19
rmascarenhas has quit [Quit: leaving]
03:21
akira989 has quit [Remote host closed the connection]
03:21
brianpWins has joined #ruby-lang
03:22
slyv has quit [Remote host closed the connection]
03:22
gsav has joined #ruby-lang
03:22
wlfman2k1 has quit [Remote host closed the connection]
03:25
Z33K|Lux has joined #ruby-lang
03:26
r0bby has joined #ruby-lang
03:27
gja has quit [Quit: This computer has gone to sleep]
03:27
s0ber_ has joined #ruby-lang
03:27
msaffitz has quit [Ping timeout: 256 seconds]
03:27
dmwuw_ has joined #ruby-lang
03:28
kyrylo has quit [Read error: Operation timed out]
03:28
msaffitz has joined #ruby-lang
03:29
s0ber has quit [Ping timeout: 256 seconds]
03:29
dmwuw has quit [Ping timeout: 256 seconds]
03:29
s0ber_ is now known as s0ber
03:29
kyrylo has joined #ruby-lang
03:29
kyrylo has quit [Changing host]
03:29
kyrylo has joined #ruby-lang
03:29
robbyoconnor has quit [Ping timeout: 256 seconds]
03:33
xsdg has quit [Read error: Operation timed out]
03:33
xsdg has joined #ruby-lang
03:41
dalekurt has joined #ruby-lang
03:48
Guest71151 has quit [Remote host closed the connection]
03:50
msaffitz has quit [Quit: Computer has gone to sleep.]
03:51
gregmoreno has joined #ruby-lang
03:52
gregmore_ has quit [Read error: Operation timed out]
03:54
gregmoreno has quit [Read error: No route to host]
03:54
gregmoreno has joined #ruby-lang
03:59
gregmore_ has joined #ruby-lang
04:00
gregmore_ has quit [Remote host closed the connection]
04:00
gregmore_ has joined #ruby-lang
04:01
gregmoreno has quit [Ping timeout: 244 seconds]
04:01
woollyams has joined #ruby-lang
04:02
lsegal has joined #ruby-lang
04:06
kvirani has quit [Remote host closed the connection]
04:09
gregmoreno has joined #ruby-lang
04:10
gregmore_ has quit [Ping timeout: 246 seconds]
04:10
andrewhl has joined #ruby-lang
04:12
pcboy___ has joined #ruby-lang
04:13
gregmore_ has joined #ruby-lang
04:15
gregmoreno has quit [Ping timeout: 248 seconds]
04:16
pcboy_ has quit [Ping timeout: 265 seconds]
04:19
umttumt has quit [Remote host closed the connection]
04:25
rippa has joined #ruby-lang
04:28
wpaulson_ has joined #ruby-lang
04:28
msaffitz has joined #ruby-lang
04:29
dalekurt has quit [Quit: Zzz...]
04:31
wpaulson has quit [Ping timeout: 244 seconds]
04:31
wpaulson_ is now known as wpaulson
04:32
ramonmaruko has quit [Remote host closed the connection]
04:33
macmartine has quit [Quit: macmartine]
04:34
ramonmaruko has joined #ruby-lang
04:35
slyphon has quit [Quit: WeeChat 0.3.7]
04:35
macmartine has joined #ruby-lang
04:36
gja has joined #ruby-lang
04:36
gja has quit [Changing host]
04:36
gja has joined #ruby-lang
04:38
cjs226 has joined #ruby-lang
04:41
byronb has joined #ruby-lang
04:41
joast has quit [Quit: Leaving.]
04:43
My_Hearing has joined #ruby-lang
04:44
fgomez has quit [Remote host closed the connection]
04:44
fgomez has joined #ruby-lang
04:44
fgomez has quit [Client Quit]
04:45
fgomez has joined #ruby-lang
04:45
Mon_Ouie has quit [Ping timeout: 260 seconds]
04:49
joast has joined #ruby-lang
04:49
fgomez has quit [Ping timeout: 248 seconds]
04:50
ryanf has quit [Ping timeout: 244 seconds]
04:52
fgomez has joined #ruby-lang
04:58
fgomez has quit [Ping timeout: 265 seconds]
04:59
any-key has quit [Remote host closed the connection]
05:01
savage- has joined #ruby-lang
05:01
fgomez has joined #ruby-lang
05:04
ryanf has joined #ruby-lang
05:06
byronb has quit [Read error: Operation timed out]
05:10
erpuds has joined #ruby-lang
05:11
fgomez has quit [Remote host closed the connection]
05:13
fgomez has joined #ruby-lang
05:14
fgomez has quit [Client Quit]
05:14
fgomez has joined #ruby-lang
05:17
Okasu has quit [Remote host closed the connection]
05:20
pip has joined #ruby-lang
05:20
pip has quit [Changing host]
05:20
pip has joined #ruby-lang
05:21
krz has joined #ruby-lang
05:27
ruurd has joined #ruby-lang
05:28
r0bby has quit [Ping timeout: 244 seconds]
05:29
heftig has quit [Quit: leaving]
05:32
kitallis has joined #ruby-lang
05:35
yannis has joined #ruby-lang
05:36
robbyoconnor has joined #ruby-lang
05:38
andrewhl has quit [Remote host closed the connection]
05:43
macmartine has quit [Quit: macmartine]
05:44
yxhuvud has joined #ruby-lang
05:47
ruurd has quit [Ping timeout: 265 seconds]
05:47
dc5ala has joined #ruby-lang
05:49
ryanf has quit [Ping timeout: 244 seconds]
05:58
gouthamvel has joined #ruby-lang
05:58
gouthamvel has left #ruby-lang [#ruby-lang]
05:59
erpuds has quit [Quit: erpuds]
06:01
WillMarshall has joined #ruby-lang
06:02
andrewhl has joined #ruby-lang
06:05
WillMarshall has quit [Read error: Connection reset by peer]
06:07
JohnBat26 has joined #ruby-lang
06:09
workmad3 has joined #ruby-lang
06:09
savage- has quit [Remote host closed the connection]
06:11
gja has quit [Ping timeout: 244 seconds]
06:11
gja has joined #ruby-lang
06:11
gja has quit [Changing host]
06:11
gja has joined #ruby-lang
06:15
wallerdev has joined #ruby-lang
06:15
WillMarshall has joined #ruby-lang
06:18
A1241 has quit [Quit: Leaving.]
06:18
<
postmodern >
is there a linter for html, that will ignore ERB tags?
06:19
burgestrand has quit [Quit: Leaving.]
06:20
workmad3 has quit [Ping timeout: 240 seconds]
06:20
shtirlic has joined #ruby-lang
06:24
ruurd has joined #ruby-lang
06:26
msaffitz has quit [Quit: Computer has gone to sleep.]
06:26
neocoin has joined #ruby-lang
06:30
jaimef has quit [Ping timeout: 244 seconds]
06:33
WillMarshall has quit [Quit: Computer has gone to sleep.]
06:36
steven has quit [Read error: Connection reset by peer]
06:37
steven has joined #ruby-lang
06:37
ryanf has joined #ruby-lang
06:37
yannis has quit [Read error: Connection reset by peer]
06:37
yannis has joined #ruby-lang
06:38
A124 has joined #ruby-lang
06:38
A124 has quit [Changing host]
06:38
A124 has joined #ruby-lang
06:41
andrewhl has quit [Remote host closed the connection]
06:42
JohnBat26 has joined #ruby-lang
06:42
JohnBat26 has quit [Client Quit]
06:42
JohnBat26 has joined #ruby-lang
06:45
wallerdev has quit [Quit: wallerdev]
06:46
dhruvasagar has joined #ruby-lang
06:58
gja has quit [Ping timeout: 265 seconds]
07:00
dgs has quit [Ping timeout: 252 seconds]
07:03
_br_ has quit [Quit: Bye, thanks for all the fish.]
07:07
dalekurt has joined #ruby-lang
07:08
gja has joined #ruby-lang
07:08
gja has quit [Changing host]
07:08
gja has joined #ruby-lang
07:10
igotnolegs has quit [Quit: Computer has gone to sleep.]
07:12
burgestrand has joined #ruby-lang
07:14
solars has joined #ruby-lang
07:15
perryh is now known as perryh_away
07:16
hakunin has quit [Remote host closed the connection]
07:17
hakunin has joined #ruby-lang
07:18
dgs has joined #ruby-lang
07:19
woollyams has quit [Ping timeout: 248 seconds]
07:21
hakunin has quit [Ping timeout: 252 seconds]
07:21
gasbakid has joined #ruby-lang
07:22
tjadc has joined #ruby-lang
07:24
rolfb has joined #ruby-lang
07:24
rolfb has quit [Client Quit]
07:25
mytrile has joined #ruby-lang
07:27
skinny_much has joined #ruby-lang
07:38
dhruvasagar has quit [Ping timeout: 252 seconds]
07:38
dhruvasagar has joined #ruby-lang
07:39
srbartlett has quit [Remote host closed the connection]
07:41
Z33K|Lux has quit []
07:42
d3vic3 has quit [Read error: Connection reset by peer]
07:46
d3vic3 has joined #ruby-lang
07:51
soahccc is now known as soahccc`
07:53
qwerxy has joined #ruby-lang
07:58
gix has quit [Quit: Client exiting]
07:59
qwerxy has quit [Quit: offski]
07:59
ilyam has quit [Quit: ilyam]
08:00
nevynxxx has joined #ruby-lang
08:01
gix has joined #ruby-lang
08:02
gnufied has joined #ruby-lang
08:07
mytrile has quit [Remote host closed the connection]
08:07
francisfish has joined #ruby-lang
08:08
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
08:09
heftig has joined #ruby-lang
08:10
dhruvasagar has quit [Ping timeout: 240 seconds]
08:11
_br_ has joined #ruby-lang
08:11
dhruvasagar has joined #ruby-lang
08:13
brianpWins has quit [Quit: brianpWins]
08:16
tomb_ has joined #ruby-lang
08:17
sora_h is now known as s0ra_h
08:18
Criztian has joined #ruby-lang
08:18
ryanf has quit [Ping timeout: 256 seconds]
08:22
s0ra_h is now known as sora_h
08:24
robotmay has joined #ruby-lang
08:29
cdt has joined #ruby-lang
08:29
skinny_much has left #ruby-lang [#ruby-lang]
08:30
kiddorails has joined #ruby-lang
08:30
dhruvasagar has quit [Ping timeout: 248 seconds]
08:33
dhruvasagar has joined #ruby-lang
08:33
workmad3 has joined #ruby-lang
08:35
zmack has joined #ruby-lang
08:35
sora_h is now known as s0ra_h
08:41
outsmartin has joined #ruby-lang
08:42
gja has quit [Quit: This computer has gone to sleep]
08:43
apeiros_ has joined #ruby-lang
08:47
rzs has joined #ruby-lang
08:50
dhruvasagar has quit [Ping timeout: 244 seconds]
08:50
qwerxy has joined #ruby-lang
08:51
dhruvasagar has joined #ruby-lang
08:52
gianlucadv has joined #ruby-lang
08:54
<
rzs >
I can get the parent directory of a file using File.dirname(__FILE__). How to get the parent directory of the parent directory ?
08:56
<
workmad3 >
rzs: File.dirname(__FILE__) + "/.."
08:57
<
rzs >
workmad3: thanks ! :)
08:58
<
workmad3 >
rzs: you could also do
__FILE__ + "/../.." ;)
08:58
<
rzs >
workmad3: got it :)
09:00
fserb has joined #ruby-lang
09:01
soahccc` is now known as soahccc
09:02
rolfb has joined #ruby-lang
09:06
A124 has quit [Ping timeout: 246 seconds]
09:08
gouthamvel has joined #ruby-lang
09:08
gouthamvel has left #ruby-lang [#ruby-lang]
09:10
A124 has joined #ruby-lang
09:14
saLOUt has joined #ruby-lang
09:14
dhruvasagar has quit [Read error: Connection reset by peer]
09:15
jbsan has quit [Quit: jbsan]
09:15
dhruvasagar has joined #ruby-lang
09:16
wubino has joined #ruby-lang
09:21
gasbakid has quit [Read error: Operation timed out]
09:21
d3vic3 has quit [Ping timeout: 248 seconds]
09:23
fragrant has joined #ruby-lang
09:24
d3vic3 has joined #ruby-lang
09:24
fserb has quit [Quit: ttyl]
09:24
WillMarshall has joined #ruby-lang
09:31
fragrant has quit [Quit: fragrant]
09:43
tekin has joined #ruby-lang
09:45
neoesque has quit [Quit: Bye!]
09:46
Hakon|mbp has joined #ruby-lang
09:47
toretore has joined #ruby-lang
09:48
gja has joined #ruby-lang
09:48
gja has quit [Changing host]
09:48
gja has joined #ruby-lang
09:48
s0ra_h is now known as sora_h
09:49
fragrant has joined #ruby-lang
09:49
17WAAK44M is now known as telemachus
09:53
<
fragrant >
I got loaderror for rubygems
09:53
kiddorails has quit [Ping timeout: 244 seconds]
09:55
rzs has quit [Read error: Connection reset by peer]
09:55
erics has quit [Disconnected by services]
09:56
Skif has joined #ruby-lang
09:56
rzs has joined #ruby-lang
10:01
shtirlic has quit [Read error: Connection reset by peer]
10:01
shtirlic has joined #ruby-lang
10:06
Hakon|mbp has quit [Quit: Leaving...]
10:09
<
andrewvos >
rue, rzs: on of you is going to have to change their name
10:10
kiddorails has joined #ruby-lang
10:13
<
bnagy >
fragrant: just pick one channel
10:14
sora_h is now known as s0ra_h
10:14
nazty has joined #ruby-lang
10:14
<
fragrant >
Can you merge both channel?
10:15
<
bnagy >
that is a question for wise men with skinny arms
10:16
seoaqua has quit [Quit: Leaving]
10:17
<
rue >
andrewvos: I’m pretty sure I’ve got seniority
10:18
<
rue >
fragrant: You’re getting an error because that file is not in your load path
10:18
<
rue >
Perhaps you intended to install the gem first
10:19
rzs has quit [Quit: Leaving]
10:19
dhruvasa1ar has joined #ruby-lang
10:19
<
fragrant >
echo $LOAD_PATH = /home/user1/tempgems/hola/lib
10:20
rohit has joined #ruby-lang
10:20
dhruvasagar has quit [Read error: Connection reset by peer]
10:20
gnufied1 has joined #ruby-lang
10:21
cantonic_ has joined #ruby-lang
10:21
kaz____ has quit [Read error: Connection reset by peer]
10:21
gnufied has quit [Ping timeout: 244 seconds]
10:23
cantonic has quit [Ping timeout: 244 seconds]
10:23
cantonic_ is now known as cantonic
10:23
<
rue >
Not sure how that helps
10:23
adambeynon has joined #ruby-lang
10:25
huugsy has joined #ruby-lang
10:29
lele has quit [Ping timeout: 260 seconds]
10:31
jbsan has joined #ruby-lang
10:33
s0ra_h is now known as sora_h
10:34
lele has joined #ruby-lang
10:34
yannis has quit [Read error: Connection timed out]
10:35
outsmartin has quit [Quit: Leaving.]
10:37
huugsy has quit [Quit: Leaving]
10:39
rohit has quit [Quit: Leaving]
10:39
bryancp has joined #ruby-lang
10:43
kaz_ has joined #ruby-lang
10:46
WillMarshall has quit [Read error: Connection reset by peer]
10:51
fragrant has left #ruby-lang [#ruby-lang]
10:52
bryancp has quit [Remote host closed the connection]
10:55
kvirani has joined #ruby-lang
10:56
Fullmoon has quit [Remote host closed the connection]
10:57
Fullmoon has joined #ruby-lang
11:02
srbartlett has joined #ruby-lang
11:04
Hakon|mbp has joined #ruby-lang
11:06
rohit has joined #ruby-lang
11:09
neoesque has joined #ruby-lang
11:11
Asher has quit [Quit: Leaving.]
11:15
Hakon|mbp has joined #ruby-lang
11:17
jedmtnman has quit [Quit: Leaving.]
11:17
jedmtnman has joined #ruby-lang
11:17
jedmtnman has quit [Client Quit]
11:18
kain has joined #ruby-lang
11:18
Asher has joined #ruby-lang
11:19
Asher has quit [Client Quit]
11:19
Asher has joined #ruby-lang
11:19
naz has quit [Read error: Connection reset by peer]
11:19
robotmay has quit [Read error: Connection reset by peer]
11:20
robotmay has joined #ruby-lang
11:25
gja has quit [Quit: This computer has gone to sleep]
11:26
gja has joined #ruby-lang
11:28
postmodern has quit [Quit: Leaving]
11:29
injekt has joined #ruby-lang
11:32
robotmay has quit [Read error: Connection reset by peer]
11:32
robotmay has joined #ruby-lang
11:34
injekt has quit [Client Quit]
11:36
SimSala has joined #ruby-lang
11:36
d3vic3 has quit [Ping timeout: 244 seconds]
11:38
d3vic3 has joined #ruby-lang
11:39
jedmtnman has joined #ruby-lang
11:41
kiddorails has quit [Read error: Connection reset by peer]
11:42
kiddorails has joined #ruby-lang
11:44
saLOUt has quit [Remote host closed the connection]
11:44
saLOUt has joined #ruby-lang
11:45
robbyoconnor has quit [Read error: Connection reset by peer]
11:46
Hakon|mbp has quit [Read error: Connection reset by peer]
11:47
Hakon|mbp has joined #ruby-lang
11:48
Axsuul has quit [Ping timeout: 244 seconds]
11:48
saLOUt has quit [Remote host closed the connection]
11:54
nazty has quit [Quit: WeeChat 0.3.7]
11:54
nazty has joined #ruby-lang
11:55
saLOUt has joined #ruby-lang
11:57
rohit has quit [Quit: Leaving]
12:06
nazty has quit [Quit: WeeChat 0.3.7]
12:08
mark_locklear has joined #ruby-lang
12:08
nazty has joined #ruby-lang
12:12
jedmtnman1 has joined #ruby-lang
12:14
jedmtnman has quit [Quit: Leaving.]
12:17
jedmtnman1 has quit [Ping timeout: 240 seconds]
12:17
tejas has joined #ruby-lang
12:17
tejas has quit [Changing host]
12:17
tejas has joined #ruby-lang
12:17
sepp2k has joined #ruby-lang
12:18
jedmtnman has joined #ruby-lang
12:19
gja has quit [Ping timeout: 256 seconds]
12:20
yugui is now known as yugui_zzz
12:26
jxie has quit [Quit: leaving]
12:26
jedmtnman has quit [Quit: Leaving.]
12:32
d3vic3 has quit [Ping timeout: 248 seconds]
12:33
srbartlett has quit [Remote host closed the connection]
12:34
CCD has joined #ruby-lang
12:34
d3vic3 has joined #ruby-lang
12:35
dhruvasa1ar has quit [Ping timeout: 256 seconds]
12:35
nignaztic has joined #ruby-lang
12:35
dhruvasagar has joined #ruby-lang
12:40
scampbell has joined #ruby-lang
12:45
CCD has quit [Remote host closed the connection]
12:45
jperry2 has joined #ruby-lang
12:45
gix has quit [Ping timeout: 248 seconds]
12:48
woollyams has joined #ruby-lang
12:49
methym has quit [Quit: methym]
12:49
gix has joined #ruby-lang
12:50
SimSala has quit [Ping timeout: 265 seconds]
12:54
tr-808 has quit [Remote host closed the connection]
12:55
tr-808 has joined #ruby-lang
12:56
CCD has joined #ruby-lang
12:56
CCD has left #ruby-lang [#ruby-lang]
12:58
hynkle has joined #ruby-lang
12:58
melter has quit [Read error: Connection reset by peer]
13:00
wesgurn has joined #ruby-lang
13:00
tr-808 has quit [Ping timeout: 252 seconds]
13:01
tr-808 has joined #ruby-lang
13:02
jedmtnman has joined #ruby-lang
13:02
Facefox has quit [Ping timeout: 250 seconds]
13:04
Facefox has joined #ruby-lang
13:04
Facefox has quit [Max SendQ exceeded]
13:04
DMKE has joined #ruby-lang
13:04
DMKE has joined #ruby-lang
13:04
Facefox has joined #ruby-lang
13:04
Facefox has quit [Max SendQ exceeded]
13:05
Facefox has joined #ruby-lang
13:05
Facefox has quit [Max SendQ exceeded]
13:06
Facefox has joined #ruby-lang
13:06
Facefox has quit [Max SendQ exceeded]
13:06
tr-808 has quit [Ping timeout: 244 seconds]
13:07
Facefox has joined #ruby-lang
13:07
Facefox has quit [Max SendQ exceeded]
13:07
tr-808 has joined #ruby-lang
13:07
Facefox has joined #ruby-lang
13:10
SimSala has joined #ruby-lang
13:12
steven has quit [Read error: Connection reset by peer]
13:12
tr-808 has quit [Ping timeout: 240 seconds]
13:12
ttilley_off is now known as ttilley
13:13
tr-808 has joined #ruby-lang
13:19
kvirani has quit [Remote host closed the connection]
13:19
tr-808 has quit [Ping timeout: 240 seconds]
13:19
tr-808 has joined #ruby-lang
13:24
wesgurn has left #ruby-lang [#ruby-lang]
13:24
tr-808 has quit [Ping timeout: 240 seconds]
13:25
dv310p3r has joined #ruby-lang
13:25
slyphon has joined #ruby-lang
13:25
tr-808 has joined #ruby-lang
13:26
M4g1c5t0rM has joined #ruby-lang
13:28
rippa has quit [Quit: derp herp]
13:29
macmartine has joined #ruby-lang
13:30
tr-808 has quit [Ping timeout: 240 seconds]
13:31
tr-808 has joined #ruby-lang
13:33
krz has quit [Quit: krz]
13:33
nazty has quit [Ping timeout: 248 seconds]
13:36
enebo has joined #ruby-lang
13:36
tr-808 has quit [Ping timeout: 244 seconds]
13:37
joast has quit [Ping timeout: 244 seconds]
13:37
tr-808 has joined #ruby-lang
13:38
ryez has joined #ruby-lang
13:42
tr-808 has quit [Ping timeout: 245 seconds]
13:44
Asher has quit [Quit: Leaving.]
13:44
tr-808 has joined #ruby-lang
13:44
mssola has joined #ruby-lang
13:45
gouthamvel has joined #ruby-lang
13:45
kiddorails has quit [Ping timeout: 240 seconds]
13:47
saLOUt has quit [Quit: Konversation terminated!]
13:48
setmeaway2 has quit [Quit: Leaving]
13:49
setmeaway has joined #ruby-lang
13:50
tr-808 has quit [Ping timeout: 248 seconds]
13:50
tr-808 has joined #ruby-lang
13:52
dhruvasagar has quit [Ping timeout: 246 seconds]
13:53
dhruvasagar has joined #ruby-lang
13:53
outoftime has joined #ruby-lang
13:55
kvirani has joined #ruby-lang
13:56
tr-808 has quit [Ping timeout: 265 seconds]
13:57
tr-808 has joined #ruby-lang
13:59
nignaztic has quit [Read error: Connection reset by peer]
13:59
nignaztic has joined #ruby-lang
14:01
kiddorails has joined #ruby-lang
14:01
carloslopes has joined #ruby-lang
14:02
bglusman has joined #ruby-lang
14:03
macmartine has quit [Quit: macmartine]
14:03
ttilley is now known as ttilley_off
14:06
mistym has joined #ruby-lang
14:06
mistym has quit [Changing host]
14:06
mistym has joined #ruby-lang
14:07
absker has joined #ruby-lang
14:10
SimSala has quit [Ping timeout: 240 seconds]
14:11
rolfb has quit [Quit: Leaving...]
14:12
setmeaway has quit [Quit: Leaving]
14:12
absker has left #ruby-lang [#ruby-lang]
14:16
florentg2 has joined #ruby-lang
14:17
andrewhl has joined #ruby-lang
14:18
jedmtnman1 has joined #ruby-lang
14:18
setmeaway has joined #ruby-lang
14:19
jedmtnman has quit [Ping timeout: 244 seconds]
14:23
macmartine has joined #ruby-lang
14:23
erpuds has joined #ruby-lang
14:24
heftig has quit [Quit: leaving]
14:24
elliotcm has joined #ruby-lang
14:25
Asher has joined #ruby-lang
14:26
joast has joined #ruby-lang
14:26
joast has quit [Read error: Connection reset by peer]
14:27
My_Hearing is now known as Mon_Ouie
14:30
SimSala has joined #ruby-lang
14:34
tubbo is now known as necromancer
14:34
necromancer is now known as tubbo
14:36
elliotcm has quit [Quit: elliotcm]
14:39
rippa has joined #ruby-lang
14:40
wallerdev has joined #ruby-lang
14:44
savage- has joined #ruby-lang
14:47
akira989 has joined #ruby-lang
14:47
neoesque has quit [Quit: Bye!]
14:49
jxie has joined #ruby-lang
14:49
dhruvasagar has quit [Ping timeout: 248 seconds]
14:53
bfreeman has quit [Quit: bfreeman]
14:54
ttilley_off is now known as ttilley
14:55
wmoxam has joined #ruby-lang
14:55
ttilley is now known as ttilley_off
14:55
wmoxam has quit [Client Quit]
14:58
wmoxam has joined #ruby-lang
14:59
hakunin has joined #ruby-lang
15:03
solars has quit [Ping timeout: 246 seconds]
15:06
savage- has quit [Remote host closed the connection]
15:09
fragrant has joined #ruby-lang
15:09
GeekOnCoffee has joined #ruby-lang
15:10
<
fragrant >
drbrain: hi,
15:10
joast has joined #ruby-lang
15:11
kiddorails has left #ruby-lang [#ruby-lang]
15:13
axisys has quit [Quit: leaving]
15:15
dc5ala has quit [Quit: Ex-Chat]
15:16
savage- has joined #ruby-lang
15:17
dalekurt_ has joined #ruby-lang
15:21
dalekurt has quit [Ping timeout: 265 seconds]
15:21
dalekurt_ is now known as dalekurt
15:21
<
andrewvos >
I'm using Dalli to store stuff in memcache and I have multiple versions of the app running against the same memcached.
15:21
fragrant has left #ruby-lang [#ruby-lang]
15:21
<
andrewvos >
How can I stop these apps sharing data?
15:22
<
andrewvos >
For example when I dalli.set("hello") from both apps, the second app will overwrite the first.
15:22
<
andrewvos >
I suppose I could prefix with a guid?
15:22
<
andrewvos >
Sorry, uuid
15:22
savage- has quit [Remote host closed the connection]
15:22
bryancp has joined #ruby-lang
15:23
<
GeekOnCoffee >
andrewvos: is there some reason not to have multiple memcached instances?
15:24
<
darix >
andrewvos: namespace keys?
15:24
msaffitz has joined #ruby-lang
15:24
<
darix >
like app1:hello
15:26
<
andrewvos >
darix: Yeah. Maybe I could just use Process.pid
15:27
<
darix >
so after restarting the app you would have lost all caching?
15:27
burgestrand has quit [Quit: Leaving.]
15:27
<
darix >
andrewvos: no other way to differentiate the apps? customer ids? domain? or really just an uuid read from config/foo.yml ?
15:28
rippa has quit [Ping timeout: 245 seconds]
15:28
andrewhl has quit [Remote host closed the connection]
15:28
<
andrewvos >
darix: Yup
15:28
<
andrewvos >
Don't mind losing all caching
15:29
ruurd has quit [Quit: Leaving...]
15:29
thone has quit [Ping timeout: 244 seconds]
15:31
qwerxy has quit [Ping timeout: 244 seconds]
15:31
thone has joined #ruby-lang
15:32
<
wmoxam >
anyone been able to compile Ruby 1.8X with clang?
15:32
<
wmoxam >
I see that the 1.9 series supports it
15:32
rippa has joined #ruby-lang
15:32
qwerxy has joined #ruby-lang
15:34
Asher has quit [Quit: Leaving.]
15:34
<
deryl >
wmoxam: no, the 1.8 series doesn't compile with it
15:35
<
wmoxam >
deryl: any idea on the effort required to make it do so? Any idea if someone is working on this?
15:36
<
deryl >
wmoxam: i don't know of anyone working on 1.8 because 1.8 is supposed to be becoming EOL
15:36
<
wmoxam >
deryl: not for another year though
15:37
ttilley_off is now known as ttilley
15:38
<
deryl >
right, but i don't know of anyone (even within the rvm community) willing to put in effort on 1.8 strains. only pushing it back stabley along the 1.9 strain
15:39
msaffitz has quit [Quit: Computer has gone to sleep.]
15:39
gouthamvel has quit [Ping timeout: 244 seconds]
15:39
<
deryl >
not to say there is no one doing, just A) not within rvm's users and B) haven't heard any signal related to 1.8, only 1.9
15:39
TvL2386 has joined #ruby-lang
15:40
mark_locklear has quit [Ping timeout: 245 seconds]
15:41
<
wmoxam >
deryl: yeah, just wonder since Bitrig uses clang by default, and Ruby 18 is one of the few ports that have issue with it
15:41
<
deryl >
wmoxam: we do have one user that is working on the llvm vs clang issue with builds (since apple changed the compiler strain in Xcode) lemme see if i can find the ticket, if not ask mpapis
15:41
<
deryl >
he might have some info directly, or at least put oyu in touch with someone. long way around but only thing i got
15:44
<
wmoxam >
deryl: thanks
15:44
<
deryl >
least its a starting point, wish i could hand you better, but its all i got
15:52
Asher has joined #ruby-lang
15:53
nevynxxx has quit [Quit: leaving]
15:56
robotmay has quit [Remote host closed the connection]
15:58
kain has quit [Quit: Sto andando via]
15:59
tjadc has quit [Read error: Operation timed out]
16:01
andrewhl has joined #ruby-lang
16:04
S1kx has quit [Ping timeout: 248 seconds]
16:04
sora_h is now known as s0ra_h
16:07
perryh_away is now known as perryh
16:08
florentg2 has quit [Ping timeout: 244 seconds]
16:08
zmack has quit [Remote host closed the connection]
16:09
S1kx has joined #ruby-lang
16:09
S1kx has joined #ruby-lang
16:09
hynkle has quit [Quit: hynkle]
16:10
msaffitz has joined #ruby-lang
16:11
ruurd has joined #ruby-lang
16:12
tekin has joined #ruby-lang
16:15
nignaztic has quit [Ping timeout: 265 seconds]
16:15
solars has joined #ruby-lang
16:16
headius has joined #ruby-lang
16:16
hynkle has joined #ruby-lang
16:16
jaimef has joined #ruby-lang
16:16
akira989 has quit [Remote host closed the connection]
16:17
SimSala has quit [Ping timeout: 245 seconds]
16:18
butchanton has joined #ruby-lang
16:20
M4g1c5t0rM has quit [Ping timeout: 244 seconds]
16:21
kitallis has quit [Quit: Computer has gone to sleep.]
16:22
savage- has joined #ruby-lang
16:23
digitalbane has joined #ruby-lang
16:23
francisfish has quit [Remote host closed the connection]
16:23
tejas has quit [Quit: This computer has gone to sleep]
16:26
Jay_Levitt has joined #ruby-lang
16:27
qwerxy has quit [Ping timeout: 245 seconds]
16:27
heftig has joined #ruby-lang
16:28
qwerxy has joined #ruby-lang
16:28
Jay_Levitt has quit [Client Quit]
16:32
CCD_ has joined #ruby-lang
16:38
akira989 has joined #ruby-lang
16:42
CCD_ has quit [Remote host closed the connection]
16:42
bfreeman has joined #ruby-lang
16:42
CCD has joined #ruby-lang
16:44
any-key has joined #ruby-lang
16:49
zpirix has joined #ruby-lang
16:51
fserb has joined #ruby-lang
16:51
lsegal has joined #ruby-lang
16:51
tindron has quit []
16:52
tenderlove has joined #ruby-lang
16:52
jakko has quit [Ping timeout: 244 seconds]
16:54
zpirix has quit [Ping timeout: 245 seconds]
16:56
cdt has quit [Quit: Ex-Chat]
16:57
Asher has quit [Quit: Leaving.]
16:59
tindron has joined #ruby-lang
17:00
dreieins has quit [Ping timeout: 256 seconds]
17:01
znz_v0 has quit [Quit: kill -QUIT $$]
17:02
znz_v has joined #ruby-lang
17:03
Tref_ has joined #ruby-lang
17:04
erpuds_ has joined #ruby-lang
17:06
krz has joined #ruby-lang
17:08
erpuds has quit [Ping timeout: 252 seconds]
17:08
erpuds_ is now known as erpuds
17:08
ilyam has joined #ruby-lang
17:08
ilyam has quit [Remote host closed the connection]
17:09
brianpWins has joined #ruby-lang
17:09
crackity_jones has joined #ruby-lang
17:10
d3vic3 has quit [Ping timeout: 248 seconds]
17:11
gnufied1 has quit [Quit: Leaving.]
17:12
imperator has joined #ruby-lang
17:12
d3vic3 has joined #ruby-lang
17:13
workmad3 has quit [Ping timeout: 244 seconds]
17:14
mrsolo has joined #ruby-lang
17:15
jedmtnman1 has quit [Ping timeout: 248 seconds]
17:16
jedmtnman has joined #ruby-lang
17:16
erpuds has quit [Quit: erpuds]
17:17
cschneid has joined #ruby-lang
17:18
Raduwen has quit [Quit: Leaving...]
17:20
gouthamvel has joined #ruby-lang
17:22
danishman has joined #ruby-lang
17:24
CCD has left #ruby-lang [#ruby-lang]
17:25
dreieins has joined #ruby-lang
17:27
Carnage\ has joined #ruby-lang
17:29
dreieins has quit [Ping timeout: 246 seconds]
17:32
carloslopes has quit [Ping timeout: 246 seconds]
17:33
Guest85273 has left #ruby-lang [#ruby-lang]
17:34
indeterminate has joined #ruby-lang
17:36
Criztian has quit [Remote host closed the connection]
17:37
dreieins has joined #ruby-lang
17:40
qwerxy has quit [Ping timeout: 252 seconds]
17:43
tomb_ has quit [Quit: Computer has gone to sleep.]
17:45
gouthamvel has left #ruby-lang [#ruby-lang]
17:48
kvirani has quit [Remote host closed the connection]
17:48
wpaulson has joined #ruby-lang
17:49
dreieins has quit [Ping timeout: 244 seconds]
17:51
neocoin has quit [Remote host closed the connection]
17:52
neocoin has joined #ruby-lang
17:54
Hakon|mbp has quit [Quit: Leaving...]
17:59
qwerxy has joined #ruby-lang
18:01
dreieins has joined #ruby-lang
18:02
francisfish has joined #ruby-lang
18:06
SimSala has joined #ruby-lang
18:07
Asher has joined #ruby-lang
18:08
soahccc is now known as soahccc`
18:08
florentg2 has joined #ruby-lang
18:08
qpingu has joined #ruby-lang
18:09
Tref_ has quit [Ping timeout: 265 seconds]
18:11
spuk has quit [Ping timeout: 252 seconds]
18:11
robbyoconnor has joined #ruby-lang
18:14
wpaulson has quit [Ping timeout: 245 seconds]
18:14
dreieins has quit [Ping timeout: 244 seconds]
18:17
wpaulson has joined #ruby-lang
18:17
Codif has joined #ruby-lang
18:19
voker57 has quit [Remote host closed the connection]
18:20
benanne has joined #ruby-lang
18:22
TvL2386 has quit [Quit: Ex-Chat]
18:22
jedmtnman1 has joined #ruby-lang
18:23
jedmtnman has quit [Ping timeout: 240 seconds]
18:23
wpaulson has quit [Ping timeout: 244 seconds]
18:24
Codif has quit [Remote host closed the connection]
18:25
fserb has quit [Quit: ttyl]
18:26
jedmtnman has joined #ruby-lang
18:26
jedmtnman1 has quit [Ping timeout: 265 seconds]
18:27
Carnage\ has quit []
18:28
Carnage\ has joined #ruby-lang
18:28
dalekurt_ has joined #ruby-lang
18:28
dalekurt has quit [Ping timeout: 246 seconds]
18:28
dalekurt_ is now known as dalekurt
18:31
akira989 has quit [Remote host closed the connection]
18:34
asahi has joined #ruby-lang
18:35
bradland has joined #ruby-lang
18:35
Carnage\ has quit [Ping timeout: 240 seconds]
18:36
<
asahi >
I'm wondering if there's a way to find a nokogiri node by text. I'd like to search for the text "foobar" and see if it is part of a link
18:36
kvirani has joined #ruby-lang
18:37
sailias has joined #ruby-lang
18:38
A1241 has joined #ruby-lang
18:38
A124 has quit [Read error: Connection reset by peer]
18:41
ruurd has quit [Read error: Connection reset by peer]
18:41
<
asahi >
nevermind. figured it out
18:41
ruurd has joined #ruby-lang
18:41
flak has joined #ruby-lang
18:41
flak is now known as Guest57479
18:42
Hakon|mbp has joined #ruby-lang
18:42
gnufied has joined #ruby-lang
18:42
dreieins has joined #ruby-lang
18:44
rippa has quit [Ping timeout: 244 seconds]
18:45
gnufied has quit [Client Quit]
18:45
Guest57479 has quit [Client Quit]
18:45
wpaulson has joined #ruby-lang
18:46
toot_ has joined #ruby-lang
18:46
rippa has joined #ruby-lang
18:49
<
rue >
asahi: How did you do it?
18:49
<
rue >
Always good to give the solution in case someone else wonders
18:49
dreieins has quit [Ping timeout: 244 seconds]
18:53
bradland has quit [Quit: bradland]
18:53
carloslopes has joined #ruby-lang
18:54
<
lianj >
//a[contains(text(), "bar")]
18:54
Hakon|mbp has quit [Quit: Leaving...]
18:56
ryanf has joined #ruby-lang
18:59
Tref_ has joined #ruby-lang
19:00
wallerdev has quit [Quit: wallerdev]
19:00
t has joined #ruby-lang
19:01
t is now known as Guest55567
19:01
nazty has joined #ruby-lang
19:02
dreieins has joined #ruby-lang
19:04
znz_jp has quit [Quit: kill -QUIT $$]
19:05
akira989 has joined #ruby-lang
19:05
brianpiercy has joined #ruby-lang
19:08
znz_jp has joined #ruby-lang
19:10
<
devn >
so, hard thing to google for and having a brain fart
19:11
<
devn >
[1,2,3].map(&:to_s) applies to_s to each element, but what if I want to pass 1 in as an argument to a method? what's the sugar for that?
19:12
<
devn >
e.g. shorthand for [1,2,3].map {|i| puts i}
19:12
<
manveru >
[1,2,3].map{|n| n.to_s(16) }
19:12
fserb has joined #ruby-lang
19:12
<
devn >
are you saying "don't use sugar" or "there's no sugar"
19:12
<
manveru >
there is none
19:12
<
kyrylo >
devn, this questions was discussed here yesterday. There's no sugar :)
19:13
<
heftig >
[1,2,3].each.with_object(4).map(&:+)
19:13
<
heftig >
but really, use a block.
19:13
<
devn >
hum, my friend here could have sworn he read something about sugar for that
19:13
<
devn >
but yeah, no argument, just bothering him that he cant remember
19:13
<
manveru >
there's a lib called underscore
19:13
tonesfrommars has joined #ruby-lang
19:13
<
manveru >
it does something in that area, i think
19:14
<
imperator >
require 'enumerable/extra'; [1,2,3].map(:+, 4)
19:14
<
manveru >
what's that? railism?
19:14
<
manveru >
does it have a name?
19:15
wpaulson has quit [Ping timeout: 252 seconds]
19:15
robotmay has joined #ruby-lang
19:15
<
imperator >
how it ought to have worked, instead of that symbol#to_proc crap
19:15
tenderlove has quit [Remote host closed the connection]
19:15
<
imperator >
gem install enumerable-extra
19:15
<
manveru >
yeah... you can thank AS for that :(
19:15
tenderlove has joined #ruby-lang
19:15
<
manveru >
activesupport
19:16
<
manveru >
god knows how that stuff always gets popular
19:16
<
manveru >
last i heard, the best way to send mail in ruby is with.... action_mailer :P
19:17
<
imperator >
i wrote ez-email for basic stuff; doesn't do attachments, though
19:17
<
imperator >
because all the email libs sucked balls
19:17
<
yxhuvud >
manveru: the curse of popular frameworks. enough people use them that they actually get developed.
19:18
<
manveru >
probably...
19:18
<
imperator >
well, it created a lot of jobs, so can't complain too hard about rails
19:18
<
bougyman >
i never had problems with tmail
19:19
msaffitz has quit [Quit: Computer has gone to sleep.]
19:20
tenderlove has quit [Ping timeout: 240 seconds]
19:23
<
asahi >
is there a prettier way of doing ![].empty? ?
19:24
<
asahi >
lianj: thanks for the solution above. it's nicer than the way I did it originally
19:26
soahccc` is now known as soahccc
19:26
dhruvasagar has joined #ruby-lang
19:26
tjadc has joined #ruby-lang
19:27
<
Defusal >
asahi, unless [].empty?
19:28
<
asahi >
Defusal: ahh. thanks
19:28
<
Defusal >
there is #present? from active_support, but it is not very efficient, i tend to use #count < 1 more often these days
19:29
<
Defusal >
or actually usually #size
19:30
krz has quit [Quit: krz]
19:30
dfr|mac has joined #ruby-lang
19:30
<
asahi >
think I like #size more than doing unless [].empty?
19:30
qwerxy has quit [Ping timeout: 244 seconds]
19:31
imperator has left #ruby-lang ["Leaving"]
19:32
<
manveru >
as long as you don't use [].any? :)
19:32
dfr|mac has quit [Remote host closed the connection]
19:34
soahccc is now known as soahccc`
19:34
stamina has quit [Quit: Lost terminal]
19:40
wpaulson has joined #ruby-lang
19:45
fgomez has quit [Remote host closed the connection]
19:48
fgomez has joined #ruby-lang
19:50
ridders24 has joined #ruby-lang
19:52
aldto has joined #ruby-lang
19:53
akira989_ has joined #ruby-lang
19:54
akira989 has quit [Ping timeout: 252 seconds]
19:55
aldto has quit [Client Quit]
19:57
ridders24 has quit [Quit: Leaving]
19:57
pip has quit [Quit: Leaving]
19:57
kain has joined #ruby-lang
19:58
tomb_ has joined #ruby-lang
19:59
<
asahi >
if I have something like array.each {|i| a = i if i == var }, how can I see if the a = i definition occurred once the iteration is done?
20:01
tomb_ has quit [Client Quit]
20:01
<
asahi >
I guess set a = nil before the iteration and then .nil? afterwards
20:01
<
cmaujean >
asahi: what are you trying to accomplish? I think a = array.select{|i| i == var } might be what you are looking for
20:01
<
dominikh >
select{}.last; otherwise you change behaviour, cmaujean
20:02
<
cmaujean >
dominikh: ah, yeh
20:02
<
asahi >
ah yes, think that's what I'm looking for
20:02
sailias has quit [Quit: Leaving.]
20:02
<
manveru >
>> [1,2,3].find{|i| i == 2 }
20:03
<
dominikh >
manveru: also different behaviour ;) his returns the last hit, not the first
20:03
<
dominikh >
if there's only one, then yeah, use find
20:03
<
manveru >
>> [1,2,3,4].reverse_each.find{|i| i > 2 }
20:03
<
cmaujean >
heh, guess it depends on the use case
20:04
<
cmaujean >
just looking to see if it's in there… [1,2,3].include? 2 #=> true
20:04
<
dominikh >
manveru: hm, will reverse_each actually keep it from building an entirely new array?
20:06
Tref_ has quit [Quit: Tref_]
20:06
wpaulson has quit [Ping timeout: 265 seconds]
20:07
akira989_ has quit [Read error: Connection reset by peer]
20:07
ryanf has quit [Ping timeout: 240 seconds]
20:09
ryanf has joined #ruby-lang
20:09
<
manveru >
probably not
20:10
<
manveru >
OTOH, seems like Array.reverse_each is its own method
20:10
<
manveru >
so it should be optimized
20:10
wpaulson has joined #ruby-lang
20:10
saLOUt has joined #ruby-lang
20:11
<
manveru >
while (len--) { rb_yield(RARRAY_PTR(ary)[len]);
20:12
<
dominikh >
that's a neat trick then
20:14
wpaulson has quit [Ping timeout: 248 seconds]
20:17
brianpiercy has quit [Quit: Leaving.]
20:17
saLOUt has quit [Remote host closed the connection]
20:18
saLOUt has joined #ruby-lang
20:18
Criztian has joined #ruby-lang
20:22
saLOUt has quit [Remote host closed the connection]
20:22
robotmay has quit [Remote host closed the connection]
20:22
saLOUt has joined #ruby-lang
20:23
ces has joined #ruby-lang
20:24
tenderlove has joined #ruby-lang
20:24
sepp2k1 has joined #ruby-lang
20:24
sepp2k has quit [Ping timeout: 244 seconds]
20:29
rtl has joined #ruby-lang
20:30
burgestrand has joined #ruby-lang
20:33
rock-n-rolla has joined #ruby-lang
20:33
rock-n-rolla has quit [Client Quit]
20:35
Fullmoon has quit [Quit: Fullmoon]
20:36
ryanf has quit [Ping timeout: 245 seconds]
20:38
zmack has joined #ruby-lang
20:38
ryanf has joined #ruby-lang
20:43
SimSala has quit [Remote host closed the connection]
20:45
neocoin has quit [Remote host closed the connection]
20:50
Axsuul has joined #ruby-lang
20:52
<
erikh >
anyone familiar with a library that can emulate set -e for system calls in ruby?
20:52
<
erikh >
system() calls. not syscalls.
20:52
<
erikh >
e.g., if I run a command, and it exits non-zero, blow up
20:53
rippa has quit [Ping timeout: 246 seconds]
20:53
ruurd has quit [Ping timeout: 248 seconds]
20:54
jperry2 has quit [Ping timeout: 244 seconds]
20:54
<
drbrain >
module SystemFail; def system(*a) raise 'boom' unless super; end; end; class Object; include SystemFail; end
20:54
<
dominikh >
so, basically, a simple if $? != 0; blow up?
20:54
<
dominikh >
or that :o
20:55
<
drbrain >
dominikh: how fine-grained erikh wants this to be was not specified :D
20:55
<
deryl >
crap that was fast
20:55
<
deryl >
drbrain: come live in my closet. pocket ruby speedster would rock!
20:55
<
erikh >
drbrain: yes but that won't work for ``
20:56
<
drbrain >
deryl: I didn't test it, but it should work fine
20:56
<
erikh >
could just def system(*a); super; raise unless $?.success?; end
20:57
<
drbrain >
erikh: then add def `(cmd) result = super; raise 'boom' unless $?; result; end
20:57
<
erikh >
I guess I can work with something like that
20:57
<
erikh >
drbrain: thanks.
20:57
<
drbrain >
oh yeah, I think, you need $?.success
20:57
<
erikh >
close enough to turn into a small lib though
20:58
<
drbrain >
erikh: I've put include-in-Object in a separate file so you can be fine-grained if you want
20:59
<
erikh >
cool. I was thinking of some yield conditions where things would change up too
20:59
<
drbrain >
in return_bang it is require 'return_bang/everywhere' :)
20:59
<
erikh >
e.g., blow_up { system("blah") } vs. ignore_exit { system("blah") }
20:59
<
erikh >
ok I need to go walk and not think about cigarettes for a bit, brb
20:59
<
drbrain >
in that case you can define and remove system on self
20:59
hynkle has quit [Quit: hynkle]
21:00
digitalbane has left #ruby-lang [#ruby-lang]
21:00
yxhuvud has quit [Ping timeout: 252 seconds]
21:03
<
kith >
i use sequel
21:03
<
kith >
my db doesnt get updated for some reason
21:05
stamina has joined #ruby-lang
21:05
<
kith >
the sql statement looks good
21:05
<
kith >
also in postgres logfile the statement looks right
21:06
zz_chrismcg is now known as chrismcg
21:13
mssola has quit [Quit: Konversation terminated!]
21:15
diegoviola has joined #ruby-lang
21:20
jbsan_ has joined #ruby-lang
21:20
jbsan has quit [Read error: No route to host]
21:20
jbsan_ is now known as jbsan
21:21
s0ber_ has joined #ruby-lang
21:21
msaffitz has joined #ruby-lang
21:22
wallerdev has joined #ruby-lang
21:22
s0ber has quit [Ping timeout: 246 seconds]
21:23
Carnage\ has joined #ruby-lang
21:23
s0ber_ is now known as s0ber
21:24
wmoxam has quit [Ping timeout: 248 seconds]
21:24
countdigi has joined #ruby-lang
21:25
fgomez has quit [Ping timeout: 248 seconds]
21:26
fserb has quit [Quit: ttyl]
21:27
<
burgestrand >
Hey… guy!
21:27
<
burgestrand >
Hey… finnish viking!
21:27
<
burgestrand >
With luvhatt.
21:27
carloslopes has quit [Read error: Connection reset by peer]
21:28
solars has quit [Quit: WeeChat 0.3.5]
21:28
<
TTilus >
u gotta luv us
21:30
francisfish has quit [Remote host closed the connection]
21:31
scampbell has quit [Remote host closed the connection]
21:32
<
rue >
But not skate boxing
21:33
<
countdigi >
they always said footwork was the key to boxing but that is ridiculous
21:34
fgomez has joined #ruby-lang
21:36
brunocoelho has joined #ruby-lang
21:38
<
TheMoonMaster >
countdigi: It's true.
21:39
<
countdigi >
i guess it comes from the theory doesnt matter how hard he hits if ur not there :-)
21:39
<
TheMoonMaster >
That and if you drive with your whole body instead of just your arms you hit so much harder.
21:40
msaffitz has quit [Quit: Computer has gone to sleep.]
21:40
mikkelb has joined #ruby-lang
21:43
msaffitz has joined #ruby-lang
21:45
bryancp has quit [Remote host closed the connection]
21:47
zmack has quit [Remote host closed the connection]
21:48
shtirlic has quit [Read error: Connection reset by peer]
21:48
shtirlic has joined #ruby-lang
21:55
qwerxy has joined #ruby-lang
22:01
tjadc has quit [Ping timeout: 244 seconds]
22:01
WillMarshall has joined #ruby-lang
22:02
dhruvasagar has quit [Ping timeout: 244 seconds]
22:02
brushbox has quit [Quit: Leaving.]
22:03
mistym has quit [Remote host closed the connection]
22:08
rolfb has joined #ruby-lang
22:10
dv310p3r has quit [Ping timeout: 246 seconds]
22:10
jperry2 has joined #ruby-lang
22:11
jperry2 has quit [Client Quit]
22:11
andrewhl has quit [Remote host closed the connection]
22:11
qwerxy has quit [Quit: offski]
22:13
workmad3 has joined #ruby-lang
22:14
asahi has left #ruby-lang [#ruby-lang]
22:15
Carnage\ has quit []
22:16
jtoy has joined #ruby-lang
22:17
DMKE has quit [Ping timeout: 244 seconds]
22:19
brunocoelho has quit [Remote host closed the connection]
22:24
Guest55567 has quit [Remote host closed the connection]
22:24
jperry2 has joined #ruby-lang
22:24
saLOUt has quit [Quit: Konversation terminated!]
22:28
mikkelb has quit [Quit: Lost terminal]
22:30
DMKE has joined #ruby-lang
22:30
nignaztic has joined #ruby-lang
22:31
postmodern has joined #ruby-lang
22:32
raggi_ has joined #ruby-lang
22:34
wpaulson has joined #ruby-lang
22:34
<
raggi_ >
anyone have / know of available tooling for finding the licenses of a list of gems, given their names?
22:34
<
raggi_ >
i'm sure i've seen these float by in the past, but i actually could do with one right now
22:35
ces has quit [Remote host closed the connection]
22:36
WillMarshall has quit [Read error: Connection reset by peer]
22:38
jperry2 has quit [Quit: Leaving.]
22:38
<
wubino >
how do I print multiple operations to one line?
22:38
ttilley is now known as ttilley_off
22:39
<
wubino >
e.g. puts "2 + 2 =", 2+2
22:39
<
raggi_ >
print "2 + 2 = ", 2+2, "\n"
22:39
<
raggi_ >
puts "2 + 2 = #{2+2}"
22:42
enebo has quit [Quit: enebo]
22:42
WillMarshall has joined #ruby-lang
22:43
jtoy has quit [Quit: jtoy]
22:43
srbartlett has joined #ruby-lang
22:43
carloslopes has joined #ruby-lang
22:46
<
zzak >
drbrain: thanks for committing those and feedback on #6572
22:47
<
drbrain >
zzak: np!
22:47
<
zzak >
i have lib/racc on my todo still, just been busy @ work
22:48
<
drbrain >
zzak: tenderlove is giving me commit to racc
22:49
mistym has joined #ruby-lang
22:49
tbuehlmann has joined #ruby-lang
22:50
qwerxy has joined #ruby-lang
22:51
jperry2 has joined #ruby-lang
22:53
<
zzak >
he say anything about those racc_* debuggin' methods?
22:54
<
drbrain >
he's busy right now, but I'll ask
22:55
<
zzak >
i think he is assigned the ticket and mame ping him too
22:55
jperry2 has quit [Client Quit]
22:56
WillMarshall has quit [Quit: Computer has gone to sleep.]
22:58
aldto has joined #ruby-lang
22:59
burgestrand has quit [Quit: Leaving.]
23:00
felipe__ has joined #ruby-lang
23:00
kvirani has quit [Remote host closed the connection]
23:02
bfreeman has quit [Quit: bfreeman]
23:04
jbsan has quit [Quit: jbsan]
23:05
wmoxam has joined #ruby-lang
23:05
tbuehlmann has quit []
23:06
bglusman has quit [Remote host closed the connection]
23:07
bglusman has joined #ruby-lang
23:11
qwerxy has quit [Quit: offski]
23:11
bglusman has quit [Ping timeout: 265 seconds]
23:15
hakunin has quit [Remote host closed the connection]
23:16
hakunin has joined #ruby-lang
23:16
jperry2 has joined #ruby-lang
23:18
apeiros_ has quit [Remote host closed the connection]
23:18
benanne has quit [Quit: kbai]
23:18
outoftime has quit [Quit: Leaving]
23:19
Guedes has quit [Read error: Connection reset by peer]
23:20
aldto has quit [Quit: Leaving]
23:20
gtown25nick has joined #ruby-lang
23:21
jtoy has joined #ruby-lang
23:25
outoftime has joined #ruby-lang
23:25
Criztian has quit [Remote host closed the connection]
23:26
jbsan has joined #ruby-lang
23:26
s0ra_h is now known as sora_h
23:30
<
zenspider >
minitest 3.1.0 released
23:30
d3vic3 has quit [Ping timeout: 244 seconds]
23:33
d3vic3 has joined #ruby-lang
23:35
jtoy has quit [Ping timeout: 244 seconds]
23:36
butchanton has quit [Quit: Leaving.]
23:38
robotmay has joined #ruby-lang
23:39
outoftime has quit [Quit: Leaving]
23:40
ryez has quit [Ping timeout: 245 seconds]
23:41
jperry2 has quit [Quit: Leaving.]
23:41
carloslopes has quit [Quit: Leaving]
23:45
toretore has quit [Quit: Leaving]
23:45
slyphon has quit [Quit: WeeChat 0.3.7]
23:46
tomb_ has joined #ruby-lang
23:48
jperry2 has joined #ruby-lang
23:51
brushbox has joined #ruby-lang
23:51
postmodern has quit [Ping timeout: 246 seconds]
23:53
shtirlic has quit [Read error: Connection reset by peer]
23:54
shtirlic has joined #ruby-lang
23:55
<
drbrain >
zzak: for race work, make your changes on the 1-4-stable branch
23:55
<
drbrain >
zzak: err, racc
23:56
<
zenspider >
zzak: what racc debugging methods?!?!?
23:56
perryh is now known as perryh_away
23:56
<
zenspider >
I WANT THOSE
23:57
gregf has quit [Quit: WeeChat 0.3.8]
23:58
t has joined #ruby-lang
23:58
t is now known as Guest10056