havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.0, 2.7.2, 2.6.6: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.org | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | BLM <3
bsdbandit-01 has joined #ruby
SaburoArasaka is now known as JohnnySilverhand
JohnnySilverhand is now known as SaburoArasaka
bsdbandit-01 has quit [Read error: Connection reset by peer]
lucasb has quit [Quit: Connection closed for inactivity]
Lambaster has joined #ruby
Lambaster has left #ruby [#ruby]
Lambaster has joined #ruby
Lambaster has left #ruby [#ruby]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
weaksauce has joined #ruby
TomyLobo has quit [Read error: Connection reset by peer]
sagax has quit [Quit: Konversation terminated!]
Axy has joined #ruby
dionysus69 has quit [Ping timeout: 264 seconds]
SaburoArasaka has quit [Quit: Kindergarten is elsewhere!]
Mia has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 264 seconds]
whoisxy has joined #ruby
bsdbandit-01 has joined #ruby
impermanence has quit [Quit: Connection closed]
gavlee has quit [Ping timeout: 246 seconds]
gavlee has joined #ruby
Technodrome has joined #ruby
ur5us has joined #ruby
ur5us_ has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
prion has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
baojg has joined #ruby
noctux has quit [Ping timeout: 264 seconds]
akem has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
Lambaster has joined #ruby
whoisxy has quit [Ping timeout: 260 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
Lambaster has quit [Quit: leaving]
bsdbandit-01 has joined #ruby
bambanx has quit [Remote host closed the connection]
bambanx has joined #ruby
akem_ has joined #ruby
akem has quit [Ping timeout: 246 seconds]
bambanx has quit [Ping timeout: 264 seconds]
yxhuvud has quit [Remote host closed the connection]
yxhuvud has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
TCZ has joined #ruby
TCZ has quit [Client Quit]
noctux has joined #ruby
noctux has quit [Ping timeout: 240 seconds]
noctux has joined #ruby
orbyt_ has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
noctux has quit [Ping timeout: 265 seconds]
prion has quit [Ping timeout: 272 seconds]
<DerekNonGeneric> I had asked this question before, but the answer was somewhat inconclusive: is there a way to download pre-built binaries of the runtime? Right now, `rbenv install` takes quite a while and I was hoping that it would be possible to have the version I wanted to be installed in less time than it currently takes
noctux has joined #ruby
bsdbandit-01 has joined #ruby
harlin has joined #ruby
noctux has quit [Ping timeout: 246 seconds]
noctux has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
dviola has quit [Quit: WeeChat 3.0]
GodFather has quit [Ping timeout: 246 seconds]
siery has quit [Read error: Connection reset by peer]
dviola has joined #ruby
cnsvc_ has joined #ruby
polishdub has joined #ruby
aleksei has joined #ruby
aleksei has quit [Client Quit]
ur5us_ has quit [Ping timeout: 272 seconds]
<havenwood> DerekNonGeneric: Yes, there are a variety of options for statically linked, precompiled Rubies. What OS?
<havenwood> DerekNonGeneric: For example, on macOS: brew install ruby
wald0 has joined #ruby
ur5us_ has joined #ruby
<DerekNonGeneric> havenwood: the OS is Debian, so I imagine it would be the Aptitude package manager, but was wondering if I can select a specific version that way? I also see that homebrew can be installed on Linux too
cloud69 has quit [Quit: Connection closed for inactivity]
<havenwood> DerekNonGeneric: RVM is a good option.
<havenwood> DerekNonGeneric: https://rvm.io/binaries/debian/10/x86_64/
<havenwood> DerekNonGeneric: Or you can install those ^ and use chruby for switching.
<DerekNonGeneric> I think you hit the nail on the head with that link, thanks!
<havenwood> DerekNonGeneric: Travis and others also build statically linked Rubies. Or you can grab the Homebrew ones. RVM will just automatically grab em.
<havenwood> DerekNonGeneric: no prob!
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
bsdbandit-01 has joined #ruby
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
baojg has joined #ruby
baojg has quit [Remote host closed the connection]
ChmEarl has quit [Quit: Leaving]
Rounin has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
ur5us_ has quit [Ping timeout: 264 seconds]
gix has joined #ruby
gix_ has quit [Ping timeout: 240 seconds]
m27frogy has quit [Ping timeout: 246 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
wald0 has quit [Ping timeout: 246 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
baojg has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
cuerbot has quit [Read error: Connection reset by peer]
elcuervo has joined #ruby
adam12 has quit [Read error: Connection reset by peer]
adam12 has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
nofxx__ has quit [Read error: Connection reset by peer]
nofxx__ has joined #ruby
gix has quit [Ping timeout: 264 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
Flonk has quit [Ping timeout: 256 seconds]
sphex has quit [Ping timeout: 240 seconds]
siery has joined #ruby
Rudd0 has quit [Ping timeout: 240 seconds]
thad_the_man has quit [Ping timeout: 264 seconds]
sphex has joined #ruby
schaerli has joined #ruby
meinside has joined #ruby
landakram has joined #ruby
Lambaster has joined #ruby
schaerli has quit [Ping timeout: 256 seconds]
Lambaster has left #ruby [#ruby]
teclator has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
coniptor has quit [Ping timeout: 265 seconds]
TomyWork has joined #ruby
coniptor has joined #ruby
schne1der has joined #ruby
cliluw has quit [Ping timeout: 256 seconds]
cliluw has joined #ruby
nyota[m] has quit [Quit: Idle for 30+ days]
schne1der has quit [Ping timeout: 264 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schne1der has joined #ruby
TzilTzal has joined #ruby
cgfbee has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
kristian_on_linu has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
cgfbee has joined #ruby
drnerdius has joined #ruby
drnerdius has quit [Client Quit]
drnerdius has joined #ruby
drnerdius has quit [Client Quit]
drnerdius has joined #ruby
drnerdius has quit [Client Quit]
cgfbee has quit [Excess Flood]
cgfbee has joined #ruby
coniptor has quit [Ping timeout: 264 seconds]
schaerli has joined #ruby
Rudd0 has joined #ruby
bsdbandit-01 has joined #ruby
dilated_dinosaur has quit [Ping timeout: 256 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
coniptor has joined #ruby
bsdbandit-01 has joined #ruby
landakram has quit [Ping timeout: 264 seconds]
Technodrome has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
cnsvc_ has quit [Quit: WeeChat 3.0]
baojg has quit [Remote host closed the connection]
johnny56 has quit [Ping timeout: 256 seconds]
ua_ has quit [Ping timeout: 265 seconds]
ua has joined #ruby
alexherbo2 has joined #ruby
linoge has joined #ruby
linoge has quit [Remote host closed the connection]
siery has quit [Read error: Connection reset by peer]
johnny56 has joined #ruby
TCZ has joined #ruby
vondruch_ has joined #ruby
siery has joined #ruby
vondruch has quit [Ping timeout: 256 seconds]
vondruch_ is now known as vondruch
bsdbandit-01 has joined #ruby
schaerli_ has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
schaerli has quit [Ping timeout: 264 seconds]
bsdbandit-01 has joined #ruby
dilated_dinosaur has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
zapata has joined #ruby
viporli has joined #ruby
moldorcoder7 has quit [Quit: %bye mirc%]
linoge has joined #ruby
akem_ has quit [Ping timeout: 264 seconds]
linoge has quit [Remote host closed the connection]
viporli has quit [Ping timeout: 264 seconds]
linoge has joined #ruby
moldorcoder7 has joined #ruby
bsdbandit-01 has quit [Quit: -a- Connection Timed Out]
bsdbandit-01 has joined #ruby
m27frogy has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
somazero has quit [Quit: Leaving]
bsdbandit-01 has quit [Read error: Connection reset by peer]
akem has joined #ruby
linoge has quit [Remote host closed the connection]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
akem has quit [Ping timeout: 246 seconds]
maryo has joined #ruby
linoge has joined #ruby
linoge has quit [Remote host closed the connection]
somazero has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]
linoge has joined #ruby
kristian_on_linu has quit [Remote host closed the connection]
Flonk has joined #ruby
maryo has quit [Quit: Leaving]
gray-_-wolf has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dfucci has joined #ruby
prion has joined #ruby
TCZ has quit [Remote host closed the connection]
queip has quit [Ping timeout: 264 seconds]
fandre1986 has joined #ruby
akem has joined #ruby
stryek has joined #ruby
harlin has quit [Quit: Leaving]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
bsdbandit-01 has joined #ruby
fandre1986 has quit [Ping timeout: 246 seconds]
wald0 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
prion has quit [Ping timeout: 264 seconds]
adu has joined #ruby
adu has quit [Client Quit]
queip has joined #ruby
romanlevin333236 has joined #ruby
naftilos76 has joined #ruby
<naftilos76> Would it be correct to say that i am doing something seriously wrong if the thread count that i see in a ssh terminal htop session is peaking to 1000 threads while being 150-200 idle? I am running some ruby scripts and using threads! I know where the problem is but it is tricky to resolve. Just asking to see if from experience the 1000 threads is an insanely large number. Although the avg loads are not anywhere near 100% i still consider this to
<naftilos76> somewhat beyong what good practises dictate. Can anybody pls share his/her opinion?
prion has joined #ruby
peder has joined #ruby
lucasb has joined #ruby
Technodrome has joined #ruby
<peder> hi. Can someone tell me why "25".hex.chr returns "%", but "&#x25;".gsub(/&#x([[:xdigit:]]+);/,"\\1".hex.chr) gives med "\u0000" ?
akem has quit [Ping timeout: 260 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
iNs has quit [Ping timeout: 240 seconds]
iNs has joined #ruby
bsdbandit-01 has joined #ruby
cd has quit [Quit: cd]
jeromelanteri has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
TzilTzal has left #ruby [#ruby]
schaerli_ has quit [Ping timeout: 246 seconds]
Emmanuel_Chanel has quit [Read error: No route to host]
Emmanuel_Chanel has joined #ruby
bsdbandit-01 has joined #ruby
schaerli_ has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
fandre1986 has joined #ruby
spacesuitdiver has joined #ruby
jimcroft has joined #ruby
prepend has joined #ruby
GodFather has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schaerli_ has quit [Read error: Connection reset by peer]
schaerli_ has joined #ruby
siery has quit [Ping timeout: 264 seconds]
kristian_on_linu has joined #ruby
schaerli_ has quit [Ping timeout: 264 seconds]
<TheBrayn> peder: because "\\1".hex.chr is that, did you want "&#x25;".gsub(/&#x([[:xdigit:]]+);/,"\\1").hex.chr instead?
schaerli has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
siery has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spacesuitdiver has joined #ruby
spacesuitdiver has quit [Client Quit]
spacesuitdiver has joined #ruby
bsdbandit-01 has joined #ruby
siery has quit [Ping timeout: 246 seconds]
coniptor has quit [Ping timeout: 256 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
iNs has quit [Ping timeout: 240 seconds]
<peder> huh?
llua has quit [Quit: <Rudolph> shell code is what greycat reads to kids when he tucks them in]
iNs has joined #ruby
<havenwood> &>> "&#x25;".scan(/\h+/).map(&:hex).map(&:chr)
<rubydoc> stderr: playpen: timeout triggered! (https://carc.in/#/r/a90e)
<havenwood> #=> ["%"]
<havenwood> peder: Do you expect more than one of these in a String?
<peder> of course....
llua has joined #ruby
<peder> and lots of other stuff too
<peder> typically lots of html/xml-stuff
bsdbandit-01 has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> &>> require 'cgi'; CGI.unescape_html "&#x25;"
<rubydoc> # => "%" (https://carc.in/#/r/a90f)
<havenwood> peder: I'd suggest using CGI rather than rolling your own.
<peder> well... i didn't really ask for another way to do it, just why that gsub-line return other values than when testing manually
bsdbandit-01 has quit [Read error: Connection reset by peer]
spacesuitdiver has joined #ruby
<peder> which to me, seems a bit inconsistent
coniptor has joined #ruby
spacesuitdiver has quit [Client Quit]
ChmEarl has joined #ruby
Tempesta_ has joined #ruby
<havenwood> &>> "&#x25;".gsub(/&#x([[:xdigit:]]+);/, $1.hex.chr)
<rubydoc> stderr: -e:4:in `<main>': undefined method `hex' for nil:NilClass (NoMethodError)... check link for more (https://carc.in/#/r/a90g)
<peder> $1 isn't defined when doing it that way
Tempesta has quit [Read error: Connection reset by peer]
<peder> &>> "&#x25;".gsub(/&#x([[:xdigit:]]+);/) { $1.hex.chr }
<havenwood> I meant to use a block
<peder> &>> "&#x25;".gsub(/&#x([[:xdigit:]]+);/) { $1.hex.chr }
<rubydoc> # => "%" (https://carc.in/#/r/a90h)
<peder> that works
<peder> but doesn't explain why the other one doesn't
<prion> the backreference substitution is done after the .hex.chr is applied of course
<peder> that makes senes
<peder> thanks
panorain has quit [Quit: Leaving]
<prion> np
TzilTzal has joined #ruby
roshanavand has joined #ruby
mahlon has quit [Quit: WeeChat 3.0]
mahlon has joined #ruby
siery has joined #ruby
schaerli has quit [Ping timeout: 246 seconds]
schaerli has joined #ruby
schne1der has quit [Quit: schne1der]
nofxx__ has quit [Ping timeout: 246 seconds]
nofxx has joined #ruby
coniptor has quit [Ping timeout: 264 seconds]
dionysus69 has joined #ruby
dionysus69 has quit [Changing host]
dionysus69 has joined #ruby
vondruch has quit [Read error: Connection reset by peer]
roshanavand1 has joined #ruby
roshanavand has quit [Ping timeout: 246 seconds]
roshanavand1 is now known as roshanavand
coniptor has joined #ruby
cthulchu_ has joined #ruby
TomyWork has quit [Remote host closed the connection]
TomyLobo has joined #ruby
nofxx_ has joined #ruby
nofxx has quit [Ping timeout: 246 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
roshanavand has quit [Ping timeout: 240 seconds]
schaerli has quit [Ping timeout: 264 seconds]
kristian_on_linu has quit [Remote host closed the connection]
roshanavand has joined #ruby
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
fandre1986 has quit [Quit: Connection closed]
roshanavand has quit [Ping timeout: 256 seconds]
bsdbandit-01 has joined #ruby
SeepingN has joined #ruby
cuerbot has joined #ruby
elcuervo has quit [Ping timeout: 246 seconds]
TzilTzal has quit [Quit: Leaving.]
howdoi has joined #ruby
coniptor has quit [Ping timeout: 240 seconds]
dfucci has quit [Ping timeout: 256 seconds]
coniptor has joined #ruby
Tempesta_ has left #ruby ["Closing Channel, bye."]
Tempesta has joined #ruby
ua has quit [Ping timeout: 264 seconds]
dfucci has joined #ruby
klaas_ is now known as klaas
taq has joined #ruby
teardown has joined #ruby
taq has left #ruby [#ruby]
<teardown> I'm trying to implement a web proxy that can limit requests per second. Anyone know if WEBrick::HTTPProxyServer's ProxyContentHandler parameter is the right place to implement the limiting? => http://termbin.com/bw8j
<teardown> I don't see anywhere else to access the request/response pair...
ua has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
teardown has quit [Quit: Connection closed]
jess has joined #ruby
jess has quit [Client Quit]
jess has joined #ruby
dfucci has quit [Ping timeout: 256 seconds]
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #ruby
also_uplime has quit [Disconnected by services]
also_uplime has joined #ruby
blender_ has joined #ruby
blender has quit [Ping timeout: 265 seconds]
coniptor has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
gix has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
akem has joined #ruby
bsdbandit-01 has joined #ruby
akem_ has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
coniptor has joined #ruby
akem has quit [Ping timeout: 264 seconds]
bsdbandit-01 has joined #ruby
ur5us_ has joined #ruby
cloud69 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
yokel has quit [Ping timeout: 240 seconds]
bsdbandit-01 has joined #ruby
yokel has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
romanlevin333236 has quit [Ping timeout: 256 seconds]
romanlevin333236 has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
ur5us_ has quit [Ping timeout: 264 seconds]
coniptor has quit [Ping timeout: 265 seconds]
orbyt_ has joined #ruby
dentarg has joined #ruby
BSaboia has joined #ruby
coniptor has joined #ruby
RiPuk has joined #ruby
RiPuk has quit [Quit: ZNC 1.8.2 - https://znc.in]
linoge has quit [Remote host closed the connection]
linoge has joined #ruby
linoge has quit [Ping timeout: 264 seconds]
naftilos76 has quit [Quit: Leaving]
dfucci has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
coniptor has quit [Ping timeout: 264 seconds]
wimpog has joined #ruby
<wimpog> Can someone please look at my pastebin: https://pastebin.com/hrvge6kU
<ruby[bot]> wimpog: as I told you already, please use https://gist.github.com
<wimpog> What?
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bsdbandit-01 has joined #ruby
coniptor has joined #ruby
<havenwood> wimpog: Show us the definition of the `additional_data` proc?
<havenwood> wimpog: The bot is just objecting to your choice of paste bin.
bsdbandit-01 has quit [Read error: Connection reset by peer]
<havenwood> wimpog: Does just `json.data nil` work?
<havenwood> wimpog: additional_data.call(object, local_assigns) if additional_data&.respond_to?(:call)
landakram has joined #ruby
<havenwood> wimpog: If you get the same error with `json.data(nil)` it would be telling.
<wimpog> havenwood: let me try that
<havenwood> wimpog: How about?: json.data(additional_data.call(object, local_assigns)) if additional_data&.respond_to?(:call)
<apotheon> Gists might be a poor choice. Some people have pseudopolitical reasons to want to avoid GitHub these days.
<havenwood> apotheon: https://dpaste.org if you prefer.
<apotheon> I do like the fact one doesn't need to turn on scripting in the browser for gists, though.
<wimpog> why pastebin ain't no good?
<apotheon> I prefer sprunge, and I don't think the bot ever complained.
<havenwood> ?pastebin
<ruby[bot]> Please don't use Pastebin! Pastebin sucks because it loads slowly, has ads which are distracting and has terrible formatting. Please use Gist (http://gist.github.com) or Pastie (http://pastie.org).
<wimpog> I see
gray-_-wolf has quit [Quit: WeeChat 3.0]
<wimpog> havenwood: `json.data nil` works. Added `additional_data&.respond_to?(:call)` as another condition and it didn't work
<havenwood> wimpog: Is it `additional_data.call(object, local_assigns)` that's erroring?
<havenwood> wimpog: Show the code for that proc?
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
<wimpog> havenwood: yeah. Trying to find the code for that procedure
alexherbo2 has joined #ruby
<apotheon> hm
<apotheon> dpaste doesn't seem too bad at all
dfucci has quit [Ping timeout: 246 seconds]
<apotheon> I do still prefer sprunge, though, because most of the time when I want to paste something it's in a file on my machine or otherwise most easily conveyed via the terminal rather than a browser.
<wimpog> havenwood: thanks! found the issue in the proc
dcunit3d has joined #ruby
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
cloud69 has quit [Quit: Connection closed for inactivity]
cloud69 has joined #ruby
coniptor has quit [Ping timeout: 264 seconds]
Technodrome has joined #ruby
wimpog has quit [Quit: wimpog]
cd has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
landakram has quit [Remote host closed the connection]
coniptor has joined #ruby
foul_owl has joined #ruby
<foul_owl> is the "gem" command specific to each version of ruby? if I use rbenv to install ruby 2.7.2, then I want to install a gem, I need to be sure the "gem" command is using 2.7.2's version of the gem command, and not the system gem command, is that correct?
BSaboia has quit [Quit: This computer has gone to sleep]
FastJack has quit [Ping timeout: 246 seconds]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
va5c0 has joined #ruby
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo2 has joined #ruby
<apotheon> foul_owl: Yeah, that's generally the way to do it.
<apotheon> foul_owl: . . . especially if you're using a version manager.
coniptor has quit [Ping timeout: 256 seconds]
gigetoo has quit [Ping timeout: 246 seconds]
<havenwood> foul_owl: Kernel#gem from RubyGems ships with Ruby but you can update RubyGems apart from Ruby, with will overwrite the method definition. It's largely stable and shouldn't matter. You'll get the latest version of RubyGems, whether it's what shipped with Ruby or newer.
va5c0 has quit [Ping timeout: 240 seconds]
Rounin has quit [Ping timeout: 246 seconds]
<havenwood> foul_owl: You can update RubyGems itself with: gem update --system
alexherbo2 has quit [Ping timeout: 246 seconds]
<havenwood> foul_owl: Ohhh, you mean `gem` command line command not gem directive.....
<apotheon> Yeah, I'm pretty sure it's `gem install` kinda stuff.
<havenwood> foul_owl: I guess similar answer. Each version of Ruby ships with a ./bin/gem but you can update RubyGems, providing a new `gem` command.
<havenwood> The `gem` command is a bit less stable than the `bin` directive, since the API changes over major RubyGems versions.
gigetoo has joined #ruby
<havenwood> bundle bundler erb gem irb racc rake rbs rdoc ri ruby typeprof
<havenwood> foul_owl: These gem ^ executables all ship with Ruby, alongside the `ruby` binary in bin/.
<havenwood> foul_owl: They can all be updated independently of Ruby.
<havenwood> See: https://stdgems.org/
<havenwood> The rake, rbs, and typeprof executables can be updated or even removed by uninstalling those gems. The other gems can't be uninstalled but can be updated.
oddp has joined #ruby
coniptor has joined #ruby
FrankyCyborg has quit [Quit: The Sleep Monster got me!]
va5c0 has joined #ruby
bsdbandit-01 has joined #ruby
orbyt_ has quit [Ping timeout: 256 seconds]
bsdbandit-01 has quit [Read error: Connection reset by peer]
BSaboia has joined #ruby
teclator has quit [Remote host closed the connection]
cthulchu_ has quit [Ping timeout: 265 seconds]
bsdbandit-01 has joined #ruby
bsdbandit-01 has quit [Read error: Connection reset by peer]
BSaboia has quit [Quit: This computer has gone to sleep]
Reshi_ has joined #ruby