00:00
t0xik has joined #ruby
00:03
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:04
jenrzzz has joined #ruby
00:08
i1nfusion has quit [Remote host closed the connection]
00:08
akem has quit [Ping timeout: 250 seconds]
00:09
jenrzzz has quit [Ping timeout: 246 seconds]
00:09
i1nfusion has joined #ruby
00:17
Puffball has quit [Remote host closed the connection]
00:17
i1nfusion has quit [Remote host closed the connection]
00:18
i1nfusion has joined #ruby
00:19
Axy has joined #ruby
00:22
evdubs has joined #ruby
00:22
Mia has quit [Ping timeout: 255 seconds]
00:26
Mia has joined #ruby
00:27
Dirak has quit [Ping timeout: 255 seconds]
00:29
Axy has quit [Ping timeout: 250 seconds]
00:30
orbyt_ has joined #ruby
00:31
m27frogy has quit [Ping timeout: 250 seconds]
00:34
kapil____ has joined #ruby
00:36
dinfuehr has quit [Ping timeout: 255 seconds]
00:44
tdy has quit [Ping timeout: 246 seconds]
00:47
dinfuehr has joined #ruby
00:52
jenrzzz has joined #ruby
00:55
gix has quit [Ping timeout: 255 seconds]
00:56
doodlebug has quit [Remote host closed the connection]
00:58
d10n-work has quit [Quit: Connection closed for inactivity]
00:58
xall has joined #ruby
01:01
<
xall >
What is considered more idiomatic for taking a slice of an Array: array[0..idx] OR array.slice(0..idx) ?
01:06
_whitelogger has joined #ruby
01:07
SeepingN has quit [Quit: The system is going down for reboot NOW!]
01:10
cthu| has joined #ruby
01:10
Tempesta_ has joined #ruby
01:11
rf` has joined #ruby
01:11
agit0 has joined #ruby
01:12
cthulchu_ has quit [Read error: Connection reset by peer]
01:12
Tempesta has quit [Read error: Connection reset by peer]
01:12
fmccann has joined #ruby
01:12
gb_away has quit [Ping timeout: 245 seconds]
01:12
Lyubo1 has quit [Ping timeout: 245 seconds]
01:12
Psy-Q has quit [Ping timeout: 245 seconds]
01:12
rubydoc has quit [Remote host closed the connection]
01:12
havenwood has joined #ruby
01:12
havenwood has quit [Changing host]
01:12
havenwood has joined #ruby
01:12
rubydoc has joined #ruby
01:13
DTZUZU has quit [Ping timeout: 245 seconds]
01:14
gb_away has joined #ruby
01:14
<
adam12 >
xall: Array.slice is likely more intent revealing if you're going for that.
01:14
zenspider has quit [Ping timeout: 246 seconds]
01:14
akosednar has quit [Ping timeout: 246 seconds]
01:14
daemonwrangler_ has quit [Ping timeout: 246 seconds]
01:14
dar123 has joined #ruby
01:15
ricer2 has quit [Ping timeout: 246 seconds]
01:15
c0san0stra has quit [Ping timeout: 246 seconds]
01:15
ricer2 has joined #ruby
01:16
Psy-Q has joined #ruby
01:16
agit0 has quit [Ping timeout: 246 seconds]
01:16
d^sh has quit [Ping timeout: 255 seconds]
01:17
zenspider has joined #ruby
01:17
akosednar has joined #ruby
01:17
Lyubo1 has joined #ruby
01:17
d^sh has joined #ruby
01:17
tdy has joined #ruby
01:17
akosednar has quit [Changing host]
01:17
akosednar has joined #ruby
01:17
daemonwrangler has joined #ruby
01:18
c0san0stra has joined #ruby
01:18
tdy has quit [Read error: error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac]
01:19
<
xall >
adam12: Thanks. I agree
01:21
tdy has joined #ruby
01:30
uranoss has joined #ruby
01:37
Dirak has joined #ruby
01:40
DTZUZU has joined #ruby
01:43
Axy has joined #ruby
01:45
blaguvest has quit [Quit: Leaving]
01:45
Mia has quit [Ping timeout: 245 seconds]
01:53
raul782 has joined #ruby
01:55
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:56
duderonomy has joined #ruby
02:07
wald0 has quit [Quit: Lost terminal]
02:11
mangold has joined #ruby
02:12
teej has quit [Quit: Connection closed for inactivity]
02:17
esrse has joined #ruby
02:25
hoffentl1chja has joined #ruby
02:28
hoffentlichja has quit [Ping timeout: 264 seconds]
02:37
sp3ncer has joined #ruby
02:39
znz_jp has quit [Remote host closed the connection]
02:41
DmitryBochkarev has joined #ruby
02:44
znz_jp has joined #ruby
02:46
mangold has quit [Quit: This computer has gone to sleep]
02:54
doodlebug has joined #ruby
02:56
fredolinhares has quit [Quit: WeeChat 1.9.1]
03:00
dar123 has joined #ruby
03:05
braincrash has quit [Quit: bye bye]
03:09
Puffball has joined #ruby
03:09
mangold has joined #ruby
03:09
braincrash has joined #ruby
03:10
jenrzzz has quit [Read error: Connection reset by peer]
03:11
jenrzzz has joined #ruby
03:18
_whitelogger has joined #ruby
03:20
DmitryBochkarev has quit [Ping timeout: 268 seconds]
03:24
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:25
CommanderViral has joined #ruby
03:27
jenrzzz has quit [Ping timeout: 255 seconds]
03:27
mangold has quit [Quit: This computer has gone to sleep]
03:32
raul782 has quit [Remote host closed the connection]
03:33
raul782 has joined #ruby
03:33
CommanderViral has joined #ruby
03:34
raul782 has quit [Remote host closed the connection]
03:34
raul782 has joined #ruby
03:40
violentE has quit [Ping timeout: 268 seconds]
03:56
xall has quit [Ping timeout: 245 seconds]
04:00
uranoss has quit [Quit: Connection closed for inactivity]
04:01
jenrzzz has joined #ruby
04:06
houhoulis has quit [Remote host closed the connection]
04:13
ur5us_ has quit [Ping timeout: 245 seconds]
04:18
ur5us has joined #ruby
04:19
m27frogy has joined #ruby
04:22
brool has quit [Ping timeout: 250 seconds]
04:25
imadper has joined #ruby
04:26
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:27
ur5us has quit [Read error: Connection reset by peer]
04:28
ur5us has joined #ruby
04:31
starseed0000 has joined #ruby
04:42
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:43
DmitryBochkarev has joined #ruby
04:46
code_zombie has quit [Quit: Leaving]
04:46
ur5us has quit [Remote host closed the connection]
04:47
ur5us has joined #ruby
04:51
ur5us has quit [Ping timeout: 245 seconds]
04:53
dar123 has joined #ruby
04:53
symm- has joined #ruby
05:00
Inline has quit [Quit: Leaving]
05:00
Swyper has quit [Remote host closed the connection]
05:00
ferr has joined #ruby
05:02
mangold has joined #ruby
05:03
Swyper has joined #ruby
05:13
zlogan has joined #ruby
05:14
symm- has quit [Ping timeout: 246 seconds]
05:15
conta has joined #ruby
05:15
sauvin has joined #ruby
05:19
t0xik has quit [Quit: Connection closed for inactivity]
05:22
tau has quit [Quit: kk]
05:24
raul782 has quit [Remote host closed the connection]
05:24
Swyper has quit [Remote host closed the connection]
05:30
zlogan has quit [Read error: Connection reset by peer]
05:30
jcarl43 has quit [Quit: WeeChat 2.4]
05:31
Mario60333 has joined #ruby
05:35
raul782 has joined #ruby
05:37
raul782 has quit [Client Quit]
05:38
moei has joined #ruby
05:42
_whitelogger has joined #ruby
05:45
v01d4lph4 has joined #ruby
05:45
v01d4lph4 has quit [Read error: Connection reset by peer]
05:46
v01d4lph4 has joined #ruby
05:52
Dbugger has joined #ruby
05:54
moei has quit [Quit: Leaving...]
05:55
reber has joined #ruby
05:56
govg has joined #ruby
05:58
Dbugger has quit [Quit: Leaving]
05:59
Dbugger has joined #ruby
06:05
schleppel has joined #ruby
06:10
dionysus69 has joined #ruby
06:11
Ai9zO5AP has joined #ruby
06:12
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:13
aufi has joined #ruby
06:16
ur5us has joined #ruby
06:17
starseed0000 has quit [Ping timeout: 245 seconds]
06:19
Puffball has quit [Ping timeout: 250 seconds]
06:19
Puffball_ has joined #ruby
06:20
ur5us has quit [Ping timeout: 245 seconds]
06:20
govg has quit [Ping timeout: 255 seconds]
06:22
mangold has quit [Quit: This computer has gone to sleep]
06:26
mangold has joined #ruby
06:27
Furai has quit [Quit: WeeChat 2.4]
06:27
teej has joined #ruby
06:28
hightower2 has joined #ruby
06:29
Furai has joined #ruby
06:30
hightower2 has quit [Changing host]
06:30
hightower2 has joined #ruby
06:30
ellcs1 has joined #ruby
06:38
doodlebug has quit [Ping timeout: 255 seconds]
06:42
bambanx has quit [Quit: Leaving]
06:49
mangold has quit [Quit: This computer has gone to sleep]
06:50
doodlebug has joined #ruby
06:52
segy has joined #ruby
06:59
skarlso has joined #ruby
07:00
v01d4lph4 has quit [Remote host closed the connection]
07:00
nowhere_man has quit [Ping timeout: 258 seconds]
07:08
dionysus69 has quit [Ping timeout: 246 seconds]
07:09
imadper has quit [Remote host closed the connection]
07:11
clemens3 has joined #ruby
07:12
v01d4lph4 has joined #ruby
07:12
Mario60333 has quit [Ping timeout: 246 seconds]
07:15
shortdudey123 has quit [Ping timeout: 245 seconds]
07:17
TomyWork has joined #ruby
07:17
shortdudey123 has joined #ruby
07:24
aupadhye has joined #ruby
07:26
briarcliff has joined #ruby
07:30
_whitelogger has joined #ruby
07:34
lxsameer has joined #ruby
07:35
dionysus69 has joined #ruby
07:41
Ai9zO5AP has quit [Ping timeout: 250 seconds]
07:45
moei has joined #ruby
07:45
jmcgnh has quit [Read error: Connection reset by peer]
07:49
jmcgnh has joined #ruby
07:59
mikecmpbll has joined #ruby
07:59
kyrylo has joined #ruby
08:00
kapil____ has quit [Quit: Connection closed for inactivity]
08:10
ellcs1 has quit [Ping timeout: 246 seconds]
08:17
imadper has joined #ruby
08:19
AndreYuhai has quit [Remote host closed the connection]
08:24
v01d4lph4 has quit [Ping timeout: 255 seconds]
08:25
v01d4lph4 has joined #ruby
08:32
briarcliff has quit [Quit: briarcliff]
08:33
briarcliff has joined #ruby
08:34
ellcs1 has joined #ruby
08:38
chrissofer255 has joined #ruby
08:38
claw has joined #ruby
08:39
aqd has quit [Remote host closed the connection]
08:39
cdr255 has quit [Ping timeout: 250 seconds]
08:41
segy has joined #ruby
08:51
jinie has joined #ruby
08:52
ur5us has joined #ruby
08:55
briarcliff has quit [Ping timeout: 240 seconds]
09:01
dhollin3 has joined #ruby
09:01
dhollinger has quit [Read error: Connection reset by peer]
09:11
briarcliff has joined #ruby
09:33
ur5us has quit [Read error: Connection reset by peer]
09:33
ur5us has joined #ruby
09:33
Mario60333 has joined #ruby
09:35
Caerus has quit [Ping timeout: 244 seconds]
09:46
Caerus has joined #ruby
09:47
Dirak has quit [Ping timeout: 250 seconds]
09:48
v01d4lph4 has quit [Ping timeout: 245 seconds]
09:49
Nicmavr has quit [Read error: Connection reset by peer]
09:51
Nicmavr has joined #ruby
09:53
v01d4lph4 has joined #ruby
09:57
v01d4lph4 has quit [Ping timeout: 255 seconds]
09:59
ur5us has quit [Remote host closed the connection]
09:59
ur5us has joined #ruby
10:01
conta has quit [Ping timeout: 245 seconds]
10:02
v01d4lph4 has joined #ruby
10:02
sidx64_ has joined #ruby
10:03
ellcs1 has quit [Ping timeout: 245 seconds]
10:04
ur5us has quit [Ping timeout: 255 seconds]
10:06
tdy has quit [Ping timeout: 246 seconds]
10:07
v01d4lph4 has quit [Ping timeout: 268 seconds]
10:08
RougeR has joined #ruby
10:10
jenrzzz has quit [Ping timeout: 268 seconds]
10:12
conta has joined #ruby
10:16
briarcliff has quit [Quit: briarcliff]
10:16
v01d4lph4 has joined #ruby
10:18
sidx64_ has quit [Ping timeout: 246 seconds]
10:20
sidx64 has joined #ruby
10:24
Mario60333 has quit [Ping timeout: 255 seconds]
10:24
* keden
waves at RougeR
10:30
<
skarlso >
hi everyone.
10:30
<
skarlso >
I was wondering if someone also faced this problem.... :)
10:30
<
skarlso >
I have a bundler install and I need to use a specific ruby version. I don't / can't have/use rvm...
10:31
<
skarlso >
The only ways I saw were to either hack a PATH with a ruby binary. ( this is not so good since the binary is not called ruby it's called ruby2.5 )
10:32
<
skarlso >
Or edit the installed bundler's shebang to be not be `#!/usr/bin/env ruby` but rather `#!/usr/bin/env ruby2.5`.
10:32
<
skarlso >
Which is not a nice option either... :/ Is there anything else I might be missing that could be done in a case like this?
10:32
<
skarlso >
I cannot change system ruby.
10:32
<
skarlso >
That's not an option. :(
10:33
<
skarlso >
fyi,system ruby is old as dirt... that's why I need to avoid it but can't change it
10:36
AJA4350 has joined #ruby
10:45
briarcliff has joined #ruby
10:46
<
RougeR >
skarlso, is rbenv an option
10:47
<
RougeR >
its much less invasive than rvm
10:47
<
skarlso >
I don't know rbenv.
10:47
<
skarlso >
Thanks, let me look it up. :)
10:47
<
RougeR >
it just adds shims to the path rather than overwriting various system methods
10:47
<
RougeR >
i far prefer it
10:48
<
RougeR >
even if its not an option. have a look how it works
10:48
<
skarlso >
Looks very promising!
10:48
<
skarlso >
Thank you. :)
10:48
<
skarlso >
that might just get me out of this ditch
10:48
<
RougeR >
good to hear, have a go with that. i recently swapped to it from RVM
10:49
<
RougeR >
so if you run into issues might be able to help
10:49
<
skarlso >
excellent
10:49
<
skarlso >
Thanks! I'll have a go with it. :)
10:52
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:55
Ai9zO5AP has joined #ruby
11:01
sidx64 has quit [Ping timeout: 245 seconds]
11:02
sidx64_ has joined #ruby
11:09
akem has joined #ruby
11:18
ryouba has joined #ruby
11:19
symm- has joined #ruby
11:19
briarcliff has quit [Quit: briarcliff]
11:20
apparition has joined #ruby
11:21
<
ryouba >
in str = "DamaskusLibAssad_1980Hafiz_1", with possibly more stuff after the second _ (even possibly more underscores), do you think "*firsttwo, anythingafter = str.split '_'; firsttwo = firsttwo.join('_');" is the safest way of splitting at the second _?
11:23
<
phaul >
no, that's broken
11:24
<
phaul >
&>> *a, b = [1,2,3,4,5,6] ; a
11:24
<
ryouba >
but your input data is completely different from my input data.
11:25
<
phaul >
but it demonstrates that if you splat the first var, then it can eat more than two array element
11:26
<
phaul >
&>> a, b, * c = [10,20,3,4,5,6] ; a + b
11:27
<
ryouba >
thank you phaul :)
11:32
sidx64_ has quit [Read error: Connection reset by peer]
11:35
ellcs1 has joined #ruby
11:35
v01d4lph4 has quit [Remote host closed the connection]
11:37
v01d4lph4 has joined #ruby
11:42
ldnunes has joined #ruby
11:42
hightower3 has joined #ruby
11:43
mangold has joined #ruby
11:46
hightower2 has quit [Ping timeout: 250 seconds]
11:47
symm- has quit [Ping timeout: 250 seconds]
12:04
esrse has quit [Ping timeout: 246 seconds]
12:05
jenrzzz has joined #ruby
12:10
jenrzzz has quit [Ping timeout: 244 seconds]
12:13
hightower3 has quit [Changing host]
12:13
hightower3 has joined #ruby
12:15
symm- has joined #ruby
12:16
doodleb25 has joined #ruby
12:19
Swyper has joined #ruby
12:19
doodlebug has quit [Ping timeout: 245 seconds]
12:20
lucasb has joined #ruby
12:22
cd has quit [Quit: cd]
12:25
griffindy has joined #ruby
12:27
v01d4lph4 has quit [Remote host closed the connection]
12:28
v01d4lph4 has joined #ruby
12:33
v01d4lph4 has quit [Ping timeout: 258 seconds]
12:34
Ai9zO5AP has quit [Ping timeout: 245 seconds]
12:36
Ai9zO5AP has joined #ruby
12:37
symm- has quit [Ping timeout: 244 seconds]
12:38
v01d4lph4 has joined #ruby
12:39
v01d4lph4 has quit [Read error: Connection reset by peer]
12:40
v01d4lph4 has joined #ruby
12:40
v01d4lph4 has joined #ruby
12:40
v01d4lph4 has quit [Read error: Connection reset by peer]
12:41
v01d4lph4 has joined #ruby
12:41
catbusters has joined #ruby
12:41
v01d4lph4 has quit [Read error: Connection reset by peer]
12:41
v01d4lph4 has joined #ruby
12:42
v01d4lph4 has quit [Read error: Connection reset by peer]
12:42
v01d4lph4 has joined #ruby
12:47
prestorium has joined #ruby
12:47
prestorium has quit [Client Quit]
12:47
prestorium has joined #ruby
13:01
AJA4350 has quit [Remote host closed the connection]
13:03
doodleb25 has quit [Read error: Connection reset by peer]
13:03
doodlebug has joined #ruby
13:05
Ai9zO5AP has quit [Ping timeout: 268 seconds]
13:06
mikecmpbll has quit [Remote host closed the connection]
13:07
Ai9zO5AP has joined #ruby
13:11
doodleb0 has joined #ruby
13:11
doodlebug has quit [Read error: Connection reset by peer]
13:15
doodlebug has joined #ruby
13:17
doodleb0 has quit [Ping timeout: 245 seconds]
13:18
AJA4350 has joined #ruby
13:23
v01d4lph4 has quit [Remote host closed the connection]
13:24
v01d4lph4 has joined #ruby
13:27
UncleCid__ has joined #ruby
13:30
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
13:33
shtirlic has joined #ruby
13:35
dhollin3 is now known as dhollinger
13:40
dar123 has joined #ruby
13:55
segy has joined #ruby
13:56
emilford has quit [Quit: Lost terminal]
13:57
Rapture has joined #ruby
14:00
vondruch_ has joined #ruby
14:02
conta has quit [Ping timeout: 245 seconds]
14:03
vondruch has quit [Ping timeout: 268 seconds]
14:03
vondruch_ is now known as vondruch
14:04
i1nfusion has quit [Remote host closed the connection]
14:05
i1nfusion has joined #ruby
14:06
jenrzzz has joined #ruby
14:06
ellcs1 has quit [Ping timeout: 255 seconds]
14:10
jenrzzz has quit [Ping timeout: 245 seconds]
14:12
brool has joined #ruby
14:14
apparition has quit [Quit: Bye]
14:14
i1nfusion has quit [Remote host closed the connection]
14:16
v01d4lph4 has quit [Remote host closed the connection]
14:25
i1nfusion has joined #ruby
14:25
conta has joined #ruby
14:34
Arkentias has joined #ruby
14:34
kyrylo has joined #ruby
14:36
<
Arkentias >
Hello guys! Given a multi-dimensional JSON object, I would want to get the list of all the "dead-end" attributes in dot notation. A dead-end attribute being one that is not an object or array (only objects in my case).
14:36
<
Arkentias >
So for example this : { "breadcrumb": { "accueil": "Home" }, "donate_form_block": { "type_text": "Text" } }
14:37
<
Arkentias >
Would just give me : ["breadcrumb.accueil","donate_form_block.type_text"]
14:37
<
Arkentias >
(Sorry I meant dead-end attribute's KEYS)
14:39
<
Arkentias >
It can't be that hard but I wonder if there is a "clean" way to do that and avoid manually looping over everything
14:42
<
Arkentias >
I guess I'll just make a recursive function
14:43
<
bougyman >
That's what I was just about to say
14:43
<
bougyman >
You have to keep doing an #each_key.map onto the arrays so long as the obj responds to #each_key, and just add on to the arrays. At the end, just join the array strings on dots.
14:44
<
bougyman >
[2] pry(main)> s = { "breadcrumb": { "accueil": "Home" }, "donate_form_block": { "type_text": "Text" } }
14:44
<
bougyman >
=> {:breadcrumb=>{:accueil=>"Home"}, :donate_form_block=>{:type_text=>"Text"}}
14:44
<
bougyman >
[3] pry(main)> s.each_key.map { |k| a = [k]; next a unless s[k].respond_to? :key?; s[k].each_key { |ik| a << ik }; a }.map { |arr| arr.map(&:to_s).join('.') }
14:44
<
bougyman >
=> ["breadcrumb.accueil", "donate_form_block.type_text"]
14:44
<
bougyman >
like that, but recursively
14:45
<
Arkentias >
Thanks! I'll look into that then :)
14:51
crankharder has quit [Ping timeout: 255 seconds]
14:51
gix has joined #ruby
14:54
wallace has joined #ruby
14:55
wallace has quit [Client Quit]
14:55
wallace has joined #ruby
14:56
crankharder has joined #ruby
14:56
wallace has quit [Client Quit]
14:56
wallace has joined #ruby
14:56
wallace has quit [Client Quit]
14:56
wallace has joined #ruby
14:57
wallace has quit [Client Quit]
14:59
wallace_mu has joined #ruby
15:00
spacesuitdiver has joined #ruby
15:02
Pankoek has joined #ruby
15:02
Arkentias has quit [Remote host closed the connection]
15:02
wallace_mu has quit [Client Quit]
15:03
wallace has joined #ruby
15:03
crankharder has quit [Ping timeout: 255 seconds]
15:03
wallace has quit [Client Quit]
15:04
wallace_mu has joined #ruby
15:04
houhoulis has joined #ruby
15:05
wallace_mu has quit [Client Quit]
15:05
wallace_mu has joined #ruby
15:05
prestori_ has joined #ruby
15:05
crankharder has joined #ruby
15:05
wallace_mu has quit [Client Quit]
15:05
wallace_mu has joined #ruby
15:06
i1nfusion has quit [Remote host closed the connection]
15:06
wallace_mu has quit [Client Quit]
15:07
prestorium has quit [Read error: Connection reset by peer]
15:07
wallace_mu has joined #ruby
15:08
Swyper has quit [Remote host closed the connection]
15:08
wallace_mu has quit [Client Quit]
15:08
i1nfusion has joined #ruby
15:08
wallace_mu has joined #ruby
15:09
wallace_mu has left #ruby [#ruby]
15:11
catbusters has quit [Quit: Connection closed for inactivity]
15:12
Swyper has joined #ruby
15:13
aufi has quit [Remote host closed the connection]
15:13
mangold has quit [Quit: This computer has gone to sleep]
15:14
tdy has joined #ruby
15:14
dionysus70 has joined #ruby
15:15
aufi has joined #ruby
15:17
orbyt_ has joined #ruby
15:18
i1nfusion has quit [Remote host closed the connection]
15:19
tdy has quit [Ping timeout: 250 seconds]
15:20
wallace_mu has joined #ruby
15:22
polishdub has joined #ruby
15:24
tdy has joined #ruby
15:26
wallace_mu has quit []
15:26
crankharder has quit [Ping timeout: 250 seconds]
15:26
wallace_mu has joined #ruby
15:29
wallace_mu has quit [Client Quit]
15:29
wallace_mu has joined #ruby
15:32
wallace_mu has quit [Client Quit]
15:33
wallace_mu has joined #ruby
15:33
rippa has joined #ruby
15:37
i1nfusion has joined #ruby
15:38
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:42
aufi has quit [Ping timeout: 250 seconds]
15:43
Pankoek has quit [Quit: Leaving]
15:47
crankharder has joined #ruby
15:48
<
skarlso >
RougeR it ended up being a lot easier
15:49
<
RougeR >
skarlso, rbenv worked for you?
15:49
<
skarlso >
I can call bundle with `/usr/bin/ruby2.5 bundle env` which will use the correct version of Ruby and the correct path and gem file locations.
15:49
<
skarlso >
I mean the bundle that was installed
15:49
<
RougeR >
nice, glad that is working
15:49
ferr has quit [Quit: WeeChat 2.4]
15:50
<
skarlso >
Yeah it was awesome cause I stole that idea from rbenv
15:50
<
RougeR >
im still trying to get sinatra to work with AR 5.X
15:50
<
RougeR >
yeah thats basically how rbenv works. just shims the paths
15:51
<
skarlso >
Using all these versions is so annoying
15:51
<
skarlso >
And frustrating
15:59
terabytes has quit [Quit: Connection closed for inactivity]
16:02
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:04
aupadhye has quit [Ping timeout: 250 seconds]
16:06
jenrzzz has joined #ruby
16:06
conta has quit [Quit: conta]
16:08
orbyt_ has joined #ruby
16:10
jenrzzz has quit [Ping timeout: 244 seconds]
16:13
orbyt_ has quit [Read error: Connection reset by peer]
16:14
Inline has joined #ruby
16:14
starseed0000 has joined #ruby
16:14
orbyt_ has joined #ruby
16:16
prestori_ has quit [Quit: prestori_]
16:17
TomyWork has quit [Ping timeout: 246 seconds]
16:24
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:25
jcarl43 has joined #ruby
16:26
orbyt_ has joined #ruby
16:27
Swyper has quit [Remote host closed the connection]
16:29
Swyper has joined #ruby
16:35
DmitryBochkarev has quit [Ping timeout: 250 seconds]
16:38
i1nfusion has quit [Remote host closed the connection]
16:38
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:39
clemens3 has quit [Ping timeout: 258 seconds]
16:39
i1nfusion has joined #ruby
16:44
azizLIGHT has quit [Ping timeout: 246 seconds]
16:45
TiN has left #ruby ["Leaving"]
16:46
Cthulu201 has quit [Quit: Nowhere special. I always wanted to go there.]
16:47
symm- has joined #ruby
16:48
crankharder has quit [Ping timeout: 250 seconds]
16:51
RougeR has quit [Ping timeout: 245 seconds]
16:52
tau has joined #ruby
16:55
azizLIGHT has joined #ruby
16:55
ravenousmoose has joined #ruby
16:56
Cthulu201 has joined #ruby
17:02
ldnunes has quit [Quit: Leaving]
17:03
dionysus70 has quit [Ping timeout: 255 seconds]
17:10
ldnunes has joined #ruby
17:14
conta has joined #ruby
17:17
m27frogy has quit [Ping timeout: 255 seconds]
17:17
DmitryBochkarev has joined #ruby
17:27
dar123 has joined #ruby
17:32
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:32
DmitryBochkarev has quit [Ping timeout: 250 seconds]
17:32
lxsameer has quit [Ping timeout: 268 seconds]
17:41
DmitryBochkarev has joined #ruby
17:42
nowhere_man has joined #ruby
17:42
orbyt_ has quit [Ping timeout: 246 seconds]
17:42
starseed0000 has quit [Ping timeout: 245 seconds]
17:43
ravenousmoose has joined #ruby
17:44
crankharder has joined #ruby
17:44
zachk has joined #ruby
17:45
code_zombie has joined #ruby
17:53
orbyt_ has joined #ruby
17:54
wildermind has joined #ruby
17:56
zachk has quit [Changing host]
17:56
zachk has joined #ruby
17:57
Dirak has joined #ruby
18:06
jenrzzz has joined #ruby
18:09
lucasb has quit [Quit: Connection closed for inactivity]
18:10
jenrzzz has quit [Ping timeout: 250 seconds]
18:17
ellcs1 has joined #ruby
18:20
starseed0000 has joined #ruby
18:20
reber has quit [Remote host closed the connection]
18:25
dviola has joined #ruby
18:30
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:32
sauvin has quit [Ping timeout: 246 seconds]
18:35
nowhereman has joined #ruby
18:35
nowhere_man has quit [Ping timeout: 268 seconds]
18:52
DmitryBochkarev has quit [Ping timeout: 246 seconds]
18:53
DmitryBochkarev has joined #ruby
19:07
Dirak has quit [Ping timeout: 245 seconds]
19:09
alem0lars has joined #ruby
19:10
orbyt_ has quit [Ping timeout: 268 seconds]
19:17
sidx64 has joined #ruby
19:17
SeepingN has joined #ruby
19:18
LtHummus has joined #ruby
19:21
LtHummus has quit [Client Quit]
19:22
symm- has quit [Quit: Leaving...]
19:22
Xeago_ has joined #ruby
19:23
LtHummus has joined #ruby
19:24
Xeago has quit [Ping timeout: 255 seconds]
19:24
Xeago_ is now known as Xeago
19:32
nowhereman has quit [Ping timeout: 245 seconds]
19:41
duderonomy has joined #ruby
19:43
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:44
alem0lars has quit [Ping timeout: 268 seconds]
19:44
doodlebug has quit [Read error: Connection reset by peer]
19:44
doodlebug has joined #ruby
19:45
doodlebug has quit [Read error: Connection reset by peer]
19:45
doodlebug has joined #ruby
19:51
orbyt_ has joined #ruby
19:58
eckhardt has joined #ruby
20:01
griffindy has quit [Remote host closed the connection]
20:01
sidx64 has quit [Ping timeout: 246 seconds]
20:03
Dirak has joined #ruby
20:04
lxsameer has joined #ruby
20:05
galaxie has quit [Ping timeout: 256 seconds]
20:07
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:07
galaxie has joined #ruby
20:09
Dirak has quit [Ping timeout: 250 seconds]
20:10
jenrzzz has joined #ruby
20:11
ur5us has joined #ruby
20:14
Ai9zO5AP has quit [Quit: WeeChat 2.4]
20:17
Swyper has quit [Remote host closed the connection]
20:18
PercyThrillingto has joined #ruby
20:19
<
PercyThrillingto >
Hey there. I've accidentally entered the `erb` instead of the `irb` and I can't figure out how to exit it. Any clues?
20:19
<
adam12 >
PercyThrillingto: How about ctrl-d
20:19
<
PercyThrillingto >
Nothing from that
20:20
<
adam12 >
PercyThrillingto: Surprising. What OS are you running?
20:20
Swyper has joined #ruby
20:20
<
PercyThrillingto >
It's a git-bash shell on Windows 10, but I think it should pass through
20:20
<
PercyThrillingto >
The only output I can get is that it intercepts <Ctrl-Z>
20:20
<
adam12 >
PercyThrillingto: It should. Ctrl-d is like a universal close STDIN kinda deal.
20:21
<
adam12 >
PercyThrillingto: You could ctrl-z, find the job using jobs, then kill -9 %jobid
20:21
<
PercyThrillingto >
Tried that
20:21
<
PercyThrillingto >
658069555 [sig] env 2892! sigpacket::process: Suppressing signal 18 to win32 process (pid 0)
20:21
<
PercyThrillingto >
It keeps me from backgrounding it
20:21
<
PercyThrillingto >
Tried getting the process id from another git-bash shell and it won't die from kill -9
20:21
<
adam12 >
PercyThrillingto: this is likely not an erb issue then, tbh.
20:22
<
PercyThrillingto >
The standard Ctrl commands work for everything else
20:22
<
PercyThrillingto >
I've just mistyped `erb` while trying to get into `irb` a few times
20:22
<
PercyThrillingto >
And have been unable to exit it at all :(
20:23
jcarl43 has quit [Quit: WeeChat 2.4]
20:23
<
PercyThrillingto >
If I'm not using the erb tool, will Ruby get upset if I remove it from the bin directory of the install?
20:24
<
adam12 >
PercyThrillingto: It shouldnt'. You could just alias erb='irb' too.
20:24
<
PercyThrillingto >
oh, that's a better option. Thanks!
20:25
<
adam12 >
PercyThrillingto: The fact that ctrl-d and ctrl-z don't work is suspect, but with it being in git-bash .. not likely going to have too many people looking at it.
20:25
DmitryBochkarev has quit [Ping timeout: 250 seconds]
20:26
<
PercyThrillingto >
Yeah, I don't like the environment either, but it's what I'm deploying to so I'm stuck in it for the moment
20:26
catbusters has joined #ruby
20:28
Dirak has joined #ruby
20:28
<
havenwood >
PercyThrillingto: ctrl-\
20:29
Nicmavr has quit [Read error: Connection reset by peer]
20:31
paraxial has joined #ruby
20:31
Nicmavr has joined #ruby
20:32
ua has joined #ruby
20:32
ua_ has quit [Ping timeout: 255 seconds]
20:33
hiroaki has joined #ruby
20:34
jenrzzz_ has joined #ruby
20:35
orbyt_ has quit [Ping timeout: 245 seconds]
20:35
terens has joined #ruby
20:35
paraxial has quit [Ping timeout: 246 seconds]
20:36
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:37
jenrzzz has quit [Ping timeout: 246 seconds]
20:40
Dbugger has quit [Ping timeout: 240 seconds]
20:40
wald0 has joined #ruby
20:41
starseed0000 has quit [Ping timeout: 255 seconds]
20:42
Mario60333 has joined #ruby
20:44
paraxial has joined #ruby
20:44
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
20:57
tweaks has joined #ruby
20:59
ellcs1 has quit [Ping timeout: 250 seconds]
21:01
hiroaki has quit [Ping timeout: 258 seconds]
21:02
gix has quit [Ping timeout: 268 seconds]
21:03
wildermind has quit [Quit: Connection closed for inactivity]
21:13
crankharder has quit [Ping timeout: 268 seconds]
21:15
ldnunes has quit [Quit: Leaving]
21:22
segy has quit [Ping timeout: 250 seconds]
21:23
moei has quit [Quit: Leaving...]
21:23
cd has joined #ruby
21:24
mamantoha has joined #ruby
21:25
mochiyoda has joined #ruby
21:26
<
PercyThrillingto >
havenwood: no response for <Ctrl-\> either
21:26
tdy has quit [Ping timeout: 268 seconds]
21:27
fredolinhares has joined #ruby
21:27
segy has joined #ruby
21:30
Mario60333 has quit [Quit: Leaving]
21:32
doodlebug has quit [Ping timeout: 258 seconds]
21:35
jenrzzz_ has quit [Ping timeout: 245 seconds]
21:36
dionysus69 has quit [Ping timeout: 245 seconds]
21:36
schleppel has quit [Quit: Konversation terminated!]
21:41
mamantoha has quit [Ping timeout: 255 seconds]
21:43
mamantoha has joined #ruby
21:43
mamantoha has quit [Client Quit]
21:52
wallace_mu has quit []
21:54
jenrzzz has joined #ruby
22:01
shtirlic has joined #ruby
22:03
druonysus has joined #ruby
22:03
druonysus has quit [Changing host]
22:03
druonysus has joined #ruby
22:03
crankharder has joined #ruby
22:03
RiPuk has quit [Ping timeout: 245 seconds]
22:07
orbyt_ has joined #ruby
22:07
ellcs1 has joined #ruby
22:07
crankharder has quit [Ping timeout: 245 seconds]
22:12
doodlebug has joined #ruby
22:15
reber has joined #ruby
22:15
shalok has joined #ruby
22:16
<
shalok >
Is there any way to use additional CA certs without modifying system files?
22:16
PercyThrillingto has quit [Quit: Page closed]
22:17
<
shalok >
I don't really want to copy it into /usr/lib/ruby/2.5.0/rubygems/ssl_certs because this will break when I upgrade ruby
22:19
<
shalok >
I guess I could a copy of ruby in my $HOME...
22:23
crankharder has joined #ruby
22:26
phaul has quit [Ping timeout: 250 seconds]
22:27
rubydoc has quit [Ping timeout: 245 seconds]
22:27
vondruch_ has joined #ruby
22:28
crankharder has quit [Ping timeout: 268 seconds]
22:29
vondruch has quit [Ping timeout: 250 seconds]
22:29
vondruch_ is now known as vondruch
22:29
phaul has joined #ruby
22:29
rubydoc has joined #ruby
22:34
reber has quit [Read error: Connection reset by peer]
22:36
lxsameer has quit [Ping timeout: 250 seconds]
22:38
shtirlic has joined #ruby
22:44
RiPuk has joined #ruby
22:48
rubydoc has quit [Ping timeout: 255 seconds]
22:48
phaul has quit [Ping timeout: 245 seconds]
22:49
polishdub has quit [Quit: leaving]
22:51
phaul has joined #ruby
22:52
rubydoc has joined #ruby
22:59
crankharder has joined #ruby
22:59
ellcs1 has quit [Ping timeout: 245 seconds]
23:00
iNs has quit [Remote host closed the connection]
23:00
iNs has joined #ruby
23:04
crankharder has quit [Ping timeout: 268 seconds]
23:08
jottr has joined #ruby
23:09
starseed0000 has joined #ruby
23:13
AJA4351 has joined #ruby
23:13
AJA4350 has quit [Ping timeout: 255 seconds]
23:13
AJA4351 is now known as AJA4350
23:13
jottr has quit [Ping timeout: 246 seconds]
23:20
mistergibson has joined #ruby
23:26
cliluw has quit [Ping timeout: 250 seconds]
23:30
cliluw has joined #ruby
23:30
i1nfusion has quit [Remote host closed the connection]
23:31
i1nfusion has joined #ruby
23:34
dviola has quit [Quit: WeeChat 2.4]
23:36
crankharder has joined #ruby
23:38
bambanx has joined #ruby
23:39
jenrzzz_ has joined #ruby
23:41
crankharder has quit [Ping timeout: 245 seconds]
23:41
phaul has quit [Quit: :wq]
23:42
jenrzzz has quit [Ping timeout: 246 seconds]
23:42
m27frogy has joined #ruby
23:43
phaul has joined #ruby
23:46
violentE has joined #ruby
23:47
jenrzzz_ has quit [Ping timeout: 268 seconds]
23:47
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:57
i1nfusion has quit [Remote host closed the connection]
23:58
i1nfusion has joined #ruby
23:59
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]