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
Vonter has quit [Ping timeout: 256 seconds]
Vonter has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
thodg has quit [Ping timeout: 268 seconds]
rvalue has quit [Quit: ZNC - https://znc.in]
rvalue has joined #ruby
jenrzzz has joined #ruby
bhaak has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
bhaak has joined #ruby
markong has quit [Ping timeout: 260 seconds]
mange has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
grenierm has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Al2O3 has quit [Quit: Good mourning, good after nun, g'nite, and goober evenings.]
Al2O3 has joined #ruby
Al2O3 has quit [Changing host]
Al2O3 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz_ has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
brokkoli_origina has quit [Ping timeout: 246 seconds]
brokkoli_origina has joined #ruby
fercell has joined #ruby
fercell_ has quit [Ping timeout: 260 seconds]
jenrzzz_ has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
fercell_ has joined #ruby
fercell has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
fercell has joined #ruby
fercell_ has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
jenrzzz has joined #ruby
CRISPR has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
Al2O3 has quit [Quit: Good mourning, good after nun, g'nite, and goober evenings.]
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
_ht has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
ionface has quit [Ping timeout: 260 seconds]
jenrzzz_ has quit [Ping timeout: 246 seconds]
ionface has joined #ruby
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
ih8u has joined #ruby
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
<rapha> Punct
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
schne1der has joined #ruby
TomyWork has quit [Remote host closed the connection]
TomyWork has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
CRISPR has quit [Ping timeout: 264 seconds]
jenrzzz_ has quit [Ping timeout: 264 seconds]
passbe has quit [Quit: Ping timeout (120 seconds)]
passbe has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz_ has quit [Ping timeout: 252 seconds]
milouse has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
ih8u has quit [Ping timeout: 276 seconds]
ih8u has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
RetroPunk has quit [Quit: cya]
RetroPunk has joined #ruby
RetroPunk has quit [Remote host closed the connection]
RetroPunk has joined #ruby
graywolf has joined #ruby
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
Tempesta has quit [Quit: See ya!]
Doc_IX has quit [Ping timeout: 252 seconds]
Tempesta has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
markong has joined #ruby
jenrzzz_ has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
Doc_X has joined #ruby
johnjaye has quit [Ping timeout: 246 seconds]
johnjaye has joined #ruby
johnjaye has quit [Ping timeout: 246 seconds]
johnjaye has joined #ruby
jenrzzz_ has joined #ruby
floppy_disk has joined #ruby
jenrzzz_ has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
markong has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
floppy_disk has quit [Quit: Konversation terminated!]
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
rovanion has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 264 seconds]
rovanion has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
Pixi` has joined #ruby
mollerup has joined #ruby
thelounge182 has joined #ruby
brw5 has joined #ruby
pounce_ has joined #ruby
meimei_ has joined #ruby
egality_ has joined #ruby
m_antis- has joined #ruby
gcd_ has joined #ruby
peder_ has joined #ruby
meimei has quit [Ping timeout: 264 seconds]
milouse has quit [Ping timeout: 264 seconds]
patrick has quit [Ping timeout: 264 seconds]
pounce has quit [Ping timeout: 264 seconds]
jas-maelstrom has quit [Ping timeout: 264 seconds]
gthank has quit [Ping timeout: 264 seconds]
m__antis has quit [Ping timeout: 264 seconds]
brw has quit [Ping timeout: 264 seconds]
Pixi has quit [Ping timeout: 264 seconds]
gcd has quit [Ping timeout: 264 seconds]
nmollerup has quit [Ping timeout: 264 seconds]
thelounge18 has quit [Ping timeout: 264 seconds]
jmcgnh has quit [Ping timeout: 264 seconds]
egality has quit [Ping timeout: 264 seconds]
peder has quit [Ping timeout: 264 seconds]
brw5 is now known as brw
patrick__ is now known as patrick
meimei_ is now known as meimei
pounce_ is now known as pounce
thelounge182 is now known as thelounge18
peder_ is now known as peder
jmcgnh_ has joined #ruby
jmcgnh_ is now known as jmcgnh
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
markong has joined #ruby
milouse has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
markong has quit [Ping timeout: 264 seconds]
jenrzzz_ has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
vvn has joined #ruby
<vvn> hi there -- is a Gemfile and committing a Gemfile.lock in a project still a recommended way to share exact dependencies?
<ewoud> depends - are you packaging an application or a gem?
<vvn> actually I was looking at a version locking mechanism from a different non-ruby project, and I recall the Gemfile.lock mechanism from Ruby. I was wondering if that was still a good practice to reproduce, or if best practices change
<vvn> changed*
jenrzzz has quit [Ping timeout: 260 seconds]
markong has joined #ruby
<adam12> vvn: It's still best practice.
<caleb> yup, we still commit the Gemfile and Gemfile.lock for apps
<vvn> thanks guys
<vvn> so what's the subtlety in terms of dependency locking for an app vs a gem if I may ask?
jenrzzz has joined #ruby
<ewoud> I think gems (libraries) should have wider allowed versions and a single Gemfile.lock doesn't typically reflect how consumers of your library may use it
<vvn> I guess one wants to be less restrictive for a gem (allowing minor bumps)?
<vvn> got it, it makes sense
<ewoud> there's https://github.com/thoughtbot/appraisal which can also be useful for applications, like testing both with Rails X and Rails Y when you're upgrading
<ewoud> where production may run with version X but you want CI to also test version Y
<vvn> I see
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz_ has quit [Ping timeout: 256 seconds]
c10l has quit [Remote host closed the connection]
c10l has joined #ruby
jas-maelstrom has joined #ruby
jenrzzz has joined #ruby
milouse has left #ruby [#ruby]
Guest24 has joined #ruby
Guest24 has quit [Client Quit]
<adam12> vvn: The original best practice was _not_ commiting the Gemfile.lock for gems, because it might hide bugs as the Gemfile.lock specifies the local dev dependency too.
<adam12> vvn: This has been reverted lately, where it's recommended to commit the Gemfile.lock, but delete it during the CI run. New developers can get up to speed with a working set of dependencies and CI can watch for breaking changes in upstream dependencies.
<adam12> I'm mixed on both approaches, and flip flop between them. There are projects that don't even use bundler (sequel, roda are two examples) so you can live without it if you're familiar enough with ruby. For sequel & roda, it involves `gem install --development <gem_name>` which is probably not something that most Rubyists have ever ran in their life
<adam12> :)
___nick___ has joined #ruby
<vvn> adam12: removing it in the CI only makes sense if the purpose of the CI is actually to do CD and anticipate upstream breaks
<vvn> but I get your point
markong has quit [Remote host closed the connection]
donofrio has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz_ has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
hololeap has quit [Quit: Bye]
hololeap has joined #ruby
jenrzzz_ has joined #ruby
johnjaye has quit [Ping timeout: 256 seconds]
johnjaye has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 246 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 255 seconds]
szkl has quit [Quit: Connection closed for inactivity]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
Guest30 has joined #ruby
<Guest30> Hello, we are facing an unexpected issue using PTY.spawn on Mac. I don't manage to repro on Linux. Before I create an issue I wondered if someone wanted to have a look at the code in case I missed something obvious.
<Guest30> The code is here https://github.com/lacostej/cienvs/blob/main/test_pty.rb, in particular lines 4 to 23 for the Pty code itself.
<Guest30> to summarize, running PTY.spawn("echo foo"), I sometimes capture empty output. This happens rarely (once per thousand or less). But if I use the stress program in the background, this happens a lot (a few percents). Is this expected?
Artea has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jenrzzz_ has joined #ruby
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
<Guest30> I've reported the issue as https://bugs.ruby-lang.org/issues/20206 Hopefully, the error is on my side. Thanks
Guest30 has quit [Quit: Client closed]
jenrzzz_ has quit [Ping timeout: 264 seconds]
___nick___ has quit [Ping timeout: 260 seconds]
Guest16 has joined #ruby
Guest16 has quit [Client Quit]
henk has joined #ruby
_ht has quit [Remote host closed the connection]
Al2O3 has joined #ruby
Al2O3 has quit [Changing host]
Al2O3 has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
schne1der has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz_ has quit [Ping timeout: 268 seconds]
Al2O3 is now known as TheRock
jenrzzz has joined #ruby
jenrzzz_ has joined #ruby
dalan038228335 has quit [Quit: dalan038228335]
dalan038228335 has joined #ruby
TheRock is now known as Al2O3
jenrzzz_ has quit [Ping timeout: 276 seconds]
jenrzzz_ has joined #ruby
graywolf has quit [Quit: WeeChat 4.0.4]
eoli3n has quit [Read error: Connection reset by peer]
jenrzzz_ has quit [Remote host closed the connection]
eoli3n has joined #ruby
jenrzzz_ has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
desnudopenguino has quit [Ping timeout: 256 seconds]
jenrzzz_ has quit [Ping timeout: 264 seconds]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 264 seconds]
desnudopenguino has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Ping timeout: 256 seconds]