havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.2.0, 3.1.3, 3.0.5, 2.7.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://t.ly/9ua4 | Logs: https://libera.irclog.whitequark.org/ruby/
FetidToot has joined #ruby
reset has quit [Quit: reset]
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
havenwood has joined #ruby
szkl has quit [Quit: Connection closed for inactivity]
FetidToot has quit [Ping timeout: 260 seconds]
FetidToot has joined #ruby
konsolebox has quit [Quit: Leaving]
FetidToot has quit [Ping timeout: 248 seconds]
FetidToot has joined #ruby
Exuma has joined #ruby
Exuma has quit [Client Quit]
Y05hito__ has joined #ruby
quazimodo has joined #ruby
haxnok has quit [Ping timeout: 260 seconds]
razetime has joined #ruby
FetidToot has quit [Ping timeout: 260 seconds]
FetidToot has joined #ruby
Al2O3_ has joined #ruby
Al2O3 has quit [Ping timeout: 252 seconds]
Al2O3_ is now known as Al2O3
gastus_ has joined #ruby
gastus has quit [Ping timeout: 248 seconds]
Al2O3 has quit [Ping timeout: 248 seconds]
heartburn has quit [Ping timeout: 252 seconds]
heartburn has joined #ruby
FetidToot6 has joined #ruby
FetidToot has quit [Read error: Connection reset by peer]
FetidToot6 is now known as FetidToot
agent_white has joined #ruby
pvalenta has quit [Ping timeout: 260 seconds]
pvalenta has joined #ruby
Al2O3 has joined #ruby
Al2O3_ has joined #ruby
Al2O3 has quit [Ping timeout: 252 seconds]
Al2O3_ is now known as Al2O3
ur5us has quit [Ping timeout: 256 seconds]
jmcgnh has quit [Remote host closed the connection]
Y05hito__ has quit [Quit: I am more peaced off than a dragon trying to blow out candles]
ur5us has joined #ruby
jmcgnh has joined #ruby
FullMetalStacker has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
FullMetalStacker has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Sankalp has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
teclator has joined #ruby
Sankalp has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
heartburn has quit [Ping timeout: 248 seconds]
Sankalp has joined #ruby
heartburn has joined #ruby
_ht has joined #ruby
razetime has quit [Ping timeout: 248 seconds]
cryptkeeper has joined #ruby
razetime has joined #ruby
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
rvalue has quit [Ping timeout: 246 seconds]
geewiz has joined #ruby
___nick___ has joined #ruby
rvalue has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cryptkeeper has quit [Quit: Connection closed for inactivity]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
TomyWork has joined #ruby
agent_white has quit [Quit: later]
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
havenwood has joined #ruby
reset has joined #ruby
agent_white has joined #ruby
quazimodo has quit [Ping timeout: 248 seconds]
<isene> Released an openai terminal tool that I find useful: https://github.com/isene/openai
hightower2 has quit [Ping timeout: 256 seconds]
Furai has quit [Quit: WeeChat 3.8]
agent_white has quit [Quit: later]
Linux_Kerio has joined #ruby
___nick___ has quit [Ping timeout: 255 seconds]
___nick___ has joined #ruby
Furai has joined #ruby
dionysus69 has joined #ruby
TomyWork has quit [Quit: Leaving]
TomyWork has joined #ruby
TomyWork has quit [Client Quit]
TomyWork has joined #ruby
razetime has quit [Remote host closed the connection]
fandre1986 has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
Artea has quit [Quit: ZNC - https://znc.in]
hightower2 has joined #ruby
none_null has joined #ruby
Artea has joined #ruby
c10l has joined #ruby
dionysus69 has joined #ruby
szkl has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
gastus_ has quit [Ping timeout: 260 seconds]
razetime has joined #ruby
<adam12> isene: Neat
fandre1986 has quit [Quit: Connection closed]
teclator has quit [Ping timeout: 260 seconds]
ox1eef_ has quit [Quit: WeeChat 3.7]
ox1eef_ has joined #ruby
ox1eef_ has quit [Client Quit]
ox1eef_ has joined #ruby
ox1eef_ has quit [Client Quit]
ox1eef_ has joined #ruby
razetime has quit [Remote host closed the connection]
none_null has quit [Read error: Connection reset by peer]
Spyre has joined #ruby
<Spyre> Olá pessoal, podem me dar uma ajuda por favor, eu tenho uma aplicação em ruby, só que agora o sistema está caindo contantemente, e quando eu faço login no servidor debin linux, apresenta a seguinte mensagem:   suspended (tty output) source /usr/local/rvm/bin/rvm  já fiz várias pesquisas mas não sei o que fazer, alguém poderia por favor
<Spyre> me dar uma ajuda?
<Spyre> Eu comecei a estudar Ruby, o comando rvm não funciona pois está suspenso!!!
<adam12> Spyre: screenshot?
<Spyre> Desculpa adam, primeira vez que eu entro aqui, como eu envio uma imagem ?
<adam12> Spyre: You could try https://imgur.com?
<Spyre> Eu tenho que me cadastrar lá no imgur?
<adam12> Spyre: I'm not sure.
<adam12> Spyre: Instead of screenshot, let's get a bit more info.
<adam12> Spyre: echo $SHELL
<adam12> Spyre: `type rvm | head -n 1`
<adam12> (run both in your shell)
<Spyre> rvm not found
<adam12> Spyre: `source ~/.rvm/scripts/rvm` then `type rvm | head -n 1` again
<Spyre> adam, me desculpa, eu vou ter que sair agora, vou levar meu filho no curso e já volto, pode ser?
<adam12> Spyre: Yes.
<Spyre> Você sabe usar o TeamViewer?
<Spyre> Quando eu chegar eu te mostro ok?   Obrigado dede já!!!
<ox1eef_> mjit.c is the old JIT, I guess?
<adam12> ox1eef_: old/original/alternative
<ox1eef_> Ah, yeah. That makes sense. The Rust JIT is opt-in ?
<adam12> ox1eef_: Yes. If you have Rust available and are compiling from source, the YJIT will compile with it. If you don't have Rust available, and are compiling from source, YJIT won't be built.
<adam12> (a usable version of Rust that is, not something super old)
<ox1eef_> I have Rust here, but rather than it being used, it looks like mjit.c was just installed.
<adam12> You'll likely get both, but yjit has an optional Rust dependency. I think mjit is pure C.
<adam12> ruby -v
<adam12> I think it shows yjit if available.
<adam12> Oh, maybe you need `--enable-yjit` when compiling. I thought it would work if it detected rustc.
<ox1eef_> Thanks. I will be able to check in a bit, God willing. I'm working on a FreeBSD port that will provide a *standard* installation. The official port murders the standard library, everything but ruby32 is removed on the fly (including rubygems, bundler, etc).
<ox1eef_> I can't work with that.
<adam12> ox1eef_: Best of luck. Maybe the openbsd ports could provide some inspiration, since they are maintained by Jeremy Evans.
<ox1eef_> Indeed. That's been my guide :)
<havenwood> If you have Rust 1.58+ installed when you build Ruby it should *just work*.
<havenwood> 3.2 autodetects Rust and should build.
<ox1eef_> I have 1.66.1
<havenwood> Should be good to go.
<adam12> havenwood: Do you get +YJIT in ruby --version ?
<ox1eef_> Alright, will dig deeper as I make more progress.
<adam12> I don't, but I have --yjit as a flag, so ... I'm very confused.
<adam12> % ruby --version
<adam12> ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
<havenwood> export RUBYOPT="--yjit"
<havenwood> adam12: ruby --yjit --version
<adam12> Same.
<havenwood> ruby 3.2.0 (2022-12-25 revision a528908271) +YJIT [x86_64-linux]
<adam12> Hmmph.
<havenwood> I guess that's the same with or without --yjit flag.
<havenwood> adam12: Yeah, I do get "+YJIT" whether I use the flag or not.
<adam12> Yeah. And I have Rust 1.62 or something.
<adam12> Strangeee. I might recompile.
<adam12> I wonder if the --yjit flag is a no-op.
<havenwood> Oh, right, I had RUBYOPT set.
<havenwood> adam12: I take it back, no +YJIT without flag or RUBYOPT.
<havenwood> ruby 3.2.0 (2022-12-25 revision a528908271) [x86_64-linux]
<adam12> Actually, I just noticed this is 3.1.2 :O
<adam12> My local ruby versions are all messed up, and it was one of the things I was going to try to fix over the holidays.
<adam12> I was using Frum but it doesn't support truffleruby/jruby.
<adam12> chruby/ruby-install was what I used to use, but ruby-install was having some issues with openssl I didn't care to debug. ruby-build does the local openssl compile+link and everything works.
<adam12> I don't care for rbenv shims...
<adam12> I do most of my work in a Docker container. I just like having Ruby available for quick ri access.
<adam12> Aaron livestream starting: https://www.youtube.com/watch?v=7KEqpnK1iXs
<adam12> % ruby -v --yjit
<adam12> ruby: warning: Ruby was built without YJIT support
<adam12> ruby 3.2.0preview2 (2022-09-09 master 35cfc9a3bb) [arm64-darwin21]
konsolebox has joined #ruby
gastus has joined #ruby
cnsvc- is now known as cnsvc
<Spyre> Oi adam, voltei!!!!
<Spyre> Quando eu faço login no servidor, ele continua mostrando a mensagem:  suspended (tty output) source /usr/local/rvm/bin/rvm
<Spyre> Mas a página agora está no ar, mas pode cair a qualquer momento
<Spyre> echo $SHELL  mostra /usr/bin/ash
<Spyre> Perdão, mostra!
<Spyre> echo $SHELL  mostra /usr/bin/zsh
Linux_Kerio has quit [Ping timeout: 252 seconds]
_ht has quit [Quit: _ht]
<adam12> Spyre: `grep rvm | ~/.zshrc`
<adam12> err,
<adam12> Spyre: `grep rvm ~/.zshrc`
Spyre has quit [Quit: Client closed]
Spyre has joined #ruby
<Spyre> grep rvm | ~/.zshrc   mostra   permission denied:  /root/.zshrc
<Spyre> Eu estou como root
Vonter has quit [Ping timeout: 252 seconds]
<Spyre> pronto, executei
<Spyre> Ele me mostrou 3 linhas, são paths
<adam12> Spyre: Thinking....
<adam12> Spyre: Show me the 3 lines
<Spyre> [[ -s "$HOME/.rvm/scripts/rvm/" ]] && source "$HOME/.rvm/scripts/rvm"
<Spyre> export PATH=$PATH:@HOME/.rvm/bin"
<Spyre> source /usr/local/rvm/bin/rvm &
<adam12> Spyre: see private message
<Spyre> Como eu faço isso? ver mensagem privada?
___nick___ has quit [Ping timeout: 252 seconds]
TomyWork has quit [Read error: Connection reset by peer]
moldorcoder7 has joined #ruby
ur5us has joined #ruby
ur5us has quit [Ping timeout: 252 seconds]
Spyre has quit [Ping timeout: 260 seconds]
tomtmym has quit [Quit: Gone.]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
FullMetalStacker has joined #ruby
FullMetalStacker has quit [Client Quit]
teclator has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
konsolebox has quit [Quit: Leaving]