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
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
donofrio has joined #ruby
bambanxx has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
razetime has joined #ruby
jenrzzz has joined #ruby
bambanxx has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
infernix has quit [Ping timeout: 272 seconds]
konsolebox has joined #ruby
infernix has joined #ruby
jenrzzz has joined #ruby
razetime has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
razetime has joined #ruby
razetime has quit [Remote host closed the connection]
fercell_ has quit [Ping timeout: 252 seconds]
fercell has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Guest1 has joined #ruby
<Guest1> hi
Guest1 has quit [Quit: Client closed]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
karolis has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
brw has quit [Quit: The Lounge - https://thelounge.chat]
brw has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
_ht has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
Guest59 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
grenierm has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
konsolebox has quit [Remote host closed the connection]
ht_ has joined #ruby
_ht has quit [Read error: Connection reset by peer]
ht_ is now known as _ht
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
Guest59 has quit [Quit: Client closed]
Axenntio has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
konsolebox has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
fercell_ has joined #ruby
fercell has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
konsolebox has quit [Remote host closed the connection]
konsolebox has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
desnudopenguino has quit [Quit: desnudopenguino]
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
smp has quit [Ping timeout: 255 seconds]
grenierm has quit [Ping timeout: 250 seconds]
smp has joined #ruby
mkoncek has joined #ruby
<mkoncek> can i set Main's instance variables from within C code before executing a script with `rb_load_protect`?
<gr33n7007h> mkoncek: what are you trying to accomplish?
<mkoncek> running a ruby script to collect some data in a nice formatted way and then passing them to my C (/ Rust) library, i am not really a Ruby programmer and i thought that having some variables referencable with @ syntax at the top level of the script would help avoid variable name collisions
jas-maelstrom has quit [Ping timeout: 268 seconds]
FetidToot1 has joined #ruby
FetidToot has quit [Read error: Connection reset by peer]
FetidToot1 is now known as FetidToot
<gr33n7007h> mkoncek: not very knowledgeable on the C API side of things
razetime has joined #ruby
<mkoncek> at the Ruby side of things... the script's top level is an object of some class still?
<gr33n7007h> mkoncek: yes.
jenrzzz has joined #ruby
<gr33n7007h> mkoncek: the function for setting instance variables from C is `rb_iv_set`
MoskitoHero has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
konsolebox has quit [Ping timeout: 268 seconds]
pascal_blaze has joined #ruby
polishdub has quit [Ping timeout: 264 seconds]
konsolebox has joined #ruby
jas-maelstrom has joined #ruby
pascal_blaze has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
karolis has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
pascal_blaze has joined #ruby
konsolebox has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
mkoncek1 has joined #ruby
mkoncek has quit [Ping timeout: 268 seconds]
pascal_blaze has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
konsolebox has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
mkoncek1 has quit [Remote host closed the connection]
mkoncek has joined #ruby
barak has joined #ruby
barak has quit [Client Quit]
hightower3 has joined #ruby
jenrzzz has joined #ruby
pascal_blaze has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
pascal_blaze has quit [Ping timeout: 272 seconds]
donofrio_ has joined #ruby
<rapha> hmm bit of a stupid q prolly but...
<rapha> in Rails with MiniTest, when a "get blah" only returns 500, how do you debug that? the 500 is an Integer, there's no other info, no traceback
<rapha> i'm missing something obvious here, right?
donofrio has quit [Ping timeout: 252 seconds]
mkoncek1 has joined #ruby
mkoncek has quit [Ping timeout: 264 seconds]
adam12 has quit [Quit: Ping timeout (120 seconds)]
adam12 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
mkoncek1 has quit [Ping timeout: 268 seconds]
pascal_blaze has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
karolis has quit [Ping timeout: 252 seconds]
Aminda has quit [Ping timeout: 260 seconds]
Aminda has joined #ruby
ken_barber has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
razetime has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
Aminda has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 272 seconds]
Aminda has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
<[0x1eef]> With rack-test there's last_response.
<[0x1eef]> Not sure that exists in Rails or not.
<[0x1eef]> You can usually learn quite a lot by dropping a binding.{irb,pry} in the context of the failure. The 'ls' command can show your surrounding state like methods, variables, etc.
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
Aminda has quit [Excess Flood]
Aminda has joined #ruby
donofrio__ has joined #ruby
user23 has joined #ruby
donofrio has joined #ruby
Aminda has quit [Remote host closed the connection]
jenrzzz has joined #ruby
Aminda has joined #ruby
donofrio_ has quit [Ping timeout: 252 seconds]
donofrio has quit [Max SendQ exceeded]
donofrio__ has quit [Ping timeout: 264 seconds]
donofrio has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
Al2O3 has joined #ruby
fercell has joined #ruby
fercell_ has quit [Ping timeout: 260 seconds]
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
Aminda has quit [Remote host closed the connection]
Aminda has joined #ruby
jenrzzz has joined #ruby
polishdub has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
ken_barber has quit [Ping timeout: 250 seconds]
razetime has joined #ruby
jenrzzz has joined #ruby
user71 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
user23 has quit [Remote host closed the connection]
user23 has joined #ruby
ken_barber has joined #ruby
Axenntio has quit [Quit: Axenntio]
razetime has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
bambanxx has joined #ruby
pascal_blaze has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 264 seconds]
pascal_blaze has joined #ruby
pascal_blaze has quit [Client Quit]
pascal_blaze has joined #ruby
pascal_blaze has quit [Client Quit]
jenrzzz has joined #ruby
pascal_blaze has joined #ruby
pascal_blaze has quit [Client Quit]
pascal_blaze has joined #ruby
pascal_blaze has quit [Client Quit]
jenrzzz has quit [Ping timeout: 246 seconds]
<rapha> [0x1eef]: thanks for the nudge! Turns out there is magic in place to make "response" available!
<rapha> I had already been using binding.pry but didn't know about ls.
konsolebox has quit [Ping timeout: 252 seconds]
<[0x1eef]> Nicee
joahim has joined #ruby
jenrzzz has joined #ruby
bambanxx has quit [Read error: Connection reset by peer]
joahim has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 268 seconds]
desnudopenguino has joined #ruby
ken_barber has quit [Ping timeout: 250 seconds]
karolis has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
user23 has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
nmollerup has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
user71 has quit [Quit: Leaving]
MoskitoHero has quit [Quit: MoskitoHero]
_ht has quit [Remote host closed the connection]
FetidToot has quit [Ping timeout: 255 seconds]
FetidToot has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
Starfoxxes has quit [Ping timeout: 255 seconds]
pascal_blaze has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
Starfoxxes has joined #ruby
pascal_blaze has quit [Ping timeout: 260 seconds]
hightower3 has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
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
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
gaussianblue has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
gaussianblue has quit [Quit: leaving]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]