havenwood changed the topic of #ruby to: Ruby 3.3.0, 3.2.3, 3.1.4 https://www.ruby-lang.org | Rules https://ruby-community.com | Logs https://libera.irclog.whitequark.org/ruby
<samanera> Hello, I'm trying to manage my Ruby installation with Homebrew; after running `gem update --system`, bundler is updated on $brew/opt/ruby but not under $brew/Cellar/ruby
<weaksauce> samanera it's a good idea to just leave the system ruby as it is
<weaksauce> use something like rbenv to manage rubies
<samanera> weaksauce: do you mean the ruby included with macos?
<weaksauce> yeah
rvalue has quit [Ping timeout: 246 seconds]
<weaksauce> if you upgrade the system ruby you might have some problems(also you generally need more than one ruby for different projects)
<samanera> weaksauce: thanks for the links; the idea of running `gem update --system` is to update the rubygems and bundler of the ruby version installed through homebrew
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
<samanera> I was wondering about the quirks on the formula regarding bundler: https://github.com/Homebrew/homebrew-core/blob/master/Formula/r/ruby.rb
graaff has joined #ruby
<weaksauce> i don't use brew to manage ruby so i don't know. it's much simpler to use rbenv or the like
<weaksauce> the problem with hijacking system ruby is whatever system scripts might depend on those versions
rvalue has joined #ruby
mange has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
dostoyevsky2 has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
eddof13 has joined #ruby
Perflosopher has joined #ruby
eddof13 has quit [Client Quit]
poems_ has joined #ruby
poems has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
dostoyevsky2 has joined #ruby
<samanera> thanks, weaksauce, I'll take it into account :)
<samanera> think I got it; my problem was caused by the following symlink: https://github.com/Homebrew/homebrew-core/blob/master/Formula/r/ruby.rb#L155
<samanera> rubygems uses the `loaded_from` path to get a directory later used as the `bin` location, https://github.com/rubygems/rubygems/blob/master/lib/rubygems/specification.rb#L2107-L2114
eddof13 has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz_ has quit [Ping timeout: 272 seconds]
<samanera> it was following the symlinks and trying to search the latest bundler on a directory where it wasn't installed
<samanera> it is, indeed, simpler to use a dedicated version manager like rbenv; I was just getting bugged by not being able to make it work with hombrew, sorry to bother you all!
<weaksauce> simpler and more robust to boot :)
<weaksauce> glad you got it sorted though
johnjaye has quit [Ping timeout: 268 seconds]
johnjaye has joined #ruby
jenrzzz has joined #ruby
Stenotrophomonas has joined #ruby
brokkoli_origina has quit [Ping timeout: 246 seconds]
jenrzzz_ has joined #ruby
eddof13 has quit [Quit: eddof13]
samanera has quit [Remote host closed the connection]
jenrzzz_ has quit [Ping timeout: 268 seconds]
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
xuochi has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
xuochi has quit [Quit: leaving]
jenrzzz has joined #ruby
hightower4 has joined #ruby
hightower3 has quit [Ping timeout: 264 seconds]
<[0x1eef]> I think it depends on your platform. I use 'system' ruby exclusively on BSD. On Debian, I definitely wouldn't bother with it.
<weaksauce> i think it more depends on how many projects you use
<weaksauce> if you only have one project on one version of ruby sure
jenrzzz has quit [Ping timeout: 255 seconds]
<[0x1eef]> I have mutliple versions of Ruby installed via system packages. I switch between them with: https://github.com/0x1eef/ports/tree/main/freebsd/devel/ruby-shims.
<[0x1eef]> There's ruby31, ruby32, ruby33, etc packages. The options aren't as diverse but so far I haven't needed that.
desnudopenguino has quit [Ping timeout: 256 seconds]
szkl has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
jenrzzz_ has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
<weaksauce> ah yeah if you have a decent package manager that's probably not ba
<weaksauce> d
jenrzzz has joined #ruby
fercell_ has joined #ruby
fercell has quit [Ping timeout: 246 seconds]
donofrio has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
<havenwood> If samanera comes back, Homebrew Ruby doesn't put its gem binary dir in $PATH. You can just manually add it just works from there.
<havenwood> Alternatively, you can do like [0x1eef] suggests but with chruby in place of ruby-shims.
<havenwood> Here's an example of chruby with Homebrew https://gist.github.com/havenwood/ba31f67c1d89ac236400
donofrio has quit [Ping timeout: 255 seconds]
<johnjaye> why would ruby on homebrew behave differently to other platforms?
<[0x1eef]> It can vary a lot by platform. Some platforms provide a single Ruby version. Others separate a standard installation into multiple packages. For example, FreeBSD separate ruby and rubygems. They also promote installing gems via the ports collection rather than 'gem install ...'. So there's a lot that can be different.
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
grenierm has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
_ht has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
grenierm has quit [Quit: Client closed]
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz_ has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
nofxx has joined #ruby
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
nofxx has quit [Quit: Leaving]
jenrzzz_ has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
mange has quit [Remote host closed the connection]
nofxx has joined #ruby
jenrzzz has joined #ruby
_ht has quit [Remote host closed the connection]
Axenntio has joined #ruby
grenierm has joined #ruby
Axenntio has quit [Ping timeout: 255 seconds]
jenrzzz_ has joined #ruby
Axenntio has joined #ruby
jenrzzz_ has quit [Ping timeout: 255 seconds]
grenierm has quit [Quit: Client closed]
grenierm has joined #ruby
jenrzzz_ has joined #ruby
smp has quit [Quit: ZNC 1.8.2 - https://znc.in]
jenrzzz_ has quit [Ping timeout: 268 seconds]
CrazyEddy has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
eoli3n has quit [Remote host closed the connection]
jenrzzz_ has joined #ruby
jas-maelstrom has quit [Ping timeout: 264 seconds]
eoli3n has joined #ruby
jenrzzz_ has quit [Ping timeout: 268 seconds]
eoli3n has quit [Remote host closed the connection]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 240 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 255 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 260 seconds]
jenrzzz_ has joined #ruby
jas-maelstrom has joined #ruby
smp has joined #ruby
jenrzzz_ has quit [Ping timeout: 246 seconds]
smp has quit [Client Quit]
jenrzzz_ has joined #ruby
smp has joined #ruby
eoli3n has joined #ruby
jenrzzz_ has quit [Ping timeout: 255 seconds]
Vonter_ has quit [Ping timeout: 264 seconds]
Vonter has joined #ruby
eoli3n has quit [Remote host closed the connection]
eoli3n has joined #ruby
eoli3n has quit [Remote host closed the connection]
eoli3n has joined #ruby
eoli3n has quit [Remote host closed the connection]
eoli3n has joined #ruby
Axenntio has quit [Quit: Axenntio]
Axenntio has joined #ruby
szkl has joined #ruby
smp- has joined #ruby
smp has quit [Ping timeout: 256 seconds]
smp- is now known as smp
smp has quit [Ping timeout: 260 seconds]
smp has joined #ruby
Stenotrophomonas is now known as brokkoli_origin
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 272 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 255 seconds]
grenierm has quit [Quit: Client closed]
monr0e has quit [Ping timeout: 260 seconds]
Axenntio has quit [Quit: Axenntio]
Axenntio has joined #ruby
jenrzzz_ has joined #ruby
infinityfye has quit [Ping timeout: 260 seconds]
highrate has quit [Ping timeout: 252 seconds]
jenrzzz_ has quit [Ping timeout: 240 seconds]
ua_ has quit [Ping timeout: 256 seconds]
Axenntio has quit [Quit: Axenntio]
smp has quit [Quit: ZNC 1.8.2 - https://znc.in]
jenrzzz_ has joined #ruby
TomyWork has joined #ruby
Axenntio has joined #ruby
jenrzzz_ has quit [Ping timeout: 272 seconds]
Axenntio has quit [Ping timeout: 255 seconds]
smp has joined #ruby
Axenntio has joined #ruby
nofxx has quit [Ping timeout: 260 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 260 seconds]
<adam12> johnjaye: Homebrew is a rolling release, so versions of packages aren't pinned.
<adam12> johnjaye: For Homebrew, it's better to consider Ruby/Python/etc (anything where you might want a pinned version outside) as the Ruby or Python (or whatever) _just_ for Homebrew packages.
jenrzzz_ has joined #ruby
<adam12> This might be fine for simple scripts, but if you ship with a Gemfile then you probably want a pinned Ruby version.
jenrzzz_ has quit [Ping timeout: 240 seconds]
kokoro has quit [Ping timeout: 252 seconds]
CrazyEddy has joined #ruby
kokoro has joined #ruby
nofxx has joined #ruby
dviola has joined #ruby
infinityfye has joined #ruby
berrymary has quit [Remote host closed the connection]
ua_ has joined #ruby
Sobinec has quit [Quit: Client exit]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 272 seconds]
xuochi has joined #ruby
<adam12> An early demo of the micro-SaaS I'm working on. Falcon+Async. I love how fast it is, even though it's making 40+ DNS queries. https://demo.dnslint.com
eddof13 has joined #ruby
dixan has joined #ruby
dixan has left #ruby [#ruby]
Axenntio has quit [Quit: Axenntio]
Sobinec has joined #ruby
jenrzzz_ has joined #ruby
eddof13 has quit [Quit: eddof13]
<havenwood> adam12: Nice!
jenrzzz_ has quit [Ping timeout: 256 seconds]
<adam12> havenwood: Async is so awesome.
hightower3 has joined #ruby
hightower4 has quit [Ping timeout: 264 seconds]
xuochi has quit [Quit: leaving]
donofrio has joined #ruby
cek has joined #ruby
crespire has joined #ruby
crespire1 has quit [Ping timeout: 255 seconds]
Vonter has quit [Ping timeout: 268 seconds]
Vonter has joined #ruby
Sobinec has quit [Read error: Connection reset by peer]
Sobinec has joined #ruby
user71 has joined #ruby
highrate has joined #ruby
highrate has quit [Ping timeout: 264 seconds]
nofxx has quit [Ping timeout: 260 seconds]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
nofxx has joined #ruby
eddof13 has joined #ruby
noet_all has joined #ruby
noet_all has quit [Ping timeout: 264 seconds]
_ht has joined #ruby
jenrzzz_ has joined #ruby
desnudopenguino has joined #ruby
R2 has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
R2 has quit [Ping timeout: 264 seconds]
R2 has joined #ruby
rvalue has quit [Ping timeout: 272 seconds]
graywolf has joined #ruby
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
rvalue has joined #ruby
ih8u has quit [Remote host closed the connection]
Sobinec has quit [Quit: Client exit]
ih8u has joined #ruby
R2 has quit [Ping timeout: 255 seconds]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
<adam12> I was spelunking through some old bookmarks and came across this. https://github.com/rrrene/inch
<adam12> Looks super handy for finding places where you can improve docs.
highrate has joined #ruby
Axenntio has joined #ruby
Axenntio has quit [Client Quit]
jas-maelstrom has quit [Remote host closed the connection]
Axenntio has joined #ruby
hightower4 has joined #ruby
hightower3 has quit [Ping timeout: 268 seconds]
cek has quit [Quit: Connection closed for inactivity]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
eddof13 has joined #ruby
Axenntio has quit [Quit: Axenntio]
jas-maelstrom has joined #ruby
jenrzzz_ has joined #ruby
highrate has quit [Changing host]
highrate has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]
Sobinec has joined #ruby
<[0x1eef]> yardoc has that builtin, but a bit more basic than that. It only grades documented vs undocumented.
<[0x1eef]> IIRC there's also a rubocop rule somewhere that encourages you to write module-level docs.
user71 has quit [Quit: Leaving]
jenrzzz_ has joined #ruby
jmcgnh has quit [Ping timeout: 255 seconds]
jenrzzz_ has quit [Ping timeout: 255 seconds]
r3m has quit [Quit: WeeChat 4.3.0-dev]
r3m has joined #ruby
jmcgnh has joined #ruby
_ht has quit [Remote host closed the connection]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
eddof13 has quit [Quit: eddof13]
nofxx has quit [Ping timeout: 260 seconds]
jenrzzz_ has quit [Ping timeout: 264 seconds]
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
duderonomy has joined #ruby
graywolf has quit [Quit: WeeChat 4.0.4]
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
desnudopenguino has quit [Ping timeout: 264 seconds]
desnudopenguino1 has joined #ruby
desnudopenguino1 is now known as desnudopenguino
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
desnudopenguino1 has joined #ruby
desnudopenguino has quit [Ping timeout: 240 seconds]
desnudopenguino1 is now known as desnudopenguino
ftajhii has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
ftajhii has joined #ruby
jenrzzz has joined #ruby
howdoi has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
TomyWork has quit [Remote host closed the connection]
jenrzzz has joined #ruby