havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.5, 2.5.7, 2.7.0-preview3: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
justinweiss has joined #ruby
itarato has quit [Ping timeout: 276 seconds]
davidw has quit [Ping timeout: 240 seconds]
justinweiss has quit [Remote host closed the connection]
romanblanco has joined #ruby
justinweiss has joined #ruby
baojg_ has quit [Ping timeout: 250 seconds]
schne1der has quit [Ping timeout: 250 seconds]
ellcs has joined #ruby
akem__ has joined #ruby
mroutis has joined #ruby
akemhp_ has quit [Ping timeout: 250 seconds]
mroutis has quit [Quit: leaving]
davidw has joined #ruby
AJA4351 has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
Mia has quit [Ping timeout: 250 seconds]
akemhp_ has joined #ruby
akem__ has quit [Ping timeout: 250 seconds]
rainmanjam has quit []
ccooke has quit [Remote host closed the connection]
akem__ has joined #ruby
akemhp_ has quit [Ping timeout: 240 seconds]
akem__ has quit [Read error: Connection reset by peer]
akemhp has joined #ruby
golevka has quit [Read error: Connection reset by peer]
akemhp has quit [Max SendQ exceeded]
akemhp has joined #ruby
NODE has quit [Quit: changing servers]
akemhp has quit [Client Quit]
akemhp has joined #ruby
NODE has joined #ruby
akemhp_ has joined #ruby
m27frogy has joined #ruby
TomyWork has quit [Remote host closed the connection]
dviola has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
akemhp has quit [Ping timeout: 276 seconds]
NODE has quit [Client Quit]
NODE has joined #ruby
akemhp has joined #ruby
justinweiss has quit [Remote host closed the connection]
akemhp has quit [Read error: Connection reset by peer]
akemhp_ has quit [Ping timeout: 250 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akemhp has joined #ruby
NODE has quit [Quit: changing servers]
akemhp has quit [Max SendQ exceeded]
dviola has quit [Quit: WeeChat 2.6]
NODE has joined #ruby
davidw has quit [Ping timeout: 245 seconds]
NODE has quit [Client Quit]
akemhp has joined #ruby
NODE has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
itarato has joined #ruby
BTRE has joined #ruby
jenrzzz has joined #ruby
orbyt_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 240 seconds]
hollywar has joined #ruby
caduguedess has left #ruby [#ruby]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
drale2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wildtrees has quit [Quit: Leaving]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
fuzzface has quit [Quit: Leaving]
akemhp_ has joined #ruby
hollywar has quit [Remote host closed the connection]
akem__ has joined #ruby
akemhp has quit [Ping timeout: 240 seconds]
jinie has quit [Ping timeout: 250 seconds]
jinie has joined #ruby
akemhp_ has quit [Ping timeout: 265 seconds]
Mrbuck has joined #ruby
akem__ has quit [Ping timeout: 276 seconds]
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
itarato has quit [Ping timeout: 265 seconds]
sameerynho has quit [Ping timeout: 240 seconds]
m27frogy has quit [Ping timeout: 265 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
wymillerlinux has quit [Remote host closed the connection]
NODE has quit [Quit: changing servers]
duderonomy has joined #ruby
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bruce_lee has quit [Ping timeout: 276 seconds]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
Mrbuck has quit [Quit: nite]
ellcs has quit [Ping timeout: 250 seconds]
skx86 has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
orbyt_ has joined #ruby
AJA4350 has quit [Quit: AJA4350]
_whitelogger has joined #ruby
ellcs has joined #ruby
itarato has joined #ruby
ogres has joined #ruby
_whitelogger has joined #ruby
m27frogy has joined #ruby
Technodrome has joined #ruby
m27frogy has quit [Ping timeout: 240 seconds]
bvdw has quit [Read error: Connection reset by peer]
Esa_ has quit [Ping timeout: 240 seconds]
bvdw has joined #ruby
itarato has quit [Ping timeout: 252 seconds]
grilix has quit [Ping timeout: 246 seconds]
charon77 has joined #ruby
grilix has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has joined #ruby
hutch1 has joined #ruby
grilix has quit [Ping timeout: 276 seconds]
Creatornator has joined #ruby
arup_r has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
_whitelogger has joined #ruby
reyfi9e has quit [Quit: Konversation term]
sauvin has joined #ruby
Exuma has joined #ruby
m27frogy has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
howdoi has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
drale2k has joined #ruby
arup_r has quit []
drale2k has quit [Ping timeout: 265 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xco has joined #ruby
manakanapa has quit [Quit: The Lounge - https://thelounge.chat]
solars has joined #ruby
manakanapa has joined #ruby
titanbiscuit has quit [Ping timeout: 250 seconds]
titanbiscuit has joined #ruby
m27frogy has quit [Ping timeout: 265 seconds]
dellavg has joined #ruby
_whitelogger has joined #ruby
SCHAPiE has quit [Quit: ZNC - https://znc.in]
SCHAPiE has joined #ruby
Technodrome has joined #ruby
drale2k has joined #ruby
charon77 has quit [Ping timeout: 245 seconds]
TomyWork has joined #ruby
charon77 has joined #ruby
ellcs has quit [Ping timeout: 250 seconds]
ellcs has joined #ruby
drale2k has quit [Ping timeout: 265 seconds]
orbyt_ has joined #ruby
_whitelogger has joined #ruby
cd has quit [Quit: cd]
im0nde_ has joined #ruby
tsrt^ has quit []
axsuul has quit [Ping timeout: 276 seconds]
im0nde has quit [Ping timeout: 276 seconds]
axsuul has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
Fernando-Basso has joined #ruby
NODE has quit [Quit: changing servers]
DTZUZO has quit [Ping timeout: 268 seconds]
NODE has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
sergioro has quit [Quit: leaving]
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 250 seconds]
TomyWork has quit [Ping timeout: 246 seconds]
DTZUZO has joined #ruby
claudiuinberlin has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZO has quit [Ping timeout: 265 seconds]
DTZUZO has joined #ruby
lucasb has joined #ruby
schne1der has joined #ruby
fphilipe_ has quit [Ping timeout: 250 seconds]
DTZUZO has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Quit: WeeChat 2.6]
al2o3-cr has joined #ruby
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 250 seconds]
m27frogy has joined #ruby
schne1der has quit [Ping timeout: 268 seconds]
Ai9zO5AP has joined #ruby
DTZUZO has joined #ruby
hiroaki has quit [Ping timeout: 276 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
sameerynho has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 265 seconds]
DTZUZO has joined #ruby
NODE has quit [Quit: changing servers]
gix has joined #ruby
NODE has joined #ruby
gix has quit [Client Quit]
DTZUZO has quit [Ping timeout: 250 seconds]
DTZUZO has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
NODE has quit [Client Quit]
DTZUZO has quit [Ping timeout: 246 seconds]
NODE has joined #ruby
DTZUZO has joined #ruby
entel has joined #ruby
howdoi has joined #ruby
romanblanco has quit [Ping timeout: 268 seconds]
DTZUZO has quit [Ping timeout: 265 seconds]
skx86 has quit [Quit: Connection closed for inactivity]
bvdw has quit [Read error: Connection reset by peer]
DTZUZO has joined #ruby
Mrbuck has joined #ruby
bvdw has joined #ruby
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZO has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
DTZUZO has joined #ruby
Fernando-Basso has quit [Read error: Connection reset by peer]
Fernando-Basso has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
DTZUZO has quit [Ping timeout: 276 seconds]
gix has joined #ruby
fphilipe_ has joined #ruby
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
m27frogy has quit [Ping timeout: 268 seconds]
fphilipe_ has quit [Ping timeout: 250 seconds]
AJA4350 has joined #ruby
Mrbuck has quit [Quit: leaving]
DTZUZO has joined #ruby
davor has quit [Ping timeout: 276 seconds]
davor has joined #ruby
DTZUZO has quit [Ping timeout: 265 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 245 seconds]
conta has joined #ruby
DTZUZO has joined #ruby
turt2live has quit [Quit: killed]
otaznik[m] has quit [Quit: killed]
qbrd[m] has quit [Quit: killed]
sepp2k has quit [Quit: killed]
danielk43[m] has quit [Quit: killed]
Hanspolo[m] has quit [Quit: killed]
samdixon[m] has quit [Quit: killed]
linuus[m] has quit [Quit: killed]
mariusz-kowalski has quit [Quit: killed]
someGmrGrl[m] has quit [Quit: killed]
Hanma[m] has quit [Quit: killed]
lakrivite[m] has quit [Quit: killed]
kira_rose[m] has quit [Quit: killed]
kp666[m] has quit [Quit: killed]
cliffindor[m] has quit [Quit: killed]
Corey[m] has quit [Quit: killed]
DTZUZO has quit [Ping timeout: 240 seconds]
xco has joined #ruby
NL3limin4t0r has quit [Ping timeout: 265 seconds]
NL3limin4t0r has joined #ruby
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
yann-kaelig has joined #ruby
conta has quit [Ping timeout: 268 seconds]
akemhp has joined #ruby
DTZUZO has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
ellcs has quit [Ping timeout: 268 seconds]
AJA4350 has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
DTZUZO has quit [Ping timeout: 245 seconds]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #ruby
davispuh has joined #ruby
DTZUZO has joined #ruby
suukim has joined #ruby
fphilipe_ has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
NODE has quit [Client Quit]
DTZUZO has quit [Ping timeout: 245 seconds]
fphilipe_ has quit [Ping timeout: 252 seconds]
NODE has joined #ruby
NODE has quit [Client Quit]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NODE has joined #ruby
llua has quit [Remote host closed the connection]
DTZUZO has joined #ruby
llua has joined #ruby
rustik has joined #ruby
qbrd[m] has joined #ruby
kira_rose[m] has joined #ruby
linuus[m] has joined #ruby
sepp2k has joined #ruby
kp666[m] has joined #ruby
execat[m] has joined #ruby
Corey[m] has joined #ruby
samdixon[m] has joined #ruby
turt2live has joined #ruby
cliffindor[m] has joined #ruby
iotatron[m] has joined #ruby
Hanma[m] has joined #ruby
otaznik[m] has joined #ruby
Hanspolo[m] has joined #ruby
mariusz-kowalski has joined #ruby
danielk43[m] has joined #ruby
lakrivite[m] has joined #ruby
someGmrGrl[m] has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
claudiuinberlin has joined #ruby
jenrzzz has joined #ruby
DTZUZO has quit [Ping timeout: 252 seconds]
bsdband92 has quit [Quit: -a- Connection Timed Out]
bsdbandit-01 has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
DTZUZO has joined #ruby
smokevadim has joined #ruby
smokevadim has quit [Read error: Connection reset by peer]
NODE has quit [Quit: changing servers]
smokevadim has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
NODE has joined #ruby
ElFerna has joined #ruby
ElFerna has quit [Client Quit]
ElFerna has joined #ruby
DTZUZO has joined #ruby
cthulchu has quit [Read error: Connection reset by peer]
cthulchu has joined #ruby
Mrbuck has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
AJA4351 has joined #ruby
fuzzface has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
smokevadim has quit [Read error: Connection reset by peer]
johnny56 has joined #ruby
johnny56_ has quit [Ping timeout: 240 seconds]
ElFerna has quit [Ping timeout: 250 seconds]
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
TomyWork has joined #ruby
bsdbandit-01 has joined #ruby
ElFerna has joined #ruby
xco has joined #ruby
Technodrome has joined #ruby
DTZUZO has joined #ruby
ElFerna has quit [Ping timeout: 252 seconds]
NODE has quit [Quit: changing servers]
ccooke has joined #ruby
NODE has joined #ruby
<dostoyevsky> > sudo gem install webrick-1.6.0.gem && grep VERSION $(dirname `sudo gem which webrick`)/webrick/version.rb # -> VERSION = "1.3.1"
<dostoyevsky> Man, ruby installations are so crappy
howdoi has quit [Quit: Connection closed for inactivity]
Mrbuck has quit [Remote host closed the connection]
romanblanco has joined #ruby
<havenwood> dostoyevsky: WEBrick? That's a default gem.
<havenwood> dostoyevsky: https://stdgems.org/webrick/
<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."
<dostoyevsky> havenwood: gem is happy to upgrade webrick though.. it will happily install webrick-1.6.0 but not use it by default...
<dostoyevsky> Without any message indicating why that might be the case...
m27frogy has joined #ruby
cthulchu has quit [Read error: Connection reset by peer]
<havenwood> dostoyevsky: You've installed a new version of WEBrick, but you're looking at the default version—which can't be uninstalled.
cthulchu has joined #ruby
<havenwood> dostoyevsky: Whatcha using WEBrick for?
<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
gray_-_wolf has joined #ruby
<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
<havenwood> dostoyevsky: See `gem info webrick`, which should show you the location of the gem you installed and the default gem.
<havenwood> dostoyevsky: Switch from WEBrick to Puma if you're able!
<havenwood> dostoyevsky: it should be a simple change. Just add Puma to the Gemfile.
<havenwood> dostoyevsky: Rack apps will auto-prefer Puma if available.
NODE has quit [Quit: changing servers]
phaul has quit [Ping timeout: 240 seconds]
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
phaul has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
BTRE has quit [Quit: Leaving]
phaul has quit [Ping timeout: 268 seconds]
phaul has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
phaul has quit [Ping timeout: 250 seconds]
gray_-_wolf has quit [Quit: WeeChat 2.6]
phaul has joined #ruby
fphilipe_ has joined #ruby
Esa_ has joined #ruby
BTRE has joined #ruby
phaul has quit [Ping timeout: 276 seconds]
fphilipe_ has quit [Ping timeout: 245 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has joined #ruby
apt-get has joined #ruby
<apt-get> Heya, I've been having a little issue which has been driving me crazy
<apt-get> why does catch/throw seem to absorb break statements?
NODE has quit [Quit: changing servers]
romanblanco has quit [Ping timeout: 265 seconds]
<apt-get> something like `loop do; catch :test do; break; end; end` will run indefinitely
<apt-get> isn't there any way to prevent this kind of behavior?
NODE has joined #ruby
AJA4350 has quit [Quit: AJA4350]
jenrzzz has joined #ruby
AJA4350 has joined #ruby
<havenwood> &>> catch(:apt) { loop { throw(:apt) } }
<rubydoc> # => nil (https://carc.in/#/r/85mb)
jenrzzz has quit [Ping timeout: 250 seconds]
<havenwood> apt-get: That's ^ an example of throwing in a loop and catching outside it.
Inline has quit [Quit: Leaving]
Inline has joined #ruby
<apt-get> havenwood, yeah but what I have is loop > catch > loop > throw
<apt-get> I want the outer loop to continue if throw's been called and break if it hasn't
<havenwood> apt-get: Show the code you have?
bsdbandit-01 has quit [Read error: Connection reset by peer]
<apt-get> havenwood, https://dpaste.de/TzqQ
<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
<apt-get> if I don't catch a signal, I quit
claudiuinberlin has joined #ruby
<havenwood> apt-get: Consider this example, which is an infinite loop:
<havenwood> loop { catch(:example) { break } }
<havenwood> apt-get: Break is breaking from the catch but not from the enclosing loop.
<apt-get> yeah
<apt-get> though what's the point of having break act like that on catch when you have throw
<apt-get> is it something inherent about contexts?
<apt-get> scope*
<apt-get> guess I'll have to use two catches
<havenwood> apt-get: You can do this without throw/catch but here's an example:
<havenwood> &>> catch(:escape) { loop { catch(:eek) { throw(:escape, :phew) } } }
<rubydoc> # => :phew (https://carc.in/#/r/85md)
<apt-get> yeah, that's what I figured
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<havenwood> apt-get: Maybe try a refactor that uses `next` in the iteration with `return` to exit the method.
sagax has quit [Read error: Connection reset by peer]
phaul has quit [Ping timeout: 265 seconds]
davispuh has joined #ruby
<apt-get> I'd do that but having shared variables for what I'm doing rn is convenient :>
<apt-get> plus it's somewhat throwaway code so I don'd mind that much
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sagax has joined #ruby
fuzzface has quit [Quit: Leaving]
phaul has joined #ruby
romanblanco has joined #ruby
gnufied has quit [Quit: Leaving]
phaul has quit [Ping timeout: 250 seconds]
phaul has joined #ruby
dellavg has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
AJA4351 has joined #ruby
phaul has quit [Ping timeout: 245 seconds]
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
DTZUZO has quit [Ping timeout: 265 seconds]
phaul has joined #ruby
skx86 has joined #ruby
yann-kaelig has quit [Quit: yann-kaelig]
romanblanco has quit [Ping timeout: 268 seconds]
romanblanco has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has quit [Ping timeout: 245 seconds]
phaul has joined #ruby
phaul has quit [Ping timeout: 268 seconds]
NODE has quit [Quit: changing servers]
romanblanco has quit [Ping timeout: 268 seconds]
NODE has joined #ruby
phaul has joined #ruby
NODE has quit [Client Quit]
m27frogy has quit [Ping timeout: 246 seconds]
NODE has joined #ruby
NODE has quit [Client Quit]
phaul has quit [Ping timeout: 265 seconds]
NODE has joined #ruby
chalkmonster has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has joined #ruby
s2013 has joined #ruby
yokel has quit [Ping timeout: 276 seconds]
claudiuinberlin has joined #ruby
phaul has quit [Ping timeout: 250 seconds]
phaul has joined #ruby
yokel has joined #ruby
phaul has quit [Ping timeout: 246 seconds]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ElFerna has joined #ruby
fuzzface has joined #ruby
phaul has joined #ruby
SeepingN has joined #ruby
phaul has quit [Ping timeout: 240 seconds]
ElFerna has quit [Quit: Leaving]
ropeney_ has quit [Quit: ZNC 1.7.4 - https://znc.in]
phaul has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
fphilipe_ has joined #ruby
NODE has quit [Quit: changing servers]
Nicmavr has joined #ruby
Esa_ has quit [Ping timeout: 268 seconds]
ropeney_ has joined #ruby
baemazhen has quit [Quit: Connection closed for inactivity]
NODE has joined #ruby
NODE has quit [Client Quit]
fphilipe_ has quit [Ping timeout: 252 seconds]
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
NODE has quit [Client Quit]
bvdw has quit [Read error: Connection reset by peer]
NODE has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
bvdw has joined #ruby
hutch1 has quit [Ping timeout: 268 seconds]
hutch1 has joined #ruby
fuzzface has quit [Quit: Leaving]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
Creatornator has joined #ruby
i9zO5AP has joined #ruby
Ai9zO5AP has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest19 has joined #ruby
Guest19 has quit [Remote host closed the connection]
Guest9891 has joined #ruby
Guest9891 has quit [Remote host closed the connection]
rwb has quit [Ping timeout: 240 seconds]
charon77 has quit [Ping timeout: 250 seconds]
HoloIRCUser has joined #ruby
m27frogy has joined #ruby
<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?
HoloIRCUser has quit [Remote host closed the connection]
ckuttruff has joined #ruby
ckuttruff has quit [Remote host closed the connection]
TomyWork has quit [Remote host closed the connection]
redlegion has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NODE has quit [Quit: changing servers]
NODE has joined #ruby
NODE has quit [Client Quit]
duderonomy has joined #ruby
NODE has joined #ruby
NODE has quit [Client Quit]
DTZUZO has joined #ruby
NODE has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
Creatornator has joined #ruby
candlebag has joined #ruby
<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
<candlebag> ex. `set :server, %w[HTTP webrick]`
<candlebag> is that a built-in ruby method for variables that I can't find in the docs?
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> candlebag: method(:set).owner #=> Sinatra::Delegator
<candlebag> thanks, @havenwood
<havenwood> candlebag: p method(:set).source_location
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> Which delegates to Application by default, which inherits from Base.
m27frogy has quit [Ping timeout: 240 seconds]
sergioro has joined #ruby
<candlebag> appreciate the help
<candlebag> wasn't aware of source_location
<candlebag> ruby is really robust
<candlebag> @havenwood ^
<havenwood> candlebag: Yeah, it's handy!
rustik has quit []
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 246 seconds]
AJA4350 has quit [Ping timeout: 276 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
Creatornator has joined #ruby
Omnilord has joined #ruby
AJA4350 has joined #ruby
cow[moo] has joined #ruby
m27frogy has joined #ruby
jenrzzz has joined #ruby
claudiuinberlin has joined #ruby
rwb has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
bitwinery has joined #ruby
s3nd1v0g1us has joined #ruby
hutch1 has quit [Ping timeout: 265 seconds]
NODE has quit [Quit: changing servers]
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
NODE has joined #ruby
NODE has quit [Client Quit]
NODE has joined #ruby
wildtrees has joined #ruby
NODE has quit [Quit: changing servers]
NODE has joined #ruby
m27frogy has quit [Quit: ZNC - https://znc.in]
NODE has quit [Client Quit]
NODE has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
gix has quit [Quit: Client exiting]
duderonomy has joined #ruby
gix has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
s2013 has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4350 has joined #ruby
jenrzzz has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
orbyt_ has joined #ruby
NL3limin4t0r has quit [Ping timeout: 276 seconds]
m27frogy has joined #ruby
NL3limin4t0r has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
fphilipe_ has joined #ruby
JohanP has joined #ruby
Creatornator has joined #ruby
fphilipe_ has quit [Ping timeout: 276 seconds]
Omnilord has quit [Quit: Leaving]
jenrzzz has joined #ruby
suukim has quit [Quit: Konversation terminated!]
jenrzzz has quit [Ping timeout: 268 seconds]
Frobozz has joined #ruby
Frobozz has quit [Client Quit]
AJA4350 has quit [Ping timeout: 265 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sergioro has quit [Quit: Lost terminal]
Fernando-Basso has quit [Quit: Leaving]
AJA4350 has joined #ruby
solars has quit [Quit: Connection closed for inactivity]
JohanP has quit [Remote host closed the connection]
JohanP has joined #ruby
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 250 seconds]
cow[moo] has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
hutch1 has joined #ruby
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
candlebag has quit [Ping timeout: 240 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
redlegion has quit [Remote host closed the connection]
linetrace has joined #ruby
<linetrace> trying ruby/rails project on openbsd 6.6, was able to install updated bundler with $ gem install --user-install bundler:2.0.2
<linetrace> but I get an error writing to /usr/local/lib/ruby/gems/2.6/cache/bundler/git when running $ bundle install
<linetrace> shouldn't it be using ~/.bundle/ ?
<linetrace> (one was created)
<nofxx> linetrace, iirc that's the old way... it'll respect .gemrc
<nofxx> you'll want --user-install on .gemrc or /etc/gemrc
candlebag has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<linetrace> not sure i understand, but i've added 'install: --user-install' to my ~/.gemrc and still get the error when running $ bundle install
nowhere_man has joined #ruby
<linetrace> not sure if this is something openbsd-specific
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
duderonomy has quit [Ping timeout: 250 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
<linetrace> seems the error is caused by the first gem which is specified to be pulled from a git repo
JohanP has quit [Ping timeout: 268 seconds]
<linetrace> this worked: $ bundle install --path=~/.gem
entel has quit [Quit: Connection closed for inactivity]
Mia has joined #ruby
ExoUNX has quit [Ping timeout: 240 seconds]
Axy has quit [Ping timeout: 240 seconds]
i9zO5AP has quit [Quit: WeeChat 2.5]
s3nd1v0g1us has quit [Quit: WeeChat 2.6]