00:00
justinweiss has joined #ruby
00:06
itarato has quit [Ping timeout: 276 seconds]
00:09
davidw has quit [Ping timeout: 240 seconds]
00:17
justinweiss has quit [Remote host closed the connection]
00:18
romanblanco has joined #ruby
00:20
justinweiss has joined #ruby
00:24
baojg_ has quit [Ping timeout: 250 seconds]
00:26
schne1der has quit [Ping timeout: 250 seconds]
00:30
ellcs has joined #ruby
00:30
akem__ has joined #ruby
00:31
mroutis has joined #ruby
00:32
akemhp_ has quit [Ping timeout: 250 seconds]
00:36
mroutis has quit [Quit: leaving]
00:47
davidw has joined #ruby
01:01
AJA4351 has joined #ruby
01:02
Axy has joined #ruby
01:02
Axy has quit [Changing host]
01:02
Axy has joined #ruby
01:02
AJA4350 has quit [Ping timeout: 276 seconds]
01:02
AJA4351 is now known as AJA4350
01:04
Mia has quit [Ping timeout: 250 seconds]
01:05
akemhp_ has joined #ruby
01:09
akem__ has quit [Ping timeout: 250 seconds]
01:12
rainmanjam has quit []
01:19
ccooke has quit [Remote host closed the connection]
01:23
akem__ has joined #ruby
01:26
akemhp_ has quit [Ping timeout: 240 seconds]
01:26
akem__ has quit [Read error: Connection reset by peer]
01:27
akemhp has joined #ruby
01:27
golevka has quit [Read error: Connection reset by peer]
01:28
akemhp has quit [Max SendQ exceeded]
01:29
akemhp has joined #ruby
01:30
NODE has quit [Quit: changing servers]
01:30
akemhp has quit [Client Quit]
01:30
akemhp has joined #ruby
01:31
NODE has joined #ruby
01:31
akemhp_ has joined #ruby
01:32
m27frogy has joined #ruby
01:32
TomyWork has quit [Remote host closed the connection]
01:32
dviola has joined #ruby
01:33
NODE has quit [Client Quit]
01:34
NODE has joined #ruby
01:35
akemhp has quit [Ping timeout: 276 seconds]
01:36
NODE has quit [Client Quit]
01:37
NODE has joined #ruby
01:39
akemhp has joined #ruby
01:39
justinweiss has quit [Remote host closed the connection]
01:40
akemhp has quit [Read error: Connection reset by peer]
01:40
akemhp_ has quit [Ping timeout: 250 seconds]
01:40
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:41
akemhp has joined #ruby
01:42
NODE has quit [Quit: changing servers]
01:42
akemhp has quit [Max SendQ exceeded]
01:43
dviola has quit [Quit: WeeChat 2.6]
01:44
NODE has joined #ruby
01:44
davidw has quit [Ping timeout: 245 seconds]
01:45
NODE has quit [Client Quit]
01:45
akemhp has joined #ruby
01:46
NODE has joined #ruby
01:54
NODE has quit [Quit: changing servers]
01:55
NODE has joined #ruby
01:59
itarato has joined #ruby
02:00
BTRE has joined #ruby
02:02
jenrzzz has joined #ruby
02:03
orbyt_ has joined #ruby
02:04
jenrzzz_ has quit [Ping timeout: 240 seconds]
02:05
hollywar has joined #ruby
02:08
caduguedess has left #ruby [#ruby]
02:08
AJA4351 has joined #ruby
02:10
AJA4350 has quit [Ping timeout: 276 seconds]
02:10
AJA4351 is now known as AJA4350
02:11
ur5us has joined #ruby
02:13
ur5us has quit [Remote host closed the connection]
02:20
drale2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:20
wildtrees has quit [Quit: Leaving]
02:30
NODE has quit [Quit: changing servers]
02:31
NODE has joined #ruby
02:35
fuzzface has quit [Quit: Leaving]
02:45
akemhp_ has joined #ruby
02:46
hollywar has quit [Remote host closed the connection]
02:46
akem__ has joined #ruby
02:47
akemhp has quit [Ping timeout: 240 seconds]
02:48
jinie has quit [Ping timeout: 250 seconds]
02:49
jinie has joined #ruby
02:49
akemhp_ has quit [Ping timeout: 265 seconds]
02:51
Mrbuck has joined #ruby
02:53
akem__ has quit [Ping timeout: 276 seconds]
03:00
itarato has quit [Ping timeout: 265 seconds]
03:04
sameerynho has quit [Ping timeout: 240 seconds]
03:05
m27frogy has quit [Ping timeout: 265 seconds]
03:12
lucasb has quit [Quit: Connection closed for inactivity]
03:17
AJA4351 has joined #ruby
03:18
AJA4350 has quit [Ping timeout: 276 seconds]
03:18
AJA4351 is now known as AJA4350
03:24
wymillerlinux has quit [Remote host closed the connection]
03:27
NODE has quit [Quit: changing servers]
03:28
duderonomy has joined #ruby
03:28
NODE has joined #ruby
03:30
NODE has quit [Client Quit]
03:31
NODE has joined #ruby
03:35
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:38
bruce_lee has quit [Ping timeout: 276 seconds]
03:39
bruce_lee has joined #ruby
03:39
bruce_lee has quit [Changing host]
03:39
bruce_lee has joined #ruby
03:48
Mrbuck has quit [Quit: nite]
03:50
ellcs has quit [Ping timeout: 250 seconds]
03:54
skx86 has joined #ruby
03:55
chalkmonster has quit [Quit: WeeChat 2.6]
03:55
orbyt_ has joined #ruby
04:11
AJA4350 has quit [Quit: AJA4350]
04:15
_whitelogger has joined #ruby
04:17
ellcs has joined #ruby
04:19
itarato has joined #ruby
04:37
ogres has joined #ruby
04:54
_whitelogger has joined #ruby
05:00
m27frogy has joined #ruby
05:09
Technodrome has joined #ruby
05:13
m27frogy has quit [Ping timeout: 240 seconds]
05:18
bvdw has quit [Read error: Connection reset by peer]
05:19
Esa_ has quit [Ping timeout: 240 seconds]
05:19
bvdw has joined #ruby
05:21
itarato has quit [Ping timeout: 252 seconds]
05:21
grilix has quit [Ping timeout: 246 seconds]
05:33
charon77 has joined #ruby
05:35
grilix has joined #ruby
05:37
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:43
rippa has joined #ruby
05:59
hutch1 has joined #ruby
06:05
grilix has quit [Ping timeout: 276 seconds]
06:06
Creatornator has joined #ruby
06:08
arup_r has joined #ruby
06:26
Nicmavr has quit [Read error: Connection reset by peer]
06:28
Nicmavr has joined #ruby
06:33
_whitelogger has joined #ruby
06:34
reyfi9e has quit [Quit: Konversation term]
06:36
sauvin has joined #ruby
06:41
Exuma has joined #ruby
06:43
m27frogy has joined #ruby
06:46
ogres has quit [Quit: Connection closed for inactivity]
06:53
howdoi has quit [Quit: Connection closed for inactivity]
06:57
_whitelogger has joined #ruby
07:09
drale2k has joined #ruby
07:20
drale2k has quit [Ping timeout: 265 seconds]
07:24
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:36
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:41
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
07:44
xco has joined #ruby
07:46
solars has joined #ruby
07:46
manakanapa has joined #ruby
07:53
titanbiscuit has quit [Ping timeout: 250 seconds]
07:56
titanbiscuit has joined #ruby
08:01
m27frogy has quit [Ping timeout: 265 seconds]
08:10
dellavg has joined #ruby
08:15
_whitelogger has joined #ruby
08:24
SCHAPiE has joined #ruby
08:27
Technodrome has joined #ruby
08:35
drale2k has joined #ruby
08:36
charon77 has quit [Ping timeout: 245 seconds]
08:37
TomyWork has joined #ruby
08:38
charon77 has joined #ruby
08:41
ellcs has quit [Ping timeout: 250 seconds]
08:42
ellcs has joined #ruby
08:44
drale2k has quit [Ping timeout: 265 seconds]
08:57
orbyt_ has joined #ruby
09:03
_whitelogger has joined #ruby
09:03
cd has quit [Quit: cd]
09:10
im0nde_ has joined #ruby
09:10
axsuul has quit [Ping timeout: 276 seconds]
09:12
im0nde has quit [Ping timeout: 276 seconds]
09:16
axsuul has joined #ruby
09:20
duderonomy has quit [Ping timeout: 240 seconds]
09:20
Fernando-Basso has joined #ruby
09:21
NODE has quit [Quit: changing servers]
09:21
DTZUZO has quit [Ping timeout: 268 seconds]
09:22
NODE has joined #ruby
09:30
jenrzzz has quit [Ping timeout: 268 seconds]
09:35
sergioro has quit [Quit: leaving]
09:37
DTZUZO has joined #ruby
09:42
DTZUZO has quit [Ping timeout: 250 seconds]
09:42
TomyWork has quit [Ping timeout: 246 seconds]
09:48
DTZUZO has joined #ruby
09:50
claudiuinberlin has joined #ruby
09:51
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:01
DTZUZO has quit [Ping timeout: 265 seconds]
10:05
DTZUZO has joined #ruby
10:07
lucasb has joined #ruby
10:07
schne1der has joined #ruby
10:08
fphilipe_ has quit [Ping timeout: 250 seconds]
10:09
DTZUZO has quit [Ping timeout: 240 seconds]
10:10
al2o3-cr has quit [Quit: WeeChat 2.6]
10:13
al2o3-cr has joined #ruby
10:15
DTZUZO has joined #ruby
10:19
DTZUZO has quit [Ping timeout: 250 seconds]
10:20
m27frogy has joined #ruby
10:25
schne1der has quit [Ping timeout: 268 seconds]
10:25
Ai9zO5AP has joined #ruby
10:27
DTZUZO has joined #ruby
10:27
hiroaki has quit [Ping timeout: 276 seconds]
10:29
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:30
NODE has quit [Quit: changing servers]
10:31
NODE has joined #ruby
10:33
sameerynho has joined #ruby
10:34
DTZUZO has quit [Ping timeout: 268 seconds]
10:40
DTZUZO has joined #ruby
10:45
DTZUZO has quit [Ping timeout: 265 seconds]
10:46
DTZUZO has joined #ruby
10:51
NODE has quit [Quit: changing servers]
10:52
gix has joined #ruby
10:52
NODE has joined #ruby
10:54
gix has quit [Client Quit]
10:55
DTZUZO has quit [Ping timeout: 250 seconds]
10:57
DTZUZO has joined #ruby
10:57
NODE has quit [Quit: changing servers]
10:58
NODE has joined #ruby
11:00
NODE has quit [Client Quit]
11:01
DTZUZO has quit [Ping timeout: 246 seconds]
11:01
NODE has joined #ruby
11:03
DTZUZO has joined #ruby
11:06
entel has joined #ruby
11:10
howdoi has joined #ruby
11:10
romanblanco has quit [Ping timeout: 268 seconds]
11:12
DTZUZO has quit [Ping timeout: 265 seconds]
11:14
skx86 has quit [Quit: Connection closed for inactivity]
11:18
bvdw has quit [Read error: Connection reset by peer]
11:18
DTZUZO has joined #ruby
11:19
Mrbuck has joined #ruby
11:19
bvdw has joined #ruby
11:25
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:27
DTZUZO has quit [Ping timeout: 250 seconds]
11:28
jenrzzz has joined #ruby
11:28
DTZUZO has joined #ruby
11:29
Fernando-Basso has quit [Read error: Connection reset by peer]
11:29
Fernando-Basso has joined #ruby
11:33
jenrzzz has quit [Ping timeout: 268 seconds]
11:33
DTZUZO has quit [Ping timeout: 276 seconds]
11:35
gix has joined #ruby
11:39
fphilipe_ has joined #ruby
11:39
DTZUZO has joined #ruby
11:44
DTZUZO has quit [Ping timeout: 268 seconds]
11:44
m27frogy has quit [Ping timeout: 268 seconds]
11:45
fphilipe_ has quit [Ping timeout: 250 seconds]
11:47
AJA4350 has joined #ruby
11:47
Mrbuck has quit [Quit: leaving]
11:49
DTZUZO has joined #ruby
11:57
davor has quit [Ping timeout: 276 seconds]
11:58
davor has joined #ruby
11:59
DTZUZO has quit [Ping timeout: 265 seconds]
12:10
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:12
DTZUZO has joined #ruby
12:16
DTZUZO has quit [Ping timeout: 245 seconds]
12:18
conta has joined #ruby
12:20
DTZUZO has joined #ruby
12:22
turt2live has quit [Quit: killed]
12:22
otaznik[m] has quit [Quit: killed]
12:22
qbrd[m] has quit [Quit: killed]
12:23
sepp2k has quit [Quit: killed]
12:23
danielk43[m] has quit [Quit: killed]
12:23
Hanspolo[m] has quit [Quit: killed]
12:23
samdixon[m] has quit [Quit: killed]
12:23
linuus[m] has quit [Quit: killed]
12:23
mariusz-kowalski has quit [Quit: killed]
12:23
someGmrGrl[m] has quit [Quit: killed]
12:23
Hanma[m] has quit [Quit: killed]
12:23
lakrivite[m] has quit [Quit: killed]
12:23
kira_rose[m] has quit [Quit: killed]
12:23
kp666[m] has quit [Quit: killed]
12:23
cliffindor[m] has quit [Quit: killed]
12:23
Corey[m] has quit [Quit: killed]
12:24
DTZUZO has quit [Ping timeout: 240 seconds]
12:28
xco has joined #ruby
12:28
NL3limin4t0r has quit [Ping timeout: 265 seconds]
12:30
NL3limin4t0r has joined #ruby
12:31
DTZUZO has joined #ruby
12:36
DTZUZO has quit [Ping timeout: 268 seconds]
12:36
yann-kaelig has joined #ruby
12:37
conta has quit [Ping timeout: 268 seconds]
12:37
akemhp has joined #ruby
12:40
DTZUZO has joined #ruby
12:41
AJA4350 has quit [Ping timeout: 268 seconds]
12:43
ellcs has quit [Ping timeout: 268 seconds]
12:45
AJA4350 has joined #ruby
12:48
NODE has quit [Quit: changing servers]
12:49
NODE has joined #ruby
12:53
DTZUZO has quit [Ping timeout: 245 seconds]
12:54
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:55
claudiuinberlin has joined #ruby
12:58
davispuh has joined #ruby
13:00
DTZUZO has joined #ruby
13:05
suukim has joined #ruby
13:05
fphilipe_ has joined #ruby
13:06
NODE has quit [Quit: changing servers]
13:08
NODE has joined #ruby
13:09
NODE has quit [Client Quit]
13:09
DTZUZO has quit [Ping timeout: 245 seconds]
13:10
fphilipe_ has quit [Ping timeout: 252 seconds]
13:10
NODE has joined #ruby
13:12
NODE has quit [Client Quit]
13:12
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:13
NODE has joined #ruby
13:15
llua has quit [Remote host closed the connection]
13:16
DTZUZO has joined #ruby
13:19
llua has joined #ruby
13:21
rustik has joined #ruby
13:21
qbrd[m] has joined #ruby
13:21
kira_rose[m] has joined #ruby
13:21
linuus[m] has joined #ruby
13:21
sepp2k has joined #ruby
13:21
kp666[m] has joined #ruby
13:21
execat[m] has joined #ruby
13:21
Corey[m] has joined #ruby
13:21
samdixon[m] has joined #ruby
13:21
turt2live has joined #ruby
13:21
cliffindor[m] has joined #ruby
13:21
iotatron[m] has joined #ruby
13:21
Hanma[m] has joined #ruby
13:21
otaznik[m] has joined #ruby
13:21
Hanspolo[m] has joined #ruby
13:21
mariusz-kowalski has joined #ruby
13:21
danielk43[m] has joined #ruby
13:21
lakrivite[m] has joined #ruby
13:21
someGmrGrl[m] has joined #ruby
13:23
DTZUZO has quit [Ping timeout: 268 seconds]
13:24
DTZUZO has joined #ruby
13:28
claudiuinberlin has joined #ruby
13:28
jenrzzz has joined #ruby
13:29
DTZUZO has quit [Ping timeout: 252 seconds]
13:31
bsdband92 has quit [Quit: -a- Connection Timed Out]
13:31
bsdbandit-01 has joined #ruby
13:33
jenrzzz has quit [Ping timeout: 268 seconds]
13:33
DTZUZO has joined #ruby
13:35
smokevadim has joined #ruby
13:35
smokevadim has quit [Read error: Connection reset by peer]
13:37
NODE has quit [Quit: changing servers]
13:37
smokevadim has joined #ruby
13:38
DTZUZO has quit [Ping timeout: 240 seconds]
13:38
NODE has joined #ruby
13:39
ElFerna has joined #ruby
13:40
ElFerna has quit [Client Quit]
13:41
ElFerna has joined #ruby
13:45
DTZUZO has joined #ruby
13:48
cthulchu has quit [Read error: Connection reset by peer]
13:48
cthulchu has joined #ruby
13:49
Mrbuck has joined #ruby
13:49
DTZUZO has quit [Ping timeout: 268 seconds]
13:52
AJA4351 has joined #ruby
13:53
fuzzface has joined #ruby
13:54
AJA4350 has quit [Ping timeout: 250 seconds]
13:54
AJA4351 is now known as AJA4350
13:55
smokevadim has quit [Read error: Connection reset by peer]
13:59
johnny56 has joined #ruby
14:02
johnny56_ has quit [Ping timeout: 240 seconds]
14:10
ElFerna has quit [Ping timeout: 250 seconds]
14:10
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
14:10
TomyWork has joined #ruby
14:16
bsdbandit-01 has joined #ruby
14:18
ElFerna has joined #ruby
14:19
xco has joined #ruby
14:20
Technodrome has joined #ruby
14:20
DTZUZO has joined #ruby
14:24
ElFerna has quit [Ping timeout: 252 seconds]
14:27
NODE has quit [Quit: changing servers]
14:28
ccooke has joined #ruby
14:28
NODE has joined #ruby
14:28
<
dostoyevsky >
> sudo gem install webrick-1.6.0.gem && grep VERSION $(dirname `sudo gem which webrick`)/webrick/version.rb # -> VERSION = "1.3.1"
14:28
<
dostoyevsky >
Man, ruby installations are so crappy
14:28
howdoi has quit [Quit: Connection closed for inactivity]
14:30
Mrbuck has quit [Remote host closed the connection]
14:30
romanblanco has joined #ruby
14:31
<
havenwood >
dostoyevsky: WEBrick? That's a default gem.
14:32
<
havenwood >
dostoyevsky: Default "gems are part of Ruby and you can always require them directly. You cannot remove them. They are maintained by Ruby core."
14:35
<
dostoyevsky >
havenwood: gem is happy to upgrade webrick though.. it will happily install webrick-1.6.0 but not use it by default...
14:36
<
dostoyevsky >
Without any message indicating why that might be the case...
14:36
m27frogy has joined #ruby
14:36
cthulchu has quit [Read error: Connection reset by peer]
14:36
<
havenwood >
dostoyevsky: You've installed a new version of WEBrick, but you're looking at the default version—which can't be uninstalled.
14:37
cthulchu has joined #ruby
14:37
<
havenwood >
dostoyevsky: Whatcha using WEBrick for?
14:38
<
dostoyevsky >
ok, well at least I can now make sense of the which output... for rack I get the updated version I just installed: > sudo gem which rack # -> /usr/local/lib/ruby/gems/2.4.0/gems/rack-2.0.7/lib/rack.rb // whereas which webrick is not actually refering to a gem > sudo gem which webrick # -> /usr/local/lib/ruby/2.4.0/webrick.rb
14:38
gray_-_wolf has joined #ruby
14:39
<
dostoyevsky >
havenwood: Webrick is part of an app I maintain... And I thought it might not be bad to update packages from time to time
14:39
<
havenwood >
dostoyevsky: See `gem info webrick`, which should show you the location of the gem you installed and the default gem.
14:40
<
havenwood >
dostoyevsky: Switch from WEBrick to Puma if you're able!
14:40
<
havenwood >
dostoyevsky: it should be a simple change. Just add Puma to the Gemfile.
14:41
<
havenwood >
dostoyevsky: Rack apps will auto-prefer Puma if available.
14:42
NODE has quit [Quit: changing servers]
14:42
phaul has quit [Ping timeout: 240 seconds]
14:43
NODE has joined #ruby
14:45
NODE has quit [Client Quit]
14:46
NODE has joined #ruby
14:47
phaul has joined #ruby
14:48
NODE has quit [Client Quit]
14:49
NODE has joined #ruby
14:51
BTRE has quit [Quit: Leaving]
14:52
phaul has quit [Ping timeout: 268 seconds]
14:56
phaul has joined #ruby
14:59
AJA4351 has joined #ruby
15:00
AJA4350 has quit [Ping timeout: 240 seconds]
15:00
AJA4351 is now known as AJA4350
15:00
phaul has quit [Ping timeout: 250 seconds]
15:02
gray_-_wolf has quit [Quit: WeeChat 2.6]
15:04
phaul has joined #ruby
15:06
fphilipe_ has joined #ruby
15:07
Esa_ has joined #ruby
15:08
BTRE has joined #ruby
15:09
phaul has quit [Ping timeout: 276 seconds]
15:11
fphilipe_ has quit [Ping timeout: 245 seconds]
15:14
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:18
phaul has joined #ruby
15:25
apt-get has joined #ruby
15:26
<
apt-get >
Heya, I've been having a little issue which has been driving me crazy
15:26
<
apt-get >
why does catch/throw seem to absorb break statements?
15:26
NODE has quit [Quit: changing servers]
15:28
romanblanco has quit [Ping timeout: 265 seconds]
15:28
<
apt-get >
something like `loop do; catch :test do; break; end; end` will run indefinitely
15:28
<
apt-get >
isn't there any way to prevent this kind of behavior?
15:28
NODE has joined #ruby
15:28
AJA4350 has quit [Quit: AJA4350]
15:28
jenrzzz has joined #ruby
15:29
AJA4350 has joined #ruby
15:32
<
havenwood >
&>> catch(:apt) { loop { throw(:apt) } }
15:33
jenrzzz has quit [Ping timeout: 250 seconds]
15:33
<
havenwood >
apt-get: That's ^ an example of throwing in a loop and catching outside it.
15:34
Inline has quit [Quit: Leaving]
15:35
Inline has joined #ruby
15:35
<
apt-get >
havenwood, yeah but what I have is loop > catch > loop > throw
15:36
<
apt-get >
I want the outer loop to continue if throw's been called and break if it hasn't
15:37
<
havenwood >
apt-get: Show the code you have?
15:38
bsdbandit-01 has quit [Read error: Connection reset by peer]
15:40
<
apt-get >
basically, I'm in the while until I catch a signal, then I change run (which switches context for what my program does) and go back to the beginning of the loop
15:40
<
apt-get >
if I don't catch a signal, I quit
15:43
claudiuinberlin has joined #ruby
15:44
<
havenwood >
apt-get: Consider this example, which is an infinite loop:
15:44
<
havenwood >
loop { catch(:example) { break } }
15:44
<
havenwood >
apt-get: Break is breaking from the catch but not from the enclosing loop.
15:45
<
apt-get >
though what's the point of having break act like that on catch when you have throw
15:45
<
apt-get >
is it something inherent about contexts?
15:46
<
apt-get >
guess I'll have to use two catches
15:46
<
havenwood >
apt-get: You can do this without throw/catch but here's an example:
15:46
<
havenwood >
&>> catch(:escape) { loop { catch(:eek) { throw(:escape, :phew) } } }
15:46
<
apt-get >
yeah, that's what I figured
15:47
<
havenwood >
apt-get: Maybe try a refactor that uses `next` in the iteration with `return` to exit the method.
15:48
sagax has quit [Read error: Connection reset by peer]
15:48
phaul has quit [Ping timeout: 265 seconds]
15:49
davispuh has joined #ruby
15:50
<
apt-get >
I'd do that but having shared variables for what I'm doing rn is convenient :>
15:51
<
apt-get >
plus it's somewhat throwaway code so I don'd mind that much
15:53
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:54
sagax has joined #ruby
15:55
fuzzface has quit [Quit: Leaving]
15:57
phaul has joined #ruby
15:57
romanblanco has joined #ruby
16:01
gnufied has quit [Quit: Leaving]
16:01
phaul has quit [Ping timeout: 250 seconds]
16:05
phaul has joined #ruby
16:05
dellavg has quit [Remote host closed the connection]
16:07
claudiuinberlin has joined #ruby
16:09
AJA4351 has joined #ruby
16:09
phaul has quit [Ping timeout: 245 seconds]
16:09
AJA4350 has quit [Ping timeout: 250 seconds]
16:09
AJA4351 is now known as AJA4350
16:11
DTZUZO has quit [Ping timeout: 265 seconds]
16:13
phaul has joined #ruby
16:13
skx86 has joined #ruby
16:14
yann-kaelig has quit [Quit: yann-kaelig]
16:14
romanblanco has quit [Ping timeout: 268 seconds]
16:15
romanblanco has joined #ruby
16:16
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:17
phaul has quit [Ping timeout: 245 seconds]
16:21
phaul has joined #ruby
16:26
phaul has quit [Ping timeout: 268 seconds]
16:27
NODE has quit [Quit: changing servers]
16:27
romanblanco has quit [Ping timeout: 268 seconds]
16:28
NODE has joined #ruby
16:29
phaul has joined #ruby
16:30
NODE has quit [Client Quit]
16:30
m27frogy has quit [Ping timeout: 246 seconds]
16:31
NODE has joined #ruby
16:33
NODE has quit [Client Quit]
16:34
phaul has quit [Ping timeout: 265 seconds]
16:34
NODE has joined #ruby
16:34
chalkmonster has joined #ruby
16:35
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:38
phaul has joined #ruby
16:39
s2013 has joined #ruby
16:41
yokel has quit [Ping timeout: 276 seconds]
16:41
claudiuinberlin has joined #ruby
16:42
phaul has quit [Ping timeout: 250 seconds]
16:46
phaul has joined #ruby
16:49
yokel has joined #ruby
16:50
phaul has quit [Ping timeout: 246 seconds]
16:51
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:51
ElFerna has joined #ruby
16:53
fuzzface has joined #ruby
16:54
phaul has joined #ruby
16:56
SeepingN has joined #ruby
16:58
phaul has quit [Ping timeout: 240 seconds]
16:59
ElFerna has quit [Quit: Leaving]
17:02
phaul has joined #ruby
17:06
Nicmavr has quit [Read error: Connection reset by peer]
17:07
fphilipe_ has joined #ruby
17:08
NODE has quit [Quit: changing servers]
17:08
Nicmavr has joined #ruby
17:11
Esa_ has quit [Ping timeout: 268 seconds]
17:11
ropeney_ has joined #ruby
17:11
baemazhen has quit [Quit: Connection closed for inactivity]
17:11
NODE has joined #ruby
17:12
NODE has quit [Client Quit]
17:12
fphilipe_ has quit [Ping timeout: 252 seconds]
17:13
NODE has joined #ruby
17:15
NODE has quit [Client Quit]
17:16
NODE has joined #ruby
17:18
NODE has quit [Client Quit]
17:18
bvdw has quit [Read error: Connection reset by peer]
17:19
NODE has joined #ruby
17:19
AJA4350 has quit [Ping timeout: 268 seconds]
17:19
bvdw has joined #ruby
17:21
hutch1 has quit [Ping timeout: 268 seconds]
17:24
hutch1 has joined #ruby
17:26
fuzzface has quit [Quit: Leaving]
17:29
jenrzzz has joined #ruby
17:33
jenrzzz has quit [Ping timeout: 250 seconds]
17:34
Creatornator has joined #ruby
17:34
i9zO5AP has joined #ruby
17:36
Ai9zO5AP has quit [Ping timeout: 240 seconds]
17:36
AJA4350 has joined #ruby
17:37
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
17:38
Guest19 has joined #ruby
17:38
Guest19 has quit [Remote host closed the connection]
17:39
Guest9891 has joined #ruby
17:40
Guest9891 has quit [Remote host closed the connection]
17:43
rwb has quit [Ping timeout: 240 seconds]
17:49
charon77 has quit [Ping timeout: 250 seconds]
17:50
HoloIRCUser has joined #ruby
17:51
m27frogy has joined #ruby
17:53
<
HoloIRCUser >
Hey all, searched around a bit to no avail but was wondering if ruby devs ever considered Array#rest as feature. (Like lisp's cdr would be: [1, 2, 3].rest => [2, 3]). This an existing proposal by chance?
17:53
HoloIRCUser has quit [Remote host closed the connection]
17:58
ckuttruff has joined #ruby
18:03
ckuttruff has quit [Remote host closed the connection]
18:09
TomyWork has quit [Remote host closed the connection]
18:12
redlegion has joined #ruby
18:16
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:18
NODE has quit [Quit: changing servers]
18:20
NODE has joined #ruby
18:20
NODE has quit [Client Quit]
18:22
duderonomy has joined #ruby
18:22
NODE has joined #ruby
18:23
NODE has quit [Client Quit]
18:23
DTZUZO has joined #ruby
18:24
NODE has joined #ruby
18:26
duderonomy has quit [Ping timeout: 240 seconds]
18:27
AJA4351 has joined #ruby
18:28
AJA4350 has quit [Ping timeout: 250 seconds]
18:28
AJA4351 is now known as AJA4350
18:33
Creatornator has joined #ruby
18:44
candlebag has joined #ruby
18:47
<
candlebag >
i'm looking at the source code for sinatra and seeing a lot of references to a `set` method but can't find it defined anywhere
18:47
<
candlebag >
ex. `set :server, %w[HTTP webrick]`
18:47
<
candlebag >
is that a built-in ruby method for variables that I can't find in the docs?
18:47
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:50
<
havenwood >
candlebag: method(:set).owner #=> Sinatra::Delegator
18:51
<
candlebag >
thanks, @havenwood
18:52
<
havenwood >
candlebag: p method(:set).source_location
18:54
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:54
<
havenwood >
Which delegates to Application by default, which inherits from Base.
19:00
m27frogy has quit [Ping timeout: 240 seconds]
19:02
sergioro has joined #ruby
19:05
<
candlebag >
appreciate the help
19:05
<
candlebag >
wasn't aware of source_location
19:06
<
candlebag >
ruby is really robust
19:07
<
candlebag >
@havenwood ^
19:07
<
havenwood >
candlebag: Yeah, it's handy!
19:08
fphilipe_ has joined #ruby
19:12
fphilipe_ has quit [Ping timeout: 246 seconds]
19:14
AJA4350 has quit [Ping timeout: 276 seconds]
19:16
lucasb has quit [Quit: Connection closed for inactivity]
19:17
Creatornator has joined #ruby
19:21
Omnilord has joined #ruby
19:21
AJA4350 has joined #ruby
19:21
cow[moo] has joined #ruby
19:28
m27frogy has joined #ruby
19:29
jenrzzz has joined #ruby
19:29
claudiuinberlin has joined #ruby
19:30
rwb has joined #ruby
19:34
jenrzzz has quit [Ping timeout: 252 seconds]
19:37
bitwinery has joined #ruby
19:40
s3nd1v0g1us has joined #ruby
19:43
hutch1 has quit [Ping timeout: 265 seconds]
19:47
NODE has quit [Quit: changing servers]
19:47
AJA4350 has quit [Ping timeout: 240 seconds]
19:48
AJA4350 has joined #ruby
19:48
NODE has joined #ruby
19:50
NODE has quit [Client Quit]
19:51
NODE has joined #ruby
19:55
wildtrees has joined #ruby
19:56
NODE has quit [Quit: changing servers]
19:57
NODE has joined #ruby
19:59
NODE has quit [Client Quit]
20:00
NODE has joined #ruby
20:10
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:12
cow[moo] has joined #ruby
20:18
gix has quit [Quit: Client exiting]
20:19
duderonomy has joined #ruby
20:26
gix has joined #ruby
20:28
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:31
cow[moo] has joined #ruby
20:33
s2013 has joined #ruby
20:37
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:39
claudiuinberlin has joined #ruby
20:44
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:45
cow[moo] has joined #ruby
20:45
AJA4350 has quit [Ping timeout: 250 seconds]
20:46
AJA4350 has joined #ruby
20:51
jenrzzz has joined #ruby
20:54
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
20:54
orbyt_ has joined #ruby
20:54
NL3limin4t0r has quit [Ping timeout: 276 seconds]
20:55
m27frogy has joined #ruby
20:56
NL3limin4t0r has joined #ruby
20:58
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:01
dviola has joined #ruby
21:02
jenrzzz has quit [Ping timeout: 250 seconds]
21:08
fphilipe_ has joined #ruby
21:11
JohanP has joined #ruby
21:12
Creatornator has joined #ruby
21:13
fphilipe_ has quit [Ping timeout: 276 seconds]
21:25
Omnilord has quit [Quit: Leaving]
21:27
jenrzzz has joined #ruby
21:30
suukim has quit [Quit: Konversation terminated!]
21:32
jenrzzz has quit [Ping timeout: 268 seconds]
21:34
Frobozz has joined #ruby
21:37
Frobozz has quit [Client Quit]
21:41
AJA4350 has quit [Ping timeout: 265 seconds]
21:43
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:44
sergioro has quit [Quit: Lost terminal]
21:52
Fernando-Basso has quit [Quit: Leaving]
21:52
AJA4350 has joined #ruby
21:58
solars has quit [Quit: Connection closed for inactivity]
22:00
JohanP has quit [Remote host closed the connection]
22:00
JohanP has joined #ruby
22:05
fphilipe_ has joined #ruby
22:10
fphilipe_ has quit [Ping timeout: 250 seconds]
22:17
cow[moo] has joined #ruby
22:20
chalkmonster has quit [Quit: WeeChat 2.6]
22:24
hutch1 has joined #ruby
22:24
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:26
candlebag has quit [Ping timeout: 240 seconds]
22:29
AJA4351 has joined #ruby
22:30
AJA4350 has quit [Ping timeout: 246 seconds]
22:30
AJA4351 is now known as AJA4350
22:30
redlegion has quit [Remote host closed the connection]
22:58
linetrace has joined #ruby
22:59
<
linetrace >
trying ruby/rails project on openbsd 6.6, was able to install updated bundler with $ gem install --user-install bundler:2.0.2
22:59
<
linetrace >
but I get an error writing to /usr/local/lib/ruby/gems/2.6/cache/bundler/git when running $ bundle install
22:59
<
linetrace >
shouldn't it be using ~/.bundle/ ?
23:00
<
linetrace >
(one was created)
23:01
<
nofxx >
linetrace, iirc that's the old way... it'll respect .gemrc
23:01
<
nofxx >
you'll want --user-install on .gemrc or /etc/gemrc
23:04
candlebag has joined #ruby
23:04
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:09
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:17
<
linetrace >
not sure i understand, but i've added 'install: --user-install' to my ~/.gemrc and still get the error when running $ bundle install
23:18
nowhere_man has joined #ruby
23:18
<
linetrace >
not sure if this is something openbsd-specific
23:18
bvdw has quit [Read error: Connection reset by peer]
23:19
bvdw has joined #ruby
23:19
duderonomy has quit [Ping timeout: 250 seconds]
23:21
AJA4351 has joined #ruby
23:22
AJA4350 has quit [Ping timeout: 268 seconds]
23:22
AJA4351 is now known as AJA4350
23:35
<
linetrace >
seems the error is caused by the first gem which is specified to be pulled from a git repo
23:38
JohanP has quit [Ping timeout: 268 seconds]
23:40
<
linetrace >
this worked: $ bundle install --path=~/.gem
23:46
entel has quit [Quit: Connection closed for inactivity]
23:49
Mia has joined #ruby
23:49
ExoUNX has quit [Ping timeout: 240 seconds]
23:50
Axy has quit [Ping timeout: 240 seconds]
23:56
i9zO5AP has quit [Quit: WeeChat 2.5]
23:58
s3nd1v0g1us has quit [Quit: WeeChat 2.6]