havenwood changed the topic of #ruby to: Ruby 3.3.5 (3.4.0-preview2) https://www.ruby-lang.org | Logs https://libera.irclog.whitequark.org/ruby
weaksauc_ has quit [Quit: Textual IRC Client: www.textualapp.com]
weaksauce has joined #ruby
o0x1eef has quit [Quit: brb]
o0x1eef has joined #ruby
konsolebox has joined #ruby
mange has joined #ruby
fercell has quit [Ping timeout: 245 seconds]
fercell has joined #ruby
cappy has joined #ruby
desnudopenguino has quit [Ping timeout: 252 seconds]
rvalue- has joined #ruby
rvalue has quit [Ping timeout: 265 seconds]
rvalue- is now known as rvalue
FetidToot1 has joined #ruby
FetidToot has quit [Read error: Connection reset by peer]
FetidToot1 is now known as FetidToot
gvg_ has quit [Ping timeout: 260 seconds]
grenierm has joined #ruby
jmjl has quit [Remote host closed the connection]
jmjl has joined #ruby
mange has quit [Remote host closed the connection]
konsolebox has quit [Ping timeout: 265 seconds]
cappy has quit [Quit: Leaving]
konsolebox has joined #ruby
gvg has joined #ruby
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
Bounga has quit [Ping timeout: 245 seconds]
graemefawcett has quit [Ping timeout: 245 seconds]
slondr has quit [Ping timeout: 245 seconds]
graemefawcett has joined #ruby
Bounga has joined #ruby
slondr has joined #ruby
hwpplayer1 has joined #ruby
dminuoso has joined #ruby
<dminuoso> Hi. I have a package build by nix in a way that I cannot trivially apply a patch. But I can vendor the Gemfile, is there a nice way to apply a patch from a Gemfile?
<dminuoso> Or should I just put the modified package on a git repository and just specify `gem "foo", git: ....` ?
user71 has joined #ruby
konsolebox has quit [Ping timeout: 250 seconds]
patrick has quit [Remote host closed the connection]
patrick has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
Linux_Kerio has joined #ruby
Linux_Kerio has quit [Read error: Connection reset by peer]
user71 has quit [Quit: Leaving]
fercell has quit [Quit: ZNC - https://znc.in]
fercell has joined #ruby
hwpplayer1 has joined #ruby
hwpplayer1 has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
greybeard has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
grenierm has quit [Quit: Client closed]
hwpplayer1 has joined #ruby
___nick___ has joined #ruby
user71 has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
hwpplayer1 has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
freesteph has joined #ruby
<freesteph> hello everyone
<freesteph> I'm running into that weird thing again where `bundle install` fails because there are some missing gems
<freesteph> a weird catch 22
<freesteph> it's because my env contains `RUBYOPT=-r/usr/local/lib/ruby/3.3.0/bundler/setup`
<freesteph> and that script runs `Bundler.ui.silence { Bundler.setup }`
<freesteph> it's very confusing as an end-user
<freesteph> who is setting that RUBYOPT and why? how is one supposed to walk out of this endless loop of "try to install gems, which are missing and therefore make Bundler crash"
<o0x1eef> RUBYOPT is not normally set. Something in your environment must be doing that. Try: 'fgrep -rn RUBYOPT ~'. You can try 'unset RUBYOPT' and see if that helps as well. The effect of that ${RUBYOPT} is that your code will always run within bundler.
<freesteph> thank you
<freesteph> it's from the Docker image, where I grepped but couldn't find mention of RUBYOPT either
trillion_exabyte has quit [Ping timeout: 260 seconds]
trillion_exabyte has joined #ruby
desnudopenguino has joined #ruby
<adam12> Bundler will set `RUBYOPT` for `bundle exec`
<adam12> ^ freesteph
<adam12> Can you show exact code and error?
<adam12> $ bundle exec env | grep '^RUBYOPT='
<adam12> RUBYOPT=-r/Users/adam/.local/share/mise/installs/ruby/3.3.3/lib/ruby/gems/3.3.0/gems/bundler-2.5.9/lib/bundler/setup
crespire has quit [Killed (NickServ (GHOST command used by crespire1))]
crespire1 has joined #ruby
crespire has joined #ruby
<o0x1eef> TIL :)
<freesteph> for reasons beyond me I cannot reproduce the bug with a clean repo/docker iamge
<freesteph> image
<freesteph> I'm so confused
crespire1 has quit [Ping timeout: 248 seconds]
crespire has quit [Killed (NickServ (GHOST command used by crespire1))]
crespire1 has joined #ruby
<freesteph> OK I think I know
<freesteph> I was trying to debug the installation of the gem "debugger" when the actual gem is called "debug", so that has now cost me half a day of work but that's a different story
<freesteph> anyway this installation fails because "debugger" went obsolete a while ago
<freesteph> but I'm wondering if that install was polluting the ENV with these variables
<freesteph> though I guess you also have `bundler/setup` in yours
<freesteph> goddammit
crespire has joined #ruby
<freesteph> OK dig this
<freesteph> if I run a shell with `docker compose run` it gives me a different shell than `docker run`
<freesteph> the former being setup with RUBYOPT poitning to `bundler/debug`, but the latter one without which makes `bundle install` work no problem
crespire1 has quit [Ping timeout: 244 seconds]
<freesteph> OH MY GOD
<freesteph> I got it
<freesteph> right
<freesteph> Jesus
<freesteph> I'm an idiot is the simple answer
<freesteph> my alias for running a command is: $(DOCKER-RUN) web $(BUNDLE-EXEC) bash
<freesteph> so I'm running `bash` VIA Bundler, which somehow works and gives us this strange situation
<freesteph> sorry for wasting everybody's time
* freesteph feels relieved anyway
<o0x1eef> Congrats :)
brokkoli_origin has quit [Ping timeout: 252 seconds]
dstein64- has joined #ruby
brokkoli_origin has joined #ruby
dstein64 has quit [Ping timeout: 255 seconds]
dstein64- is now known as dstein64
<adam12> Heh.
<freesteph> thanks for your help adam12 o0x1eef
<o0x1eef> \o/
o0x1eef has quit [Quit: Brb]
o0x1eef has joined #ruby
ua_ has quit [Read error: Connection reset by peer]
ua_ has joined #ruby
dhruvasagar has joined #ruby
caleb__ has joined #ruby
ua_ has quit [Ping timeout: 252 seconds]
ua_ has joined #ruby
Pixi has quit [Quit: Leaving]
freesteph has quit [Ping timeout: 255 seconds]
Pixi has joined #ruby
dhruvasagar has quit [Ping timeout: 272 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
dhruvasagar has quit [Remote host closed the connection]
crespire has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
crespire has joined #ruby
greybeard has quit [Quit: Leaving.]
dhruvasagar has quit [Remote host closed the connection]
hwpplayer1 has joined #ruby
caleb__ has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
___nick___ has quit [Ping timeout: 265 seconds]
dhruvasagar has quit [Ping timeout: 260 seconds]
FetidToot has quit [Quit: Ping timeout (120 seconds)]
FetidToot has joined #ruby
dhruvasagar has joined #ruby
user71 has quit [Quit: Leaving]
dhruvasagar has quit [Ping timeout: 255 seconds]
hwpplayer1 has quit [Remote host closed the connection]
spikemaster has joined #ruby
spikemaster has left #ruby [ERC 5.6.1-git (IRC client for GNU Emacs 31.0.50)]
dhruvasagar has joined #ruby
dhruvasagar has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
dhruvasagar has quit [Remote host closed the connection]
Duplus has joined #ruby
Duplus has quit [Client Quit]
FetidToot has quit [Ping timeout: 255 seconds]
hwpplayer1 has joined #ruby
ua_ has quit [Ping timeout: 252 seconds]
FetidToot has joined #ruby
ua_ has joined #ruby
FetidToot2 has joined #ruby
FetidToot has quit [Ping timeout: 252 seconds]
FetidToot2 is now known as FetidToot
hwpplayer1 has quit [Quit: see you tomorrow]
FetidToot6 has joined #ruby
FetidToot has quit [Ping timeout: 246 seconds]
FetidToot6 is now known as FetidToot
FetidToot0 has joined #ruby
FetidToot has quit [Ping timeout: 264 seconds]
FetidToot0 is now known as FetidToot
FetidToot6 has joined #ruby
FetidToot has quit [Ping timeout: 264 seconds]
FetidToot6 is now known as FetidToot
lunarkitty has quit [Ping timeout: 252 seconds]
lunarkitty has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
rdsm has quit [Remote host closed the connection]
itaipu has quit [Ping timeout: 245 seconds]
wryish has joined #ruby
fercell_ has joined #ruby
rdsm has joined #ruby
wryishly has quit [Ping timeout: 245 seconds]
fercell has quit [Ping timeout: 245 seconds]
FetidToot5 has joined #ruby
FetidToot has quit [Ping timeout: 248 seconds]
FetidToot5 is now known as FetidToot
lunarkitty has quit [Quit: The Lounge - https://thelounge.chat]
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
lunarkitty has joined #ruby
jvalleroy has joined #ruby
FetidToot has quit [Ping timeout: 255 seconds]
itaipu has joined #ruby
lunarkitty has quit [Ping timeout: 260 seconds]
FetidToot has joined #ruby
lunarkitty has joined #ruby
lunarkitty5 has joined #ruby
lunarkitty has quit [Ping timeout: 244 seconds]
lunarkitty5 is now known as lunarkitty
gr33n7007h has quit [Ping timeout: 265 seconds]
gr33n7007h has joined #ruby
FetidToot5 has joined #ruby
FetidToot has quit [Ping timeout: 252 seconds]
FetidToot5 is now known as FetidToot
lunarkitty has quit [Quit: The Lounge - https://thelounge.chat]
lunarkitty has joined #ruby
FetidToot7 has joined #ruby
mange has joined #ruby
FetidToot has quit [Ping timeout: 272 seconds]
FetidToot7 is now known as FetidToot
FetidToot8 has joined #ruby
FetidToot has quit [Ping timeout: 245 seconds]
lunarkitty has quit [Ping timeout: 245 seconds]
FetidToot8 is now known as FetidToot
lunarkitty has joined #ruby
ua_ has quit [Ping timeout: 246 seconds]
ua_ has joined #ruby
FetidToot has quit [Read error: Connection reset by peer]
FetidToot has joined #ruby
mretka has joined #ruby
FetidToot has quit [Quit: The Lounge - https://thelounge.chat]
FetidToot has joined #ruby