00:01
Mrgoose has joined #ruby
00:11
GodFather has quit [Ping timeout: 252 seconds]
00:27
oneeggeach has quit [Quit: Leaving...]
00:31
GodFather has joined #ruby
00:32
TrufflePump has joined #ruby
00:33
hiroaki has quit [Ping timeout: 246 seconds]
00:38
TrufflePump has quit [Ping timeout: 265 seconds]
00:44
Rounin has quit [Ping timeout: 240 seconds]
00:48
dviola has quit [Ping timeout: 260 seconds]
00:50
dviola has joined #ruby
00:54
dviola has quit [Changing host]
00:54
dviola has joined #ruby
01:02
istrasci has joined #ruby
01:02
<
istrasci >
Is there a way to access the "results" of RSpec execution in the after(:suite) callback? For example, if I wanted to email failing results to a particular address.
01:05
hiroaki has joined #ruby
01:08
elcuervo has quit [Read error: Connection reset by peer]
01:10
elcuervo has joined #ruby
01:14
hiroaki has quit [Ping timeout: 246 seconds]
01:18
patr0clus has joined #ruby
01:19
MalkbabY_ is now known as MalkbabY
01:30
vladomiro has joined #ruby
01:32
vladomiro has quit [Client Quit]
01:33
akem_ has joined #ruby
01:34
crankharder has joined #ruby
01:38
crankharder has quit [Ping timeout: 240 seconds]
01:40
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:53
MalkbabY has quit [Remote host closed the connection]
01:54
MalkbabY has joined #ruby
02:04
shtirlic has quit [Ping timeout: 265 seconds]
02:05
shtirlic has joined #ruby
02:08
vladomiro has joined #ruby
02:10
akem_ has quit [Quit: leaving]
02:14
robotbee has quit [Ping timeout: 240 seconds]
02:17
Technodrome has joined #ruby
02:32
Xiti has quit [Quit: Leaving]
02:33
patr0clus has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
02:35
duderonomy has joined #ruby
02:38
rzjian has joined #ruby
02:43
patr0clus has joined #ruby
02:44
patr0clus has quit [Client Quit]
02:49
ChmEarl has quit [Quit: Leaving]
02:56
Xiti has joined #ruby
02:58
rzjian has quit [Quit: WeeChat 3.1]
03:04
roshanavand_ has quit [Ping timeout: 265 seconds]
03:09
robotbee has joined #ruby
03:21
rzjian has joined #ruby
03:26
istrasci has quit [Quit: Connection closed]
03:27
rzjian has quit [Quit: WeeChat 3.1]
03:32
GodFather has quit [Remote host closed the connection]
03:40
gix- has joined #ruby
03:40
gix has quit [Disconnected by services]
03:58
vladomiro has quit [Quit: Leaving]
03:59
robotbee has quit [Ping timeout: 246 seconds]
04:02
TrufflePump has joined #ruby
04:02
m27frogy has quit [Ping timeout: 240 seconds]
04:18
hwpplayer1 has joined #ruby
04:28
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:42
konsolebox has quit [Ping timeout: 240 seconds]
04:45
konsolebox has joined #ruby
04:59
DTZUZU has joined #ruby
04:59
patr0clus has joined #ruby
05:01
DTZUZU_ has quit [Ping timeout: 246 seconds]
05:01
cliluw has quit [Ping timeout: 265 seconds]
05:04
hwpplayer1 has quit [Read error: Connection reset by peer]
05:10
<
banisterfiend >
up to
05:13
arahael has joined #ruby
05:35
crankharder has joined #ruby
05:40
crankharder has quit [Ping timeout: 240 seconds]
05:51
neshpion has quit [Quit: neshpion]
05:54
MalkbabY has quit [Remote host closed the connection]
05:55
robotbee has joined #ruby
05:55
MalkbabY has joined #ruby
06:07
blackmesa has joined #ruby
06:07
roger_rabbit has quit [Changing host]
06:07
roger_rabbit has joined #ruby
06:08
cliluw has joined #ruby
06:14
cliluw has quit [Ping timeout: 268 seconds]
06:21
explorier has quit [Ping timeout: 240 seconds]
06:30
DTZUZU_ has joined #ruby
06:32
DTZUZU has quit [Ping timeout: 265 seconds]
06:36
cliluw has joined #ruby
06:40
explorier has joined #ruby
06:40
Rounin has joined #ruby
06:40
cliluw has quit [Ping timeout: 265 seconds]
06:43
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:45
duderonomy has joined #ruby
06:46
robotbee has quit [Ping timeout: 265 seconds]
06:48
duderonomy has quit [Client Quit]
07:05
blackmesa has quit [Ping timeout: 250 seconds]
07:07
BTRE has quit [Ping timeout: 246 seconds]
07:10
Xiti has quit [Quit: Leaving]
07:10
Rudd0 has quit [Ping timeout: 240 seconds]
07:11
BTRE has joined #ruby
07:11
Xiti has joined #ruby
07:20
jla has joined #ruby
07:22
TrufflePump has quit [Ping timeout: 240 seconds]
07:36
raj__ is now known as raj
07:36
crankharder has joined #ruby
07:41
crankharder has quit [Ping timeout: 265 seconds]
08:02
Milos has quit [Remote host closed the connection]
08:02
TruffleP1mp has joined #ruby
08:03
Milos has joined #ruby
08:05
al2o3-cr has quit [Ping timeout: 240 seconds]
08:06
stdedos has joined #ruby
08:06
yxhuvud has quit [Read error: Connection reset by peer]
08:06
yxhuvud has joined #ruby
08:09
howdoi has quit [Quit: Connection closed for inactivity]
08:29
tpanarch1st has joined #ruby
08:52
* nakilon
can't decide to use some existing IRC bot gem or make the own one again
08:53
duderonomy has joined #ruby
08:53
<
nakilon >
the most popular according to the "Ruby toolbox" is 2 years old
08:56
gearnode has joined #ruby
09:05
stdedos has quit [Quit: Connection closed]
09:36
NL3limin4t0r_afk is now known as NL3limin4t0r
09:37
crankharder has joined #ruby
09:38
jla has quit [Ping timeout: 246 seconds]
09:42
crankharder has quit [Ping timeout: 240 seconds]
09:44
<
NL3limin4t0r >
AndreYuhai: generally speaking: composition > inheritance
09:49
<
AndreYuhai >
NL3limin4t0r, Thank you! Just reading that.
10:00
Rudd0 has joined #ruby
10:09
<
AndreYuhai >
phaul, Thank you :) Will watch that as well from the beginning. I like talks. :D
10:11
MalkbabY has quit [Remote host closed the connection]
10:12
MalkbabY has joined #ruby
10:16
gray-_-wolf has joined #ruby
10:16
al2o3-cr has joined #ruby
10:18
BSaboia has joined #ruby
10:20
CrazyEddy has quit [Quit: Reconnecting]
10:20
kozowu has joined #ruby
10:24
gray-_-wolf has quit [Quit: WeeChat 3.1]
10:24
gray-_-wolf has joined #ruby
10:38
TruffleP1mp has quit [Ping timeout: 240 seconds]
10:39
Technodrome has joined #ruby
11:01
m27frogy has joined #ruby
11:03
cliluw has joined #ruby
11:03
<
nakilon >
is stdlib Logger buffered?
11:05
TrufflePump has joined #ruby
11:06
explorier has quit [Ping timeout: 265 seconds]
11:07
cliluw has quit [Ping timeout: 240 seconds]
11:10
TrufflePump has quit [Ping timeout: 265 seconds]
11:11
TCZ has joined #ruby
11:11
TrufflePump has joined #ruby
11:16
TrufflePump has quit [Ping timeout: 240 seconds]
11:22
hiroaki has joined #ruby
11:25
jla has joined #ruby
11:27
TomyLobo has joined #ruby
11:31
Rudd0 has quit [Ping timeout: 265 seconds]
11:37
TruffleP1mp has joined #ruby
11:37
coniptor has quit [Ping timeout: 260 seconds]
11:37
crankharder has joined #ruby
11:41
coniptor has joined #ruby
11:41
crankharder has quit [Ping timeout: 240 seconds]
11:42
TruffleP1mp has quit [Ping timeout: 265 seconds]
11:45
crankharder has joined #ruby
11:47
<
nakilon >
should I assume that if the TCPSocket#send returned the connection isn't broken yet?
11:54
BSaboia has quit [Quit: This computer has gone to sleep]
11:57
blackmesa has joined #ruby
12:28
lockweel has joined #ruby
12:38
TruffleP1mp has joined #ruby
12:39
TCZ has quit [Quit: Dowidzenia]
12:40
gdonald has quit [Remote host closed the connection]
12:41
iNs_ has quit [Ping timeout: 240 seconds]
12:41
iNs has joined #ruby
12:42
gray-_-wolf has quit [Quit: WeeChat 3.1]
12:44
TruffleP1mp has quit [Ping timeout: 268 seconds]
12:46
gdonald has joined #ruby
12:53
<
AndreYuhai >
when creating gems, bundle add some_gem adds the dependency to Gemfile but we are supposed to add them to gemspec, at least that's what's told in Gemfile.
12:53
<
AndreYuhai >
Can we add the dependency to gemspec like we do with bundle add ?
12:53
<
AndreYuhai >
Without having to do it manually
12:55
<
adam12 >
AndreYuhai: No
13:02
<
AndreYuhai >
By the way when I build a gem and try to install it using gem install, when I try to use tab completion the terminal hangs. Anyone had the same issue? I don't remember happening that before.
13:03
<
AndreYuhai >
I mean for example I do gem install ./foo(Press TAB to complete) and it hangs until I co CTRL+C
13:12
cd has quit [Quit: cd]
13:36
weaksauce has quit [Ping timeout: 260 seconds]
13:41
elcuervo has quit [Read error: Connection reset by peer]
13:42
<
NL3limin4t0r >
AndreYuhai: When using bundler there is an option to load gems into the Gemfile from the .gemspec file. So you don't have to update the Gemfile each time, only the gemspec.
13:42
elcuervo has joined #ruby
13:43
<
NL3limin4t0r >
I don't know from the top of my head what this is, but it is present in the Gemfile if you generate your gem using `bundle gem <your_gem_name>`
13:45
<
NL3limin4t0r >
But there is no command to add gems to the .gemfile
13:46
jerome__ has quit [Ping timeout: 240 seconds]
13:46
supercoven has joined #ruby
13:46
supercoven has quit [Max SendQ exceeded]
13:47
supercoven has joined #ruby
13:47
supercoven has quit [Max SendQ exceeded]
13:47
<
nakilon >
I don't know why "bundle add" is even a thing
13:47
supercoven has joined #ruby
13:47
supercoven has quit [Max SendQ exceeded]
13:47
supercoven has joined #ruby
13:47
supercoven has quit [Max SendQ exceeded]
13:47
<
konsolebox >
AndreYuhai: See if you a completion that causes it with 'complete'.
13:47
supercoven has joined #ruby
13:47
supercoven has quit [Max SendQ exceeded]
13:48
<
nakilon >
essentially both .gemspec and Gemfile are a plain Ruby code
13:59
Mrgoose has joined #ruby
14:09
TorpedoSkyline has quit [Quit: Konversation terminated!]
14:10
TorpedoSkyline has joined #ruby
14:14
MalkbabY has quit [Remote host closed the connection]
14:15
MalkbabY has joined #ruby
14:30
jerome__ has joined #ruby
14:33
Xiti` has joined #ruby
14:35
Xiti has quit [Ping timeout: 240 seconds]
14:45
TCZ has joined #ruby
14:51
blackmesa has quit [Ping timeout: 258 seconds]
14:52
howdoi has joined #ruby
15:00
hiroaki has quit [Ping timeout: 246 seconds]
15:00
cd has joined #ruby
15:11
cesario has joined #ruby
15:11
hiroaki has joined #ruby
15:14
Mia has quit [Read error: Connection reset by peer]
15:19
cesario has quit [Read error: Connection reset by peer]
15:23
blackmesa has joined #ruby
15:23
ByronJohnson has quit [Ping timeout: 240 seconds]
15:27
Mia has joined #ruby
15:27
Mia has quit [Changing host]
15:27
Mia has joined #ruby
15:28
Mia has quit [Read error: Connection reset by peer]
15:28
blackmesa has quit [Ping timeout: 258 seconds]
15:29
ByronJohnson has joined #ruby
15:32
ChmEarl has joined #ruby
15:35
Mia has joined #ruby
15:35
Mia has joined #ruby
15:43
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:00
f3rno has quit [Quit: Idle for 30+ days]
16:00
Rudd0 has joined #ruby
16:01
Technodrome has joined #ruby
16:04
blackmesa has joined #ruby
16:05
TCZ has quit [Quit: Dowidzenia]
16:06
DTZUZU has joined #ruby
16:09
blackmesa has quit [Ping timeout: 246 seconds]
16:10
DTZUZU_ has quit [Ping timeout: 268 seconds]
16:32
AndreYuhai has quit [Ping timeout: 260 seconds]
16:49
blackmesa has joined #ruby
16:51
<
nakilon >
btw about net/http, what's the difference between post and post2?
17:04
cliluw has joined #ruby
17:09
explorier has joined #ruby
17:10
cliluw has quit [Ping timeout: 265 seconds]
17:11
BSaboia has joined #ruby
17:14
CrazyEddy has joined #ruby
17:15
explorier has quit [Ping timeout: 252 seconds]
17:20
TrufflePump has joined #ruby
17:20
explorier has joined #ruby
17:24
explorier has quit [Ping timeout: 246 seconds]
17:27
weaksauce has joined #ruby
17:28
crankharder has quit [Ping timeout: 265 seconds]
17:28
<
nakilon >
&>> ->{ next if 0 then 1 end }
17:29
<
nakilon >
I wish there was no syntax error, since I want to next((if ...))
17:41
<
phaul >
nakilon: are you trying to conditionally call next or are you trying to pass something to next based on a condition?
17:41
<
nakilon >
phaul neither; I just want to leave the block within the same code expression
17:42
<
nakilon >
instead of "if ... else ... end ; next"
17:42
<
nakilon >
(because it's all is in a case-when branch)
17:49
crankharder has joined #ruby
17:49
explorier has joined #ruby
17:53
landakram has joined #ruby
18:00
explorier has quit [Ping timeout: 240 seconds]
18:01
cliluw has joined #ruby
18:02
explorier has joined #ruby
18:05
blackmesa has quit [Ping timeout: 258 seconds]
18:13
explorier has quit [Ping timeout: 246 seconds]
18:13
sagax has joined #ruby
18:20
kozowu has quit [Quit: Connection closed for inactivity]
18:21
blackmesa has joined #ruby
18:22
explorier has joined #ruby
18:25
MalkbabY has quit [Remote host closed the connection]
18:25
jerome__ has quit [Quit: Leaving]
18:26
MalkbabY has joined #ruby
18:29
jla has quit [Ping timeout: 240 seconds]
18:37
cesario has joined #ruby
18:39
cesario has quit [Read error: Connection reset by peer]
18:41
blackmesa1 has joined #ruby
18:41
BSaboia has quit [Quit: This computer has gone to sleep]
18:44
blackmesa has quit [Ping timeout: 245 seconds]
18:46
swaggboi has quit [Remote host closed the connection]
18:47
DTZUZU_ has joined #ruby
18:49
swaggboi has joined #ruby
18:50
DTZUZU has quit [Ping timeout: 252 seconds]
18:57
crankharder has quit [Ping timeout: 240 seconds]
18:58
crankharder has joined #ruby
19:01
duderonomy has joined #ruby
19:02
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:11
cliluw has quit [Ping timeout: 246 seconds]
19:13
_aeris_ has quit [Remote host closed the connection]
19:13
_aeris_ has joined #ruby
19:14
blackmesa1 has quit [Ping timeout: 258 seconds]
19:16
robotbee has joined #ruby
19:18
blackmesa1 has joined #ruby
19:29
Mia has quit [Read error: Connection reset by peer]
19:31
Mia has joined #ruby
19:31
Mia has joined #ruby
19:35
Axy has joined #ruby
19:38
explorier has quit [Ping timeout: 240 seconds]
19:38
Mia has quit [Ping timeout: 240 seconds]
19:40
cliluw has joined #ruby
19:54
evdubs has quit [Remote host closed the connection]
19:55
evdubs has joined #ruby
20:01
explorier has joined #ruby
20:14
NaughtyDragon has joined #ruby
20:31
shtirlic has quit [Ping timeout: 265 seconds]
20:33
NaughtyDragon has quit [Quit: -a- IRC for Android 2.1.59]
20:35
envex has joined #ruby
20:45
TCZ has joined #ruby
20:55
DTZUZU_ has quit [Read error: Connection reset by peer]
21:04
<
CustosLimen >
hi, does ruby have something like pydoc (i.e. man for ruby)
21:04
<
CustosLimen >
so I could do SOMETHING logger
21:04
<
CustosLimen >
and get docs for logger
21:04
<
havenwood >
CustosLimen: ri
21:04
<
havenwood >
CustosLimen: man 1 ri
21:05
<
CustosLimen >
great, thanks
21:06
<
CustosLimen >
hmm, my ri does not know about anything
21:07
<
CustosLimen >
ri -l is empty
21:07
<
havenwood >
CustosLimen: gem rdoc --all --ri
21:07
<
havenwood >
CustosLimen: How'd you install Ruby?
21:09
<
CustosLimen >
from OS
21:09
<
havenwood >
CustosLimen: Which package manager?
21:09
<
havenwood >
CustosLimen: You may need to install a ruby-doc package.
21:09
<
CustosLimen >
yes, I do, installed it now
21:09
<
CustosLimen >
thanks
21:09
neshpion has joined #ruby
21:10
<
havenwood >
CustosLimen: If it's apt, just install ruby-full
21:10
<
havenwood >
(ri tk, ruby and ruby-dev)
21:10
<
CustosLimen >
for fedora: dnf install -y ruby-doc
21:11
<
havenwood >
CustosLimen: I'm on Fedora now. I guess wrong. :)
21:11
<
havenwood >
guessed*
21:12
explorier has quit [Ping timeout: 240 seconds]
21:14
Technodrome has joined #ruby
21:14
explorier has joined #ruby
21:21
crankharder has quit [Ping timeout: 240 seconds]
21:25
superscott has joined #ruby
21:29
DTZUZU has joined #ruby
21:29
DTZUZU has quit [Client Quit]
21:30
DTZUZU has joined #ruby
21:34
canton7 has joined #ruby
21:35
<
scriptonaut >
for some reason when I run bundle update, it's asking me for a sudo password and trying to install to the system ruby. I'm using rbenv, I've confirmed my executable for ruby is in rbenv. Any idea why it would do that?
21:35
<
scriptonaut >
or is there a way to force bundler to use rbenv?
21:39
<
havenwood >
scriptonaut: Is bundler installed?
21:39
<
havenwood >
scriptonaut: For the Ruby you're using?
21:39
<
scriptonaut >
yes, this is an established project, it's weird
21:39
<
havenwood >
scriptonaut: Which version of Ruby?
21:39
<
scriptonaut >
1.8.7
21:40
<
scriptonaut >
(trust me I knonw)
21:40
<
scriptonaut >
know*
21:40
<
scriptonaut >
when I do `which bundler`, it's in the .rbenv/shims dir
21:40
<
havenwood >
What do you get for?
21:40
<
havenwood >
head -n 1 "$(command -v bundle)"
21:40
<
scriptonaut >
#!/usr/bin/env bash
21:41
<
havenwood >
is it a shim for system Ruby? check out that file?
21:41
<
havenwood >
cat "$(command -v bundle)"
21:41
<
scriptonaut >
command -v bundle gives me: /home/caiden/.rbenv/shims/bundle
21:41
<
havenwood >
What's in that shim?
21:41
<
scriptonaut >
that's kinda weird
21:41
<
havenwood >
Look right?
21:42
<
havenwood >
scriptonaut: rbenv rehash
21:42
<
scriptonaut >
already tried that
21:42
<
havenwood >
I dunno rbenv, but usually rehash. :P
21:42
<
havenwood >
scriptonaut: I'd just inspect that shim closely.
21:42
<
scriptonaut >
ya I rehashed, it's weird
21:42
<
havenwood >
scriptonaut: What's in the shim?
21:42
<
scriptonaut >
it's a bash script, it is pointing to my .rbenv/libexec/rbenv
21:43
<
havenwood >
scriptonaut: The natural progression is RVM -> rbenv -> chruby, so you could just move along to the next step.
21:43
<
havenwood >
scriptonaut: Look at the shebang line of the gem that the sim points to.
21:44
<
scriptonaut >
I use chruby personally havenwood
21:44
<
scriptonaut >
my work uses rbenv
21:44
<
havenwood >
scriptonaut: my work uses RVM
21:44
<
scriptonaut >
ya, I don't like either, chruby with ruby-build (or is it ruby-install) is my go to
21:44
<
scriptonaut >
much less weird stuff happening
21:45
<
havenwood >
scriptonaut: Okay, how about this?
21:45
<
havenwood >
head -n 1 "$(gem env gemdir)/bin/bundle"
21:46
<
havenwood >
I'm super suspicious about the shebang line of `bundle` executable.
21:46
<
scriptonaut >
says cannot open, no such file or dir
21:47
<
havenwood >
scriptonaut: Seems like Bundler isn't installed...
21:47
<
havenwood >
scriptonaut: What is?: gem env gemdir
21:47
<
havenwood >
scriptonaut: Sanity check?: gem install bundler
21:48
<
havenwood >
Obviously rbenv has a shim for it, but...
21:48
<
scriptonaut >
oh weird what the hell, my bundler executable is located in another user's .rbenv dir
21:48
<
scriptonaut >
my boss's
21:48
<
scriptonaut >
I've never seen that
21:48
<
havenwood >
good stuff
21:48
<
scriptonaut >
ok this is an entirely different issue I'm gonna talk to my coworkers, thanks for helping
21:49
TCZ has quit [Quit: Dowidzenia]
21:53
shokohsc has quit [Ping timeout: 240 seconds]
21:54
crankharder has joined #ruby
21:55
shokohsc has joined #ruby
21:59
crankharder has quit [Ping timeout: 240 seconds]
22:00
ruby[bot] has quit [Remote host closed the connection]
22:00
ruby[bot] has joined #ruby
22:07
TrufflePump has quit [Ping timeout: 260 seconds]
22:17
lockweel has quit [Quit: Leaving]
22:17
cd has quit [Quit: cd]
22:22
crankharder has joined #ruby
22:23
TrufflePump has joined #ruby
22:28
crankharder has quit [Ping timeout: 268 seconds]
22:29
blackmesa1 has quit [Ping timeout: 250 seconds]
22:32
crankharder has joined #ruby
22:34
DTZUZU_ has joined #ruby
22:34
TCZ has joined #ruby
22:36
DTZUZU has quit [Ping timeout: 240 seconds]
22:37
crankharder has quit [Ping timeout: 246 seconds]
22:40
MalkbabY has quit [Remote host closed the connection]
22:41
MalkbabY has joined #ruby
22:43
cliluw has quit [Ping timeout: 240 seconds]
22:44
cliluw has joined #ruby
22:48
explorier has quit [Ping timeout: 240 seconds]
22:50
explorier has joined #ruby
22:52
Vingador has joined #ruby
22:55
explorier has quit [Ping timeout: 260 seconds]
22:56
Vingador has quit [Read error: Connection reset by peer]
22:59
blackmesa1 has joined #ruby
23:09
blackmesa1 has quit [Ping timeout: 250 seconds]
23:12
crankharder has joined #ruby
23:14
explorier has joined #ruby
23:16
crankharder has quit [Ping timeout: 240 seconds]
23:22
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:25
tpanarch1st has quit [Quit: Thanks for your help, nice to see you, take care.]
23:35
Vingador has joined #ruby
23:37
explorier has quit [Ping timeout: 240 seconds]
23:37
cliluw has quit [Ping timeout: 265 seconds]
23:38
TomyLobo has quit [Read error: Connection reset by peer]
23:45
DTZUZU has joined #ruby
23:47
DTZUZU_ has quit [Ping timeout: 240 seconds]