00:02
Guest59959 has quit [Read error: Connection reset by peer]
00:03
djbkd has quit [Remote host closed the connection]
00:03
ikrima has quit [Ping timeout: 264 seconds]
00:03
djbkd has joined #ruby-lang
00:03
Guest59959 has joined #ruby-lang
00:05
djbkd has quit [Remote host closed the connection]
00:05
djbkd has joined #ruby-lang
00:06
polyidus has joined #ruby-lang
00:07
sepp2k1 has joined #ruby-lang
00:09
sepp2k has quit [Ping timeout: 240 seconds]
00:09
saarinen has quit [Quit: saarinen]
00:09
RobertBirnie has quit [Ping timeout: 264 seconds]
00:12
mikecmpbll has quit [Quit: ciao.]
00:13
marr has quit [Ping timeout: 250 seconds]
00:13
tkuchiki has quit [Remote host closed the connection]
00:16
alekst has joined #ruby-lang
00:18
ddv has quit [Ping timeout: 260 seconds]
00:18
ddv has joined #ruby-lang
00:19
rkstarnerd has joined #ruby-lang
00:21
vvikus has quit [Quit: WeeChat 0.4.2]
00:22
nofxx_ has joined #ruby-lang
00:24
ruby-lang205 has quit [Ping timeout: 246 seconds]
00:26
nofxx has quit [Ping timeout: 240 seconds]
00:26
apt-get_ has quit [Quit: Quitte]
00:27
polyidus has quit [Quit: EOF]
00:30
banister has joined #ruby-lang
00:30
|jemc| has quit [Ping timeout: 245 seconds]
00:31
yfeldblum has joined #ruby-lang
00:35
banister has quit [Ping timeout: 272 seconds]
00:36
djbkd has quit [Remote host closed the connection]
00:36
djbkd has joined #ruby-lang
00:36
tkuchiki has joined #ruby-lang
00:37
momomomomo has quit [Ping timeout: 260 seconds]
00:38
momomomomo has joined #ruby-lang
00:41
djbkd has quit [Ping timeout: 255 seconds]
00:45
mistym has quit [Remote host closed the connection]
00:46
ikrima has joined #ruby-lang
00:51
rcvalle has quit [Quit: rcvalle]
00:52
amclain has joined #ruby-lang
00:52
polyidus has joined #ruby-lang
00:53
shinnya has joined #ruby-lang
00:54
Averna has joined #ruby-lang
00:54
chouhoulis has joined #ruby-lang
00:57
wallerdev has quit [Quit: wallerdev]
00:58
chouhoulis has quit [Ping timeout: 240 seconds]
01:00
wallerdev has joined #ruby-lang
01:00
ikrima_ has joined #ruby-lang
01:00
ikrima_ has quit [Client Quit]
01:00
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
01:00
vintik has quit [Remote host closed the connection]
01:01
vintik has joined #ruby-lang
01:02
vintik has quit [Read error: Connection reset by peer]
01:02
vintik has joined #ruby-lang
01:02
ikrima has quit [Ping timeout: 272 seconds]
01:03
vintik has quit [Remote host closed the connection]
01:03
vintik has joined #ruby-lang
01:06
|jemc| has joined #ruby-lang
01:06
momomomomo_ has joined #ruby-lang
01:07
momomomomo has quit [Ping timeout: 250 seconds]
01:07
momomomomo_ is now known as momomomomo
01:07
vintik has quit [Ping timeout: 240 seconds]
01:08
weems|mac has joined #ruby-lang
01:10
alekst has quit [Quit: Computer has gone to sleep.]
01:11
alekst has joined #ruby-lang
01:18
bruno- has joined #ruby-lang
01:23
mistym has joined #ruby-lang
01:23
Sirupsen has joined #ruby-lang
01:23
bruno- has quit [Ping timeout: 255 seconds]
01:24
cleopatra has quit [Quit: Saliendo]
01:24
nathanstitt has joined #ruby-lang
01:25
MikaAK has joined #ruby-lang
01:27
Miphix has joined #ruby-lang
01:27
alekst has quit [Quit: Leaving...]
01:27
torrieri has joined #ruby-lang
01:28
torrieri has quit [Read error: Connection reset by peer]
01:28
torrieri_ has joined #ruby-lang
01:30
torrieri_ has quit [Client Quit]
01:32
hahuang65 has quit [Ping timeout: 256 seconds]
01:33
thatdutchguy_ has joined #ruby-lang
01:36
torrieri has joined #ruby-lang
01:36
torrieri has quit [Client Quit]
01:38
<
thatdutchguy_ >
is this a bug?
01:41
saarinen has joined #ruby-lang
01:43
<
karamazov >
what's -> in ruby?
01:43
<
|jemc| >
stabby lambda
01:43
<
karamazov >
ah. cool
01:44
davispuh has quit [Remote host closed the connection]
01:44
<
godd2 >
also, parameters go outside the {} but in parentheses and there must be no space between -> and () like so: ->(a, b) {puts a; puts b}
01:45
weems|mac has quit [Quit: weems|mac]
01:45
hahuang65 has joined #ruby-lang
01:45
<
whitequark >
>> -> (space) {}
01:45
<
karamazov >
Sweet - I'm just now learning how to use them correctly. Been doing ruby puzzles all day to prep for a phone interview.
01:45
<
karamazov >
Yuo want the Fibonacci sequence? PSHHHHH easy.
01:49
shinnya has quit [Ping timeout: 272 seconds]
01:49
godd2 has quit [Ping timeout: 272 seconds]
01:50
<
zenspider >
stabby lambda is the devil
01:50
gix has quit [Quit: Client exiting]
01:51
<
whitequark >
zenspider: y u hate stabby lambda
01:51
<
karamazov >
avoid the devil? or is the dark side nice?
01:54
amystephen has quit [Quit: amystephen]
01:55
rue_XIV has joined #ruby-lang
01:56
mistym_ has joined #ruby-lang
01:56
|jemc|_ has joined #ruby-lang
01:56
mistym has quit [Ping timeout: 255 seconds]
01:57
tkuchiki_ has joined #ruby-lang
01:57
freedrul1 has joined #ruby-lang
01:58
wallerdev has quit [Quit: wallerdev]
01:59
rue has quit [Ping timeout: 245 seconds]
01:59
freedrull has quit [Ping timeout: 245 seconds]
01:59
tkuchiki has quit [Ping timeout: 245 seconds]
02:00
Gaelane has joined #ruby-lang
02:01
|jemc| has quit [Ping timeout: 240 seconds]
02:01
GaelanAintAround has quit [Ping timeout: 240 seconds]
02:04
yfeldblum has quit [Remote host closed the connection]
02:04
yfeldblum has joined #ruby-lang
02:08
saarinen has quit [Read error: Connection reset by peer]
02:09
saarinen has joined #ruby-lang
02:12
bruno- has joined #ruby-lang
02:14
|jemc|_ is now known as |jemc|
02:15
wallerdev has joined #ruby-lang
02:15
<
zenspider >
whitequark: we don't need more stupid syntax. we need less.
02:15
lsegal has joined #ruby-lang
02:17
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:17
bruno- has quit [Ping timeout: 240 seconds]
02:18
<
whitequark >
you're just mad it added more work for ruby_parser ;D
02:19
Cakey has joined #ruby-lang
02:23
saarinen has quit [Quit: saarinen]
02:23
tectonic has joined #ruby-lang
02:24
saarinen has joined #ruby-lang
02:24
momomomomo has quit [Quit: momomomomo]
02:28
saarinen has quit [Read error: Connection reset by peer]
02:28
ruby-lang536 has joined #ruby-lang
02:29
saarinen has joined #ruby-lang
02:29
matled has quit [Remote host closed the connection]
02:29
matled has joined #ruby-lang
02:29
spastorino has quit [Quit: Connection closed for inactivity]
02:32
gix has joined #ruby-lang
02:32
<
whitequark >
just use case..when
02:34
mistym_ is now known as mistym
02:35
polyidus has quit [Quit: EOF]
02:35
hahuang65 has quit [Ping timeout: 240 seconds]
02:44
thatdutchguy_ has quit [Remote host closed the connection]
02:44
m3k40 has quit [Ping timeout: 260 seconds]
02:49
momomomomo has joined #ruby-lang
02:49
Soilent_ has joined #ruby-lang
02:49
agarie has joined #ruby-lang
02:52
stayarrr has joined #ruby-lang
02:55
Soilent_ has quit [Ping timeout: 255 seconds]
02:57
lsegal` has joined #ruby-lang
02:57
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:58
rkstarnerd has quit [Ping timeout: 264 seconds]
02:58
Soilent_ has joined #ruby-lang
02:59
lsegal has quit [Ping timeout: 245 seconds]
02:59
dostoyevsky has quit [Ping timeout: 245 seconds]
03:00
dostoyevsky has joined #ruby-lang
03:02
gix has quit [Ping timeout: 260 seconds]
03:03
hahuang65 has joined #ruby-lang
03:03
Soilent_ has quit [Ping timeout: 240 seconds]
03:06
agrinb has joined #ruby-lang
03:07
Soilent_ has joined #ruby-lang
03:08
gix has joined #ruby-lang
03:12
yfeldblum has quit [Remote host closed the connection]
03:14
yfeldblum has joined #ruby-lang
03:15
Soilent_ has quit [Ping timeout: 264 seconds]
03:16
m3k40 has joined #ruby-lang
03:16
sepp2k1 has quit [Read error: Connection reset by peer]
03:19
jbardin has quit [Quit: jbardin]
03:23
lsegal` has quit [Read error: Connection reset by peer]
03:23
Soilent_ has joined #ruby-lang
03:23
lsegal has joined #ruby-lang
03:23
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:25
charliesome has joined #ruby-lang
03:26
stayarrr has quit [Quit: Leaving...]
03:30
agarie has quit [Remote host closed the connection]
03:32
Soilent_ has quit [Ping timeout: 250 seconds]
03:35
jbardin has joined #ruby-lang
03:36
stayarrr has joined #ruby-lang
03:36
stayarrr has quit [Remote host closed the connection]
03:40
nathanstitt has quit [Quit: I growing sleepy]
03:40
Cakey has quit [Ping timeout: 255 seconds]
03:42
jxie has joined #ruby-lang
03:49
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
03:49
karamazov has quit []
03:52
momomomomo has quit [Quit: momomomomo]
03:56
agrinb has quit [Remote host closed the connection]
03:56
Derander has quit [Excess Flood]
04:02
jxie has quit [Quit: leaving]
04:02
gix has quit [Ping timeout: 245 seconds]
04:06
gix has joined #ruby-lang
04:09
fowlduck has left #ruby-lang [#ruby-lang]
04:10
jbardin has quit [Quit: jbardin]
04:15
vikasyaligar has joined #ruby-lang
04:15
apeiros has quit [Remote host closed the connection]
04:15
apeiros has joined #ruby-lang
04:19
skade has joined #ruby-lang
04:20
Derander has joined #ruby-lang
04:21
skade has quit [Client Quit]
04:27
apeiros has quit [Remote host closed the connection]
04:27
apeiros has joined #ruby-lang
04:33
agrinb has joined #ruby-lang
04:36
relix has joined #ruby-lang
04:38
yfeldblu_ has joined #ruby-lang
04:39
ruby-lang536 has quit [Ping timeout: 246 seconds]
04:40
yfeldblum has quit [Ping timeout: 255 seconds]
04:42
yfeldblu_ has quit [Ping timeout: 240 seconds]
04:44
RobertBirnie has joined #ruby-lang
04:44
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:53
apeiros has quit [Ping timeout: 272 seconds]
04:55
torrieri has joined #ruby-lang
04:57
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:59
toretore has joined #ruby-lang
05:00
Cakey has joined #ruby-lang
05:04
RobertBirnie has joined #ruby-lang
05:09
stayarrr has joined #ruby-lang
05:10
enkristoffer has joined #ruby-lang
05:11
amclain has quit [Quit: Leaving]
05:19
kaiwren has joined #ruby-lang
05:19
mistym has quit [Remote host closed the connection]
05:20
mistym has joined #ruby-lang
05:20
mistym has quit [Remote host closed the connection]
05:21
landodger has joined #ruby-lang
05:24
enkristoffer has quit [Quit: ❤]
05:27
agrinb has quit [Remote host closed the connection]
05:28
Soilent_ has joined #ruby-lang
05:29
saarinen has quit [Read error: Connection reset by peer]
05:29
saarinen has joined #ruby-lang
05:30
havenwood has joined #ruby-lang
05:33
Soilent_ has quit [Ping timeout: 245 seconds]
05:33
arBmind has joined #ruby-lang
05:36
stayarrr has quit [Quit: Leaving...]
05:39
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
05:40
yfeldblum has joined #ruby-lang
05:40
ari-_-e has joined #ruby-lang
05:41
Soilent_ has joined #ruby-lang
05:41
yfeldblu_ has joined #ruby-lang
05:42
riffraff has joined #ruby-lang
05:44
stayarrr has joined #ruby-lang
05:44
yfeldblum has quit [Ping timeout: 240 seconds]
05:46
Soilent_ has quit [Ping timeout: 250 seconds]
05:50
stayarrr has quit [Quit: Leaving...]
05:52
brianpWins has joined #ruby-lang
05:54
ur5us has quit [Remote host closed the connection]
05:56
apeiros has joined #ruby-lang
05:57
apeiros has quit [Remote host closed the connection]
05:57
stayarrr has joined #ruby-lang
05:59
apeiros has joined #ruby-lang
06:00
saarinen has quit [Ping timeout: 245 seconds]
06:04
stayarrr has quit [Quit: Leaving...]
06:10
mistym has joined #ruby-lang
06:11
stayarrr has joined #ruby-lang
06:12
mistym has quit [Remote host closed the connection]
06:15
Soilent_ has joined #ruby-lang
06:17
stayarrr has quit [Quit: Leaving...]
06:18
duderonomy has joined #ruby-lang
06:19
Soilent_ has quit [Ping timeout: 245 seconds]
06:22
Soilent_ has joined #ruby-lang
06:24
solars has joined #ruby-lang
06:25
mistym has joined #ruby-lang
06:26
Soilent_ has quit [Ping timeout: 245 seconds]
06:27
diegoviola has joined #ruby-lang
06:37
freedrul1 is now known as freedrull
06:37
ari-__-e has joined #ruby-lang
06:38
ari-_-e has quit [Disconnected by services]
06:38
ari-__-e is now known as ari-_-e
06:38
agrinb has joined #ruby-lang
06:43
agrinb has quit [Ping timeout: 260 seconds]
06:43
AKASkip has joined #ruby-lang
06:43
bruno- has joined #ruby-lang
06:46
_ht has joined #ruby-lang
06:47
bruno- has quit [Ping timeout: 240 seconds]
06:49
Soilent_ has joined #ruby-lang
06:50
stayarrr has joined #ruby-lang
06:51
vondruch has joined #ruby-lang
06:53
Cakey has quit [Ping timeout: 245 seconds]
06:54
Soilent_ has quit [Ping timeout: 272 seconds]
06:55
vikasyaligar has quit [Remote host closed the connection]
06:55
AKASkip has quit [Ping timeout: 245 seconds]
06:56
|jemc| has quit [Read error: Connection reset by peer]
06:57
Soilent_ has joined #ruby-lang
06:57
|jemc| has joined #ruby-lang
06:57
nofxx_ has quit [Ping timeout: 272 seconds]
06:58
skade has joined #ruby-lang
06:58
heftig has quit [Ping timeout: 250 seconds]
07:01
ddv has quit [Changing host]
07:01
ddv has joined #ruby-lang
07:01
heftig has joined #ruby-lang
07:01
mistym has quit [Remote host closed the connection]
07:01
Soilent_ has quit [Ping timeout: 260 seconds]
07:04
Soilent_ has joined #ruby-lang
07:05
robmiller has joined #ruby-lang
07:06
robmiller1 has joined #ruby-lang
07:06
robmiller1 has quit [Remote host closed the connection]
07:06
robmiller has quit [Read error: Connection reset by peer]
07:09
Soilent_ has quit [Ping timeout: 256 seconds]
07:09
tris has quit [Excess Flood]
07:10
tris has joined #ruby-lang
07:11
<
maloik >
back from my holiday :(
07:13
arBmind has quit [Quit: Leaving.]
07:13
Soilent_ has joined #ruby-lang
07:14
skade has quit [Quit: Computer has gone to sleep.]
07:15
creede has quit [Ping timeout: 245 seconds]
07:18
Soilent_ has quit [Ping timeout: 250 seconds]
07:18
tectonic has quit []
07:20
|jemc| has quit [Ping timeout: 245 seconds]
07:20
|jemc| has joined #ruby-lang
07:21
Soilent_ has joined #ruby-lang
07:22
fullybaked has joined #ruby-lang
07:22
stayarrr has quit [Quit: Leaving...]
07:26
Soilent_ has quit [Ping timeout: 264 seconds]
07:27
creede has joined #ruby-lang
07:29
krasnus has joined #ruby-lang
07:30
arBmind has joined #ruby-lang
07:33
AKASkip has joined #ruby-lang
07:33
stayarrr has joined #ruby-lang
07:34
Forgetful_Lion has joined #ruby-lang
07:34
skade has joined #ruby-lang
07:42
mnngfltg has joined #ruby-lang
07:46
setmeaway has joined #ruby-lang
07:48
zenspider has quit [Ping timeout: 256 seconds]
07:48
adphillips has joined #ruby-lang
07:48
adphillips has quit [Client Quit]
07:48
zenspider has joined #ruby-lang
07:49
Cakey has joined #ruby-lang
07:52
ironhide_604 has joined #ruby-lang
07:53
Blaguvest has joined #ruby-lang
07:53
rsl has quit [Ping timeout: 240 seconds]
07:56
s1kx has quit [Read error: Connection reset by peer]
07:56
apofis has quit [Ping timeout: 245 seconds]
07:56
s1kx has joined #ruby-lang
08:03
riffraff has quit [Quit: Leaving]
08:05
setmeaway has quit [Quit: Leaving]
08:05
mikecmpbll has joined #ruby-lang
08:10
<
yorickpeterse >
morning
08:11
sMecKs has quit [Read error: Connection reset by peer]
08:14
lsegal has quit [Read error: Connection reset by peer]
08:14
lsegal has joined #ruby-lang
08:19
Averna has quit [Quit: Leaving.]
08:19
elia has joined #ruby-lang
08:22
michd is now known as MichD
08:22
ssam2 has joined #ruby-lang
08:27
bruno- has joined #ruby-lang
08:28
ruby-lang872 has joined #ruby-lang
08:33
ruby-lang872 has quit [Ping timeout: 246 seconds]
08:34
marr has joined #ruby-lang
08:36
Blaguvest has quit [Remote host closed the connection]
08:40
Blaguvest has joined #ruby-lang
08:40
mehlah has joined #ruby-lang
08:42
postmodern has quit [Quit: Leaving]
08:46
Blaguvest has quit [Ping timeout: 260 seconds]
08:46
skade has quit [Quit: Computer has gone to sleep.]
08:47
heftig has quit [Ping timeout: 272 seconds]
08:48
skade has joined #ruby-lang
08:52
skade has quit [Ping timeout: 264 seconds]
08:52
Cakey has quit [Ping timeout: 250 seconds]
08:54
alexju has joined #ruby-lang
08:58
wallerdev has quit [Quit: wallerdev]
08:58
heftig has joined #ruby-lang
08:59
workmad3 has joined #ruby-lang
09:00
sferik has joined #ruby-lang
09:00
lele|w has quit [Ping timeout: 256 seconds]
09:02
robmiller has joined #ruby-lang
09:06
banister has joined #ruby-lang
09:07
alexju_ has joined #ruby-lang
09:08
alexju has quit [Ping timeout: 245 seconds]
09:12
lele|w has joined #ruby-lang
09:12
alexju_ has quit [Ping timeout: 250 seconds]
09:13
relix_ has joined #ruby-lang
09:13
relix has quit [Ping timeout: 256 seconds]
09:17
apofis has joined #ruby-lang
09:17
kaiwren has quit [Quit: kaiwren]
09:18
apofis has quit [Remote host closed the connection]
09:19
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:22
Soilent_ has joined #ruby-lang
09:26
Soilent_ has quit [Ping timeout: 240 seconds]
09:27
arBmind has quit [Quit: Leaving.]
09:27
Soilent_ has joined #ruby-lang
09:27
kek has joined #ruby-lang
09:30
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
09:31
|jemc| has quit [Ping timeout: 272 seconds]
09:32
Soilent_ has quit [Ping timeout: 264 seconds]
09:32
tkuchiki has joined #ruby-lang
09:33
Soilent_ has joined #ruby-lang
09:35
tkuchiki_ has quit [Ping timeout: 255 seconds]
09:36
hackeron has quit [Ping timeout: 255 seconds]
09:38
Soilent_ has quit [Ping timeout: 240 seconds]
09:41
stayarrr has quit [Quit: Leaving...]
09:41
creede has quit [Ping timeout: 255 seconds]
09:43
developer has joined #ruby-lang
09:43
Soilent_ has joined #ruby-lang
09:44
sferik has joined #ruby-lang
09:47
yawn has joined #ruby-lang
09:48
alexju has joined #ruby-lang
09:48
sferik has quit [Ping timeout: 250 seconds]
09:50
<
ddfreyne >
I keep forgetting stabby lambda syntax.
09:50
<
ddfreyne >
Occasionally, it doesn't like the space between -> and (. I haven't figured out when that is the case yet.
09:51
symm- has joined #ruby-lang
09:52
Soilent_ has quit [Ping timeout: 272 seconds]
09:52
katlogic has quit [Read error: Connection reset by peer]
09:54
Blaguvest has joined #ruby-lang
09:54
creede has joined #ruby-lang
09:54
InfraRuby has joined #ruby-lang
09:55
jose55 has joined #ruby-lang
09:57
katlogic has joined #ruby-lang
09:58
newmember has joined #ruby-lang
09:58
<
newmember >
hello world !
09:59
<
workmad3 >
newmember: o/
09:59
<
newmember >
i need help plz
10:00
<
matti >
newmember: Hello.
10:00
<
matti >
newmember: We charge £5.99 for helping before lunch time.
10:00
<
newmember >
i was trying to install the ruby ide
10:00
<
matti >
newmember: Just ask the question ;]
10:00
<
newmember >
on windows
10:01
<
newmember >
using the linux environement cygwin
10:01
gpg_ has joined #ruby-lang
10:01
godd2 has joined #ruby-lang
10:02
<
newmember >
once i run $bundle install
10:02
jose55 has quit [Quit: Leaving]
10:02
<
newmember >
it gives an error !
10:02
<
newmember >
on installing sqlite3-ruby
10:02
_elia has joined #ruby-lang
10:03
<
havenwood >
newmember: do you have sqlite installed?
10:03
<
havenwood >
newmember: DevKit installed?
10:03
<
newmember >
Installing sqlite3-ruby (1.2.5) with native extensions /usr/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
10:05
<
newmember >
thanks but its linux like
10:07
sferik has joined #ruby-lang
10:07
newmember has quit [Quit: Page closed]
10:07
szuletett has joined #ruby-lang
10:09
Miphix has quit [Quit: Leaving]
10:09
symm- has quit [Ping timeout: 240 seconds]
10:10
sferik has joined #ruby-lang
10:10
tkuchiki has quit [Remote host closed the connection]
10:11
developer has quit [*.net *.split]
10:11
tkuchiki has joined #ruby-lang
10:11
elia has quit [*.net *.split]
10:12
sp_ has joined #ruby-lang
10:12
psycho_one has joined #ruby-lang
10:12
psycho_one has quit [Remote host closed the connection]
10:13
InfraRuby has quit [Remote host closed the connection]
10:13
psycho_one has joined #ruby-lang
10:13
psycho_one has left #ruby-lang [#ruby-lang]
10:13
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:13
szuletett has quit [Quit: Leaving]
10:15
Soilent__ has quit [Quit: Lost terminal]
10:15
sp_ is now known as astroturf
10:16
astroturf is now known as astroTurf
10:16
hackeron has joined #ruby-lang
10:18
Atttwww has quit [Ping timeout: 256 seconds]
10:20
digs has joined #ruby-lang
10:20
digs is now known as Guest30643
10:22
jsullivandigs has quit [Ping timeout: 255 seconds]
10:23
havenwood has quit []
10:24
vikasyaligar has joined #ruby-lang
10:27
stamina has joined #ruby-lang
10:27
banister has joined #ruby-lang
10:28
dangerousdave has joined #ruby-lang
10:30
Cakey has joined #ruby-lang
10:33
hackeron has quit [Ping timeout: 255 seconds]
10:34
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:36
thang has quit [Ping timeout: 250 seconds]
10:37
thang has joined #ruby-lang
10:37
skade has joined #ruby-lang
10:39
skade has quit [Client Quit]
10:41
kaiwren has joined #ruby-lang
10:41
astroTurf has quit [Remote host closed the connection]
10:42
astroTurf has joined #ruby-lang
10:43
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:43
ur5us has joined #ruby-lang
10:44
Sirupsen has joined #ruby-lang
10:46
astroTurf has quit [Ping timeout: 240 seconds]
10:46
banister has joined #ruby-lang
10:47
alexju has quit [Remote host closed the connection]
10:48
szuletett has joined #ruby-lang
10:49
banister has quit [Client Quit]
10:51
szuletett has quit [Client Quit]
10:55
szuletett has joined #ruby-lang
10:56
heftig has quit [Ping timeout: 250 seconds]
11:02
thang has quit [Ping timeout: 250 seconds]
11:03
thang has joined #ruby-lang
11:05
<
godd2 >
>> RUBY_VERSION
11:06
<
godd2 >
ah ok so in 1.9.3, -> (a) {} would cause an error, but I guess they fixed that so you can put spaces between -> and ()
11:06
<
yorickpeterse >
godd2: Yes, that was recently patched
11:08
yawn has quit [Ping timeout: 250 seconds]
11:08
yawn has joined #ruby-lang
11:09
astroTurf has joined #ruby-lang
11:14
heftig has joined #ruby-lang
11:16
K3dare has joined #ruby-lang
11:18
K3dare is now known as Kedare
11:18
Kedare is now known as Guest35256
11:18
<
ddfreyne >
JRuby has the issue still I believe.
11:19
chouhoulis has joined #ruby-lang
11:19
Guest35256 has left #ruby-lang [#ruby-lang]
11:19
heftig has quit [Ping timeout: 255 seconds]
11:21
yfeldblu_ has quit [Remote host closed the connection]
11:22
kyb3r_ has quit [Read error: Connection reset by peer]
11:24
heftig has joined #ruby-lang
11:24
chouhoulis has quit [Ping timeout: 256 seconds]
11:26
ayonkhan has joined #ruby-lang
11:27
mehlah has quit [Quit: Leaving...]
11:30
rsl has joined #ruby-lang
11:33
ayonkhan has joined #ruby-lang
11:34
ayonkhan has quit [Client Quit]
11:40
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
11:40
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
11:54
yfeldblum has joined #ruby-lang
11:59
yfeldblum has quit [Ping timeout: 244 seconds]
11:59
jxie has joined #ruby-lang
12:00
Sgeo has quit [Read error: Connection reset by peer]
12:03
sheperson has joined #ruby-lang
12:09
sepp2k has joined #ruby-lang
12:10
sferik has joined #ruby-lang
12:12
ldnunes has joined #ruby-lang
12:16
tkuchiki_ has joined #ruby-lang
12:18
kaiwren has quit [Quit: kaiwren]
12:18
charliesome has joined #ruby-lang
12:19
chouhoul_ has joined #ruby-lang
12:19
tkuchiki has quit [Ping timeout: 255 seconds]
12:20
spastorino has joined #ruby-lang
12:21
tkuchiki_ has quit [Ping timeout: 255 seconds]
12:23
mehlah has joined #ruby-lang
12:29
leandrosnunes has joined #ruby-lang
12:31
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:35
yfeldblum has joined #ruby-lang
12:35
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
12:36
sferik has joined #ruby-lang
12:39
sferik has quit [Client Quit]
12:40
yfeldblum has quit [Ping timeout: 245 seconds]
12:40
[spoiler] has joined #ruby-lang
12:41
_elia has quit [Quit: Computer has gone to sleep.]
12:43
arBmind has joined #ruby-lang
12:43
sheperson has quit [Ping timeout: 255 seconds]
12:43
leandros1 has joined #ruby-lang
12:44
arBmind1 has joined #ruby-lang
12:44
leandrosnunes has quit [Ping timeout: 240 seconds]
12:44
sarkyniin has joined #ruby-lang
12:44
elia has joined #ruby-lang
12:46
tkuchiki has joined #ruby-lang
12:48
arBmind has quit [Ping timeout: 260 seconds]
12:48
banister has joined #ruby-lang
12:49
sferik has joined #ruby-lang
12:50
jgpawletko has joined #ruby-lang
12:51
sferik has quit [Client Quit]
12:52
saarinen has joined #ruby-lang
12:52
sferik has joined #ruby-lang
12:53
relix has joined #ruby-lang
12:54
workmad3 has quit [Read error: Connection reset by peer]
12:56
saarinen has quit [Read error: Connection reset by peer]
12:57
Forgetful_Lion has quit [Remote host closed the connection]
12:57
bffff_ has joined #ruby-lang
12:57
saarinen has joined #ruby-lang
12:59
workmad3 has joined #ruby-lang
12:59
Miphix has joined #ruby-lang
13:00
astroTurf has quit [Remote host closed the connection]
13:00
Miphix has quit [Read error: Connection reset by peer]
13:01
astroTurf has joined #ruby-lang
13:01
Miphix has joined #ruby-lang
13:02
saarinen has quit [Quit: saarinen]
13:04
malconis has joined #ruby-lang
13:05
charliesome has joined #ruby-lang
13:05
astroTurf has quit [Ping timeout: 250 seconds]
13:06
Sirupsen has joined #ruby-lang
13:07
* yorickpeterse
is cowboy coding
13:07
* yorickpeterse
has a pink sombrero
13:07
<
surrounder >
hehehe
13:07
ur5us has quit [Remote host closed the connection]
13:08
Miphix has quit [Ping timeout: 244 seconds]
13:11
<
ssam2 >
hi! is this an expected error or there something weird going on?
13:11
<
ssam2 >
/usr/lib/ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'ohai' (~> 7.2) - did find: [ohai-7.2.0.rc.1] (Gem::LoadError)
13:12
<
ssam2 >
I don't fully understand the semantics of ~>, but it seems like 7.2.0.rc.1 should match ~> 7.2 ?
13:14
<
maloik >
perhaps that's not the case for rc versions
13:14
<
maloik >
not entirely sure myself
13:17
danijoo has quit [Read error: Connection reset by peer]
13:17
danijoo has joined #ruby-lang
13:18
<
ssam2 >
Gem::Requirement.new('~> 7.2.0').satisfied_by? Gem::Version.new('7.2.0.rc1')
13:18
<
ssam2 >
so I guess this is expected. Just need to work out how I've ended up with a set of Gems that don't work together :/
13:22
Soilent has joined #ruby-lang
13:24
rcvalle has joined #ruby-lang
13:26
robbyoconnor has quit [Ping timeout: 260 seconds]
13:28
InfraRuby has joined #ruby-lang
13:28
<
gpg_ >
Assign the hash's key and its value to a virtual attribute? Is this possible?
13:28
jam__ has joined #ruby-lang
13:29
yfeldblum has joined #ruby-lang
13:30
<
gpg_ >
si it looks: [{"cat_modifiers":"7=>[5, 54, 55]"}] JSON
13:31
AKASkip has quit [Ping timeout: 255 seconds]
13:33
elia has quit [Quit: Computer has gone to sleep.]
13:34
yfeldblum has quit [Ping timeout: 240 seconds]
13:37
hackeron has joined #ruby-lang
13:38
diegoviola has quit [Quit: WeeChat 0.4.3]
13:44
astroTurf has joined #ruby-lang
13:45
InfraRuby has left #ruby-lang [#ruby-lang]
13:46
szuletett has quit [Ping timeout: 255 seconds]
13:46
karamazov has joined #ruby-lang
13:48
sarkyniin has quit [Ping timeout: 240 seconds]
13:48
neanias has joined #ruby-lang
13:48
sarkyniin has joined #ruby-lang
13:50
elia has joined #ruby-lang
13:53
neanias has quit [Client Quit]
13:53
neanias has joined #ruby-lang
13:53
neanias has left #ruby-lang [#ruby-lang]
13:56
centrx has joined #ruby-lang
13:58
ledestin has quit [Remote host closed the connection]
13:58
ledestin has joined #ruby-lang
14:02
rmcafee has joined #ruby-lang
14:04
loincloth has joined #ruby-lang
14:06
momomomomo has joined #ruby-lang
14:07
elia has quit [Quit: Computer has gone to sleep.]
14:10
elia has joined #ruby-lang
14:11
agrinb has joined #ruby-lang
14:12
skade has joined #ruby-lang
14:12
agarie has joined #ruby-lang
14:14
<
yorickpeterse >
There used to be some web service where you could enter a Gem name and have it display all the Gems that depend on it, anybody happen to know the name of this service (or something similar)?
14:15
<
whitequark >
yorickpeterse: rubygems.org
14:16
agrinb has quit [Ping timeout: 255 seconds]
14:16
* yorickpeterse
slaps whitequark with a large smelly trout
14:16
<
whitequark >
no, seriously, rubygems.org has that
14:16
<
whitequark >
but I'm not telling you the endpoint name.
14:16
nofxx_ has joined #ruby-lang
14:16
nofxx_ has joined #ruby-lang
14:16
nofxx_ has quit [Changing host]
14:16
robbyoconnor has joined #ruby-lang
14:17
<
yorickpeterse >
pffft
14:18
ur5us has joined #ruby-lang
14:18
symm- has joined #ruby-lang
14:19
<
yorickpeterse >
Hm, one is GemLou.pe but that has an expired SSL certificate
14:19
<
yorickpeterse >
whitequark: <3
14:19
<
yorickpeterse >
and well look at that, including the correct Gem I wanted to check :D
14:20
shinnya has joined #ruby-lang
14:22
ur5us has quit [Ping timeout: 264 seconds]
14:24
yfeldblum has joined #ruby-lang
14:25
mehlah has joined #ruby-lang
14:25
alexju has joined #ruby-lang
14:26
zarubin has joined #ruby-lang
14:26
solars has quit [Ping timeout: 255 seconds]
14:27
shinnya has quit [Ping timeout: 240 seconds]
14:28
shinnya has joined #ruby-lang
14:28
yfeldblum has quit [Ping timeout: 245 seconds]
14:29
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:30
gpg_ has quit [Quit: Page closed]
14:30
<
yorickpeterse >
Hm I think the latest Rubocop is fucked
14:31
agrinb has joined #ruby-lang
14:31
<
yorickpeterse >
It's telling me I can't use `raise` in an if statement
14:31
<
yorickpeterse >
or shit like this:
14:31
<
yorickpeterse >
lib/review_collector/source/hrs/collector.rb:121:38: C: Use next to skip iteration.
14:31
<
yorickpeterse >
ReviewIterator.new(page).each do |review|
14:31
<
yorickpeterse >
like
14:31
<
yorickpeterse >
I can't use .each now any more?
14:31
<
yorickpeterse >
wtf
14:33
sferik has joined #ruby-lang
14:35
<
yorickpeterse >
it's literally throwing errors where adding next makes absolutely no sense
14:39
neanias has joined #ruby-lang
14:39
neanias has left #ruby-lang [#ruby-lang]
14:39
neanias has joined #ruby-lang
14:42
mistym has joined #ruby-lang
14:43
solars has joined #ruby-lang
14:45
ari-_-e has quit [Ping timeout: 255 seconds]
14:47
vikasyaligar has quit [Remote host closed the connection]
14:47
JohnFord has joined #ruby-lang
14:48
<
yorickpeterse >
One more cop to disable
14:49
<
centrx >
yorickpeterse, Is it mis-firing, or do you think the "next" rule is a bad rule?
14:49
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:49
<
centrx >
yorickpeterse, It seems like a good rule to me
14:50
<
centrx >
Good style to use next instead of an if-statement that implicitly returns nil
14:50
mistym has quit [Remote host closed the connection]
14:51
jxie has quit [Ping timeout: 240 seconds]
14:52
<
yorickpeterse >
centrx: both
14:52
<
yorickpeterse >
There are some cases where it makes sense
14:52
<
yorickpeterse >
e.g. if you want to bail out very early in the loop's body without wrapping everything in a conditional
14:52
<
yorickpeterse >
But enforcing it everywhere, by default, even for code where it makes no sense, is bullshit
14:53
sferik has joined #ruby-lang
14:53
jxie has joined #ruby-lang
14:53
<
yorickpeterse >
I do understand why it fails: it's hard to measure complexity and determine if `next` is better or not
14:54
krasnus has quit [Quit: WeeChat 0.4.3]
14:54
<
yorickpeterse >
ah well, at least I can disable it
14:55
<
centrx >
I think the next style is better even in that simple example
14:56
<
yorickpeterse >
Based on what?
14:57
<
yorickpeterse >
I would argue that it's actually less pleasant to read
14:57
<
yorickpeterse >
(this is why I'm not a huge fan of style checkers)
14:57
<
centrx >
Using next means both less nesting and fewer lines
14:57
<
centrx >
and at what point does your three-line if-statement get rewritten into a next?
14:58
<
centrx >
How much needs to be added to it to qualify for the next, what's the cut-off?
14:58
neanias has left #ruby-lang [#ruby-lang]
14:58
<
yorickpeterse >
That is exactly why I think it shouldn't be enabled in its current state
14:59
jxie has quit [Ping timeout: 244 seconds]
14:59
peterhorne has joined #ruby-lang
14:59
<
yorickpeterse >
also it saves you at most 1 level of indentation, depending on if you wrote the conditional on a separate line
14:59
<
yorickpeterse >
and at most it saves you 2 lines of code, of which one is just `end`
14:59
<
yorickpeterse >
big whoop
14:59
jxie has joined #ruby-lang
14:59
peterhorne has quit [Client Quit]
14:59
<
centrx >
Yes, it is a matter of style
15:01
ari-_-e has joined #ruby-lang
15:01
<
centrx >
De gustibus non disputandum est
15:02
<
karamazov >
I'm having a bit of trouble understanding the inheritance of class variables. They go up the ladder before being defined?
15:02
<
centrx >
karamazov, Avoid class variables. Use class instance variables
15:03
<
karamazov >
Sure - I'm not trying to use them. I'd just like to understand them.
15:03
<
centrx >
karamazov, For exactly this reason, they are shared across the inheritance tree
15:03
<
centrx >
I am not sure of the order if a class variable is set in multiple classes
15:03
mistym has joined #ruby-lang
15:04
<
karamazov >
I'm going through "Eloquent Ruby" and that's the main gotcha, depending on the order of your require statements the class variable will change
15:04
<
karamazov >
I just didn't quite understand how that sort of inheritance works.
15:04
<
yorickpeterse >
karamazov: Yes, wherever defined they will overwrite previous instances in the same inheritence tree
15:04
jlovick has joined #ruby-lang
15:04
fullybaked has quit [Ping timeout: 256 seconds]
15:04
<
yorickpeterse >
so @@ defined in A::B::C::D overwrites the ones in A, A::B, A::B::C
15:05
<
yorickpeterse >
s/@@/@@foo/g
15:05
<
karamazov >
^ what is that?
15:05
tejas-manohar_ has joined #ruby-lang
15:05
tbuehlmann has joined #ruby-lang
15:05
<
yorickpeterse >
as in, class A, class A::B (B being nested in A)
15:05
<
yorickpeterse >
errrr shit
15:05
<
yorickpeterse >
derp
15:06
<
yorickpeterse >
I meant classes that inherit each other
15:06
<
karamazov >
was that vim?
15:06
<
yorickpeterse >
oh the s/
15:06
<
yorickpeterse >
it's a find-replace :P
15:06
<
centrx >
It's general Unix, found in sed and vim for example
15:06
<
karamazov >
haha that's what I thought, just wasn't sure.
15:06
<
yorickpeterse >
>> class A; @@foo = 10; end; class B < A; @@foo = 20; end; B.class_variable_get(:@@foo)
15:06
<
yorickpeterse >
>> class A; @@foo = 10; end; class B < A; @@foo = 20; end; A.class_variable_get(:@@foo)
15:07
<
karamazov >
Interesting
15:07
nathanstitt has joined #ruby-lang
15:07
tejas-manohar_ has quit [Client Quit]
15:09
<
karamazov >
In a sense - they act similar to global variables then? That sort of inheritance is pretty straightforward?
15:10
<
karamazov >
Except, they're not global and limited to the class.
15:10
<
yorickpeterse >
They are basically class/module level global variables
15:10
<
yorickpeterse >
However, they don't inherit up to Object I believe
15:10
<
yorickpeterse >
>> class A; @@foo = 10; end; class B < A; @@foo = 20; end; Object.class_variable_get(:@@foo)
15:11
<
karamazov >
That was quick.
15:11
<
yorickpeterse >
>> class A < Object; @@foo = 10; end; class B < A; @@foo = 20; end; Object.class_variable_get(:@@foo)
15:11
<
yorickpeterse >
yup, seems Object is left out
15:11
<
workmad3 >
yorickpeterse: it's not that Object is left out, it's that they don't propagate up
15:11
<
workmad3 >
yorickpeterse: so if you declared @@foo in class B before class A, they would be separate class vars
15:12
<
yorickpeterse >
eh, I don't think so
15:12
<
yorickpeterse >
>> class A < Object; end; class B < A; @@foo = 20; end; A.class_variable_get(:@@foo)
15:12
<
yorickpeterse >
huh
15:12
<
yorickpeterse >
I always thought they did propagate up
15:12
<
yorickpeterse >
hmmm
15:12
<
yorickpeterse >
TIL
15:12
<
workmad3 >
hmm... might have changed or I might be remembering incorrectly
15:12
<
workmad3 >
as my simple check in IRB just failed to confirm that :)
15:12
<
yorickpeterse >
bbl, mandatory social activities
15:13
skade has quit [Quit: Computer has gone to sleep.]
15:13
Guest59959 has quit [Ping timeout: 260 seconds]
15:15
<
workmad3 >
ok... so it looks like when A sets a class variable, it then overwrites down the tree
15:15
<
karamazov >
Doesn't it depend on the load order?
15:16
<
karamazov >
Oh wait - yeah, you're right.
15:17
tbuehlmann has quit [Quit: Leaving]
15:18
yfeldblum has joined #ruby-lang
15:20
<
karamazov >
workmad3: I'm getting some weird behavior where the child of a class is overwriting it
15:21
dangerousdave has quit []
15:22
sferik has quit [Read error: Connection reset by peer]
15:22
yfeldblum has quit [Ping timeout: 255 seconds]
15:22
<
workmad3 >
karamazov: that's also 'normal'
15:22
yawn has quit [Quit: yawn]
15:23
<
workmad3 >
karamazov: class instance variables are the way to go ;)
15:23
brianpWins has quit [Read error: Connection reset by peer]
15:23
brianpWins has joined #ruby-lang
15:23
<
workmad3 >
karamazov: or inherited class ivars
15:23
<
karamazov >
workmad3: Yeah - I'm not trying to use them. I'd just like to understand them a bit more. For now, I'll just let it slide.
15:24
drjfreeze has joined #ruby-lang
15:25
<
drjfreeze >
Anyone know if printing ASCII control characters works on windows cmd?
15:25
<
drjfreeze >
puts "\e[41mH\e[40m"
15:26
bruno- has quit [Ping timeout: 250 seconds]
15:26
sferik has joined #ruby-lang
15:27
seamon has joined #ruby-lang
15:28
skade has joined #ruby-lang
15:31
skade has quit [Client Quit]
15:32
<
sepp2k >
drjfreeze: No, the Windows command prompt does not interpret ANSI escape sequences.
15:33
jam__ has quit [Quit: Connection closed for inactivity]
15:35
|jemc| has joined #ruby-lang
15:36
brianpWins has quit [Quit: brianpWins]
15:37
mistym_ has joined #ruby-lang
15:38
alexju has quit [Ping timeout: 260 seconds]
15:38
fullybaked has joined #ruby-lang
15:39
mistym has quit [Ping timeout: 245 seconds]
15:40
drjfreeze has left #ruby-lang [#ruby-lang]
15:42
stef1a has joined #ruby-lang
15:43
stamina has quit [Ping timeout: 260 seconds]
15:43
<
stef1a >
how do you assign and pass a block in the same line? for example, can i combine @num = rand(1..10); @num.times { do_thing } into one expression?
15:44
<
ledestin >
stef1a: (@num = …).times
15:45
<
centrx >
stef1a, You can chain as many methods as you want onto each other, "method chaining"
15:46
symm- has quit [Ping timeout: 240 seconds]
15:46
<
stef1a >
i see. thanks!
15:46
seamon has quit [Quit: Zzzzzzz]
15:47
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:48
seamon has joined #ruby-lang
15:53
skade has joined #ruby-lang
15:56
mnngfltg has quit [Remote host closed the connection]
15:59
skade has quit [Ping timeout: 240 seconds]
16:03
mikecmpbll has quit [Ping timeout: 256 seconds]
16:05
arBmind1 has quit [Quit: Leaving.]
16:05
mikecmpbll has joined #ruby-lang
16:06
wallerdev has joined #ruby-lang
16:10
sam___ has joined #ruby-lang
16:12
mistym_ has quit [Remote host closed the connection]
16:12
yfeldblum has joined #ruby-lang
16:13
__butch__ has joined #ruby-lang
16:14
<
centrx >
*as many methods as good taste will allow
16:17
yfeldblum has quit [Ping timeout: 255 seconds]
16:17
seamon has quit [Quit: Zzzzzzz]
16:17
ironhide_604 has quit [Ping timeout: 250 seconds]
16:18
danijoo has quit [Read error: Connection reset by peer]
16:19
danijoo has joined #ruby-lang
16:19
skade has joined #ruby-lang
16:23
skade has quit [Client Quit]
16:24
seamon has joined #ruby-lang
16:25
Squarepy has joined #ruby-lang
16:27
fullybaked has quit []
16:31
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
16:31
RobertBirnie has joined #ruby-lang
16:31
jbardin has joined #ruby-lang
16:31
wallerdev has quit [Quit: wallerdev]
16:32
weems|mac has joined #ruby-lang
16:32
weems|mac has joined #ruby-lang
16:35
__butch__ has quit [Quit: Leaving.]
16:35
elia has quit [Quit: Computer has gone to sleep.]
16:35
workmad3 has quit [Ping timeout: 255 seconds]
16:37
kek has quit [Remote host closed the connection]
16:37
tommylommykins has quit [Remote host closed the connection]
16:37
kek has joined #ruby-lang
16:42
sam___ has quit [Quit: Page closed]
16:42
kek has quit [Ping timeout: 256 seconds]
16:45
saarinen has joined #ruby-lang
16:46
<
karamazov >
I can't seem to figure out why I can do array.map(&:to_s) - is it just a proc qwerk?
16:46
djbkd has joined #ruby-lang
16:48
dwknoxy has joined #ruby-lang
16:49
tommylommykins has joined #ruby-lang
16:50
solars has quit [Ping timeout: 264 seconds]
16:51
<
canton7 >
karamazov, look up symbol.to_proc
16:53
saarinen has quit [Quit: saarinen]
16:53
<
karamazov >
canton7: Thanks!
16:54
saarinen has joined #ruby-lang
16:57
mistym has joined #ruby-lang
16:59
mistym_ has joined #ruby-lang
17:02
vintik has joined #ruby-lang
17:02
wallerdev has joined #ruby-lang
17:03
Cakey has quit [Ping timeout: 240 seconds]
17:03
mistym has quit [Ping timeout: 240 seconds]
17:04
momomomomo has quit [Quit: momomomomo]
17:04
solars has joined #ruby-lang
17:04
jbardin has quit [Quit: jbardin]
17:05
chouhoulis has joined #ruby-lang
17:05
djbkd has quit [Remote host closed the connection]
17:06
saarinen has quit [Quit: saarinen]
17:06
yfeldblum has joined #ruby-lang
17:06
djbkd has joined #ruby-lang
17:06
chouhoulis has quit [Remote host closed the connection]
17:07
chouhoulis has joined #ruby-lang
17:07
djbkd has quit [Remote host closed the connection]
17:07
djbkd has joined #ruby-lang
17:08
chouhoul_ has quit [Ping timeout: 264 seconds]
17:11
yfeldblum has quit [Ping timeout: 264 seconds]
17:11
chouhoulis has quit [Ping timeout: 256 seconds]
17:12
ssam2 has quit [Quit: Leaving]
17:12
robmiller has quit [Quit: Leaving.]
17:13
AKASkip has joined #ruby-lang
17:13
karamazov has quit [Read error: Connection reset by peer]
17:14
karamazov has joined #ruby-lang
17:16
wallerdev_ has joined #ruby-lang
17:16
wallerdev has quit [Ping timeout: 240 seconds]
17:16
wallerdev_ is now known as wallerdev
17:17
brianpWins has joined #ruby-lang
17:18
jbardin has joined #ruby-lang
17:18
JohnFord has joined #ruby-lang
17:19
mehlah has quit [Quit: Leaving...]
17:22
wallerdev has quit [Quit: wallerdev]
17:23
lguardiola has joined #ruby-lang
17:27
postmodern has joined #ruby-lang
17:27
archpollux has joined #ruby-lang
17:27
<
archpollux >
hi all
17:28
<
archpollux >
i want to set up my project to bundle install into a local directory within the project and then make Bundle.require load gems from there, what's the easiest way to do this?
17:29
Cakey has joined #ruby-lang
17:30
centrx has quit [Quit: Mead error: Connection reset by beer]
17:31
<
archpollux >
do I need to provide :path for all gems in my Gemfile in order to achieve this?
17:34
<
darix >
archpollux: bundle install --path .bundle/
17:34
<
darix >
it will remember that path and automatically load from there
17:34
loincloth has quit [Remote host closed the connection]
17:35
karamazov has quit [Read error: Connection reset by peer]
17:35
karamazov has joined #ruby-lang
17:37
<
archpollux >
Bundle.require will load from there?
17:37
Cakey has quit [Ping timeout: 255 seconds]
17:37
<
archpollux >
darix: and where will it store that path?
17:39
<
darix >
.bundle/config
17:40
<
archpollux >
darix: ossum, thanks a lot!
17:42
djbkd has quit [Remote host closed the connection]
17:44
seamon has quit [Quit: Zzzzzzz]
17:44
agrinb has quit [Remote host closed the connection]
17:45
djbkd has joined #ruby-lang
17:45
agrinb has joined #ruby-lang
17:45
davispuh has joined #ruby-lang
17:46
robmiller has joined #ruby-lang
17:46
robmiller has quit [Client Quit]
17:49
agrinb has quit [Ping timeout: 245 seconds]
17:50
seamon has joined #ruby-lang
17:53
havenwood has joined #ruby-lang
17:54
vintik has quit [Remote host closed the connection]
17:55
marr has quit [Read error: Connection reset by peer]
17:55
rafaelfranca has joined #ruby-lang
17:55
vintik has joined #ruby-lang
17:55
rafaelfranca has left #ruby-lang [#ruby-lang]
17:59
vintik has quit [Ping timeout: 245 seconds]
18:00
yfeldblum has joined #ruby-lang
18:03
agrinb has joined #ruby-lang
18:03
astroTurf has quit [Remote host closed the connection]
18:03
astroTurf has joined #ruby-lang
18:04
mistym_ is now known as mistym
18:05
yfeldblum has quit [Ping timeout: 245 seconds]
18:05
vintik has joined #ruby-lang
18:08
vintik has quit [Remote host closed the connection]
18:08
astroTurf has quit [Ping timeout: 260 seconds]
18:10
vintik has joined #ruby-lang
18:12
stamina has joined #ruby-lang
18:14
David_ has joined #ruby-lang
18:17
loincloth has joined #ruby-lang
18:20
solars has quit [Ping timeout: 245 seconds]
18:22
ddd has joined #ruby-lang
18:23
JohnFord has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:23
wsad has joined #ruby-lang
18:26
epitron has quit [Read error: Connection reset by peer]
18:26
<
wsad >
Need some info as to how I can record keystrokes in Ruby. The Ruby program/script will be running in the background.
18:26
<
wsad >
My environment is Mac
18:27
epitron has joined #ruby-lang
18:28
JohnFord has joined #ruby-lang
18:29
rmcafee has quit [Quit: rmcafee]
18:30
cmhobbs has joined #ruby-lang
18:31
cmhobbs has joined #ruby-lang
18:34
jgpawletko has quit [Quit: jgpawletko]
18:36
brianpWins_ has joined #ruby-lang
18:38
brianpWins has quit [Ping timeout: 245 seconds]
18:38
brianpWins_ is now known as brianpWins
18:43
ascarter has joined #ruby-lang
18:47
stef1a has quit [Ping timeout: 260 seconds]
18:47
wsad has quit [Ping timeout: 246 seconds]
18:48
havenwood has quit [Remote host closed the connection]
18:49
havenwood has joined #ruby-lang
18:52
stamina has quit [Ping timeout: 240 seconds]
18:54
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:54
yfeldblum has joined #ruby-lang
18:56
djbkd has quit [Remote host closed the connection]
18:57
jlovick has quit [Quit: No Ping reply in 180 seconds.]
18:59
jlovick has joined #ruby-lang
18:59
djbkd has joined #ruby-lang
18:59
yfeldblum has quit [Ping timeout: 255 seconds]
19:00
seamon has quit [Quit: Zzzzzzz]
19:04
sarkyniin has quit [Quit: Quitte]
19:08
stef1a has joined #ruby-lang
19:09
havenwood has quit []
19:09
astroTurf has joined #ruby-lang
19:14
arBmind has joined #ruby-lang
19:19
marr has joined #ruby-lang
19:23
saarinen has joined #ruby-lang
19:24
elia has joined #ruby-lang
19:25
jds has quit [Quit: Connection closed for inactivity]
19:29
elia has quit [Client Quit]
19:29
<
Mon_Ouie >
It's not just about the conversion though
19:29
<
karamazov >
Yeah - I feel like I'm missing something
19:29
<
Mon_Ouie >
foo(:x.to_proc) and foo(&:x) are different because there's a difference between passing an argument as a block and passing a regular argument
19:29
isale-eko has joined #ruby-lang
19:30
<
Mon_Ouie >
foo(&x) also makes sense when x is already a proc
19:30
elia has joined #ruby-lang
19:31
<
karamazov >
I'm not sure I follow the first two cases. The second is has the Proc reference but the first doesn't?
19:31
futilegames has joined #ruby-lang
19:31
<
karamazov >
*second has
19:32
<
Mon_Ouie >
>> def foo(regular_argument, &block_argument); [regular_argument, block_argument]; end; foo(:x.to_proc)
19:32
<
Mon_Ouie >
>> def foo(regular_argument, &block_argument); [regular_argument, block_argument]; end; foo(&:x)
19:32
<
Mon_Ouie >
>> def foo(regular_argument = nil, &block_argument); [regular_argument, block_argument]; end; foo(&:x)
19:32
<
Mon_Ouie >
When you use 'yield', the block argument will be called
19:33
agarie has quit [Ping timeout: 260 seconds]
19:33
<
karamazov >
Ah gotcha
19:33
szuletett has joined #ruby-lang
19:34
<
karamazov >
the & does that for you then?
19:34
yfeldblum has joined #ruby-lang
19:35
<
Mon_Ouie >
When you call a method, it a) converts the argument to a proc using to_proc (unless that argument is nil) and b) passes it as a block instead of a regular argument
19:35
<
Mon_Ouie >
When you define a method, &var can be used to store the block argument in a variable
19:35
saarinen has quit [Quit: saarinen]
19:37
futilegames has quit [Quit: futilegames]
19:37
<
karamazov >
Gotcha.
19:38
Squarepy has quit [Quit: Leaving]
19:40
dorei has joined #ruby-lang
19:42
davispuh has quit [Remote host closed the connection]
19:43
astroTurf has quit [Remote host closed the connection]
19:44
davispuh has joined #ruby-lang
19:45
neanias has joined #ruby-lang
19:45
neanias has left #ruby-lang [#ruby-lang]
19:45
symm- has joined #ruby-lang
19:46
stef1a has quit [Ping timeout: 264 seconds]
19:46
djbkd has quit [Remote host closed the connection]
19:47
danijoo has quit [Read error: Connection reset by peer]
19:47
danijoo has joined #ruby-lang
19:49
wallerdev has joined #ruby-lang
19:52
szu_ has joined #ruby-lang
19:53
szuletett has quit [Ping timeout: 255 seconds]
19:54
archpollux has quit [Quit: Konversation terminated!]
19:55
yalue has quit [Quit: Leaving]
20:02
wallerdev has quit [Quit: wallerdev]
20:02
ascarter has joined #ruby-lang
20:02
ascarter has quit [Client Quit]
20:02
astroTurf has joined #ruby-lang
20:03
[spoiler] has quit [Quit: Leaving]
20:04
seamon has joined #ruby-lang
20:05
djbkd has joined #ruby-lang
20:05
JohnFord has quit [Ping timeout: 240 seconds]
20:08
stef1a has joined #ruby-lang
20:10
agarie has joined #ruby-lang
20:14
leandros1 has quit [Quit: WeeChat 0.4.3]
20:14
saarinen has joined #ruby-lang
20:15
redhat_ is now known as webhat
20:21
_ht has quit [Remote host closed the connection]
20:28
astroTurf has quit []
20:28
jbardin has quit [Quit: jbardin]
20:30
dennus has joined #ruby-lang
20:31
bruno- has joined #ruby-lang
20:34
jbardin has joined #ruby-lang
20:35
bruno- has quit [Ping timeout: 240 seconds]
20:36
bruno- has joined #ruby-lang
20:41
bruno- has quit [Ping timeout: 244 seconds]
20:41
bruno- has joined #ruby-lang
20:45
bruno- has quit [Ping timeout: 240 seconds]
20:47
bruno- has joined #ruby-lang
20:47
ascarter has joined #ruby-lang
20:47
ascarter has quit [Max SendQ exceeded]
20:48
ascarter has joined #ruby-lang
20:48
ascarter has quit [Max SendQ exceeded]
20:49
ascarter has joined #ruby-lang
20:50
elia has quit [Quit: Computer has gone to sleep.]
20:50
arBmind1 has joined #ruby-lang
20:51
karamazov has quit [Remote host closed the connection]
20:51
bruno- has quit [Ping timeout: 256 seconds]
20:52
arBmind has quit [Ping timeout: 256 seconds]
20:54
centrx has joined #ruby-lang
20:54
wallerdev has joined #ruby-lang
20:54
szu_ has quit [Ping timeout: 240 seconds]
20:58
sepp2k has quit [Quit: Konversation terminated!]
21:03
jonathanmarvens has joined #ruby-lang
21:03
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:04
isale-eko has quit [Ping timeout: 255 seconds]
21:06
isale-eko has joined #ruby-lang
21:07
Atttwww has joined #ruby-lang
21:07
bruno- has joined #ruby-lang
21:07
ruby-lang176 has joined #ruby-lang
21:11
bruno- has quit [Ping timeout: 240 seconds]
21:11
isale-eko has quit [Client Quit]
21:13
saarinen has quit [Quit: saarinen]
21:14
davispuh has joined #ruby-lang
21:15
ldnunes has quit [Quit: Leaving]
21:17
bruno- has joined #ruby-lang
21:19
madoxer has joined #ruby-lang
21:20
djbkd has quit [Remote host closed the connection]
21:20
__butch__ has joined #ruby-lang
21:20
djbkd has joined #ruby-lang
21:21
seamon has quit [Quit: Zzzzzzz]
21:21
|jemc| has quit [Quit: WeeChat 0.4.3]
21:21
mehlah has joined #ruby-lang
21:22
ur5us has joined #ruby-lang
21:22
saarinen has joined #ruby-lang
21:23
rue_XIV has quit [Ping timeout: 250 seconds]
21:23
elia has joined #ruby-lang
21:24
|jemc| has joined #ruby-lang
21:26
mistym has quit [Remote host closed the connection]
21:27
yfeldblu_ has joined #ruby-lang
21:29
yfeldbl__ has joined #ruby-lang
21:30
yfeldblu_ has quit [Read error: Connection reset by peer]
21:30
agrinb has quit [Remote host closed the connection]
21:31
yfeldblum has quit [Ping timeout: 255 seconds]
21:31
agrinb has joined #ruby-lang
21:34
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:35
agrinb has quit [Ping timeout: 256 seconds]
21:37
vintik has quit [Remote host closed the connection]
21:38
vintik has joined #ruby-lang
21:39
saarinen has quit [Quit: saarinen]
21:39
madoxer has quit [Remote host closed the connection]
21:40
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:42
vintik has quit [Ping timeout: 250 seconds]
21:44
harshp__ has quit [Ping timeout: 250 seconds]
21:45
djbkd has quit [Remote host closed the connection]
21:46
djbkd has joined #ruby-lang
21:49
centrx has quit [Quit: Mead error: Connection reset by beer]
21:50
ruby-lang176 has quit [Quit: Page closed]
21:50
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
21:50
djbkd has quit [Ping timeout: 255 seconds]
21:51
x0f has quit [Ping timeout: 250 seconds]
21:51
yfeldbl__ has quit [Remote host closed the connection]
21:51
djbkd has joined #ruby-lang
21:52
saarinen has joined #ruby-lang
21:53
x0f has joined #ruby-lang
21:56
InfraRuby has joined #ruby-lang
21:56
havenwood has joined #ruby-lang
21:56
hlowe has joined #ruby-lang
21:57
vintik has joined #ruby-lang
21:59
weems|mac has quit [Quit: weems|mac]
22:00
agarie has quit [Quit: Leaving...]
22:01
cmhobbs has quit [Remote host closed the connection]
22:01
agrinb has joined #ruby-lang
22:02
rcvalle has quit [Quit: rcvalle]
22:02
yfeldblum has joined #ruby-lang
22:02
Blaguvest has quit []
22:03
stef1a has quit [Ping timeout: 256 seconds]
22:03
Sgeo has joined #ruby-lang
22:06
agrinb has quit [Ping timeout: 240 seconds]
22:07
Soilent has quit [Read error: Connection reset by peer]
22:07
Soilent has joined #ruby-lang
22:12
harshp_ has joined #ruby-lang
22:13
hlowe has quit [Ping timeout: 256 seconds]
22:18
workmad3 has joined #ruby-lang
22:18
polyidus has joined #ruby-lang
22:19
polyidus has quit [Max SendQ exceeded]
22:19
sepp2k has joined #ruby-lang
22:19
ascarter has joined #ruby-lang
22:19
musl has quit [Quit: WeeChat 0.4.3]
22:20
polyidus has joined #ruby-lang
22:21
symm- has quit [Quit: Leaving...]
22:21
djbkd has quit [Remote host closed the connection]
22:22
loincloth has quit [Remote host closed the connection]
22:28
MichD is now known as michd
22:29
nathanstitt has quit [Quit: I growing sleepy]
22:30
joast has quit [Ping timeout: 250 seconds]
22:32
mistym has joined #ruby-lang
22:33
symm- has joined #ruby-lang
22:34
closer has quit [Ping timeout: 272 seconds]
22:35
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:36
closer has joined #ruby-lang
22:36
jlovick has quit [Ping timeout: 256 seconds]
22:37
havenwood has quit []
22:38
harshp_ has quit [Ping timeout: 260 seconds]
22:38
snoopybbt has joined #ruby-lang
22:42
szu_ has joined #ruby-lang
22:46
stardiviner has joined #ruby-lang
22:48
workmad3 has quit [Ping timeout: 250 seconds]
22:48
bruno- has quit [Ping timeout: 250 seconds]
22:51
sirene has quit [Remote host closed the connection]
22:52
harshp_ has joined #ruby-lang
22:53
weems|mac has joined #ruby-lang
22:53
havenwood has joined #ruby-lang
22:57
polyidus has quit [Read error: Connection reset by peer]
22:59
vintik has quit [Remote host closed the connection]
23:00
vintik has joined #ruby-lang
23:00
karamazov has joined #ruby-lang
23:02
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:04
havenwood has quit [Remote host closed the connection]
23:04
vintik has quit [Ping timeout: 244 seconds]
23:04
havenwood has joined #ruby-lang
23:05
havenwood has quit [Remote host closed the connection]
23:10
ascarter has joined #ruby-lang
23:10
ascarter has quit [Max SendQ exceeded]
23:11
ascarter has joined #ruby-lang
23:12
banister has joined #ruby-lang
23:12
danijoo has quit [Read error: Connection reset by peer]
23:13
danijoo has joined #ruby-lang
23:17
saarinen has quit [Quit: saarinen]
23:17
musl has joined #ruby-lang
23:20
kyb3r_ has joined #ruby-lang
23:25
elia has quit [Quit: (IRC Client: textualapp.com)]
23:26
jonathanmarvens has quit [Remote host closed the connection]
23:26
centrx has joined #ruby-lang
23:27
centrx has quit [Client Quit]
23:32
skade has joined #ruby-lang
23:32
sMecKs has joined #ruby-lang
23:36
weems|mac has quit [Quit: weems|mac]
23:39
mikecmpbll has quit [Quit: i've nodded off.]
23:40
mikecmpbll has joined #ruby-lang
23:41
InfraRuby has left #ruby-lang [#ruby-lang]
23:42
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
23:43
sharpmac_ has quit [Remote host closed the connection]
23:45
harshp_ has quit [Ping timeout: 250 seconds]
23:46
havenwood has joined #ruby-lang
23:46
stardiviner has joined #ruby-lang
23:47
|jemc| has quit [Ping timeout: 255 seconds]
23:47
ascarter has joined #ruby-lang
23:47
AKASkip has quit [Ping timeout: 250 seconds]
23:48
karamazov has quit [Remote host closed the connection]
23:49
skade has quit [Quit: Computer has gone to sleep.]
23:49
skade has joined #ruby-lang
23:50
szu_ has quit [Quit: Leaving]
23:51
skade has quit [Client Quit]
23:56
stef1a has joined #ruby-lang
23:59
sharpmachine has joined #ruby-lang
23:59
landodger has quit [Remote host closed the connection]
23:59
stamina has joined #ruby-lang