havenwood changed the topic of #ruby to: Ruby 3.2.2, 3.1.4, 3.3.0-preview1: https://www.ruby-lang.org | Rules: https://ruby-community.com | Logs: https://libera.irclog.whitequark.org/ruby
<johnjaye> what is ri?
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ox1eef_> Command line tool for reading documentation @ the console, ships with Ruby (or more accurately rdoc). Never really worked for me, but I'm interested in giving it a go.
<johnjaye> hmm, is that what i'm invoking with the help command? like help(String)
<ox1eef_> Yep. Looks like it. Given that the help command gives me the same error as ri :))
<johnjaye> why is the : allowed here
<johnjaye> def set_banner(usage:, description:)
<johnjaye> is it a syntax or is it a weird variable naming
<ox1eef_> Keyword arguments.
<johnjaye> ok. i guess ruby has that lispy edge to it
<ox1eef_> A recent Ruby feature. Since Ruby2 I think, but I believe the semantics changed a bit with Ruby3.
<ox1eef_> In that snippet both of those kw args are required, which is a big improvement over accepting a Hash and then raising yourself if the Hash is found to lack them.
<ox1eef_> def banner(usage:, description: nil); one required (usage), the other optional (defaults to nil).
<ox1eef_> Typo too. Should have been %x(ls -1).
shokohsc5103 has joined #ruby
shokohsc510 has quit [Ping timeout: 240 seconds]
shokohsc5103 is now known as shokohsc510
konsolebox has quit [Quit: -a- IRC for Android 2.1.60]
ollysmith has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
ollysmith has joined #ruby
rvalue has joined #ruby
ollysmith has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
ollysmith has joined #ruby
John_Ivan has quit [Ping timeout: 244 seconds]
konsolebox has joined #ruby
ollysmith has quit [Ping timeout: 260 seconds]
ollysmith has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
lena64t has quit [Quit: WeeChat 4.1.0-dev]
Vonter has joined #ruby
Sankalp has quit [Ping timeout: 260 seconds]
Sankalp has joined #ruby
Vonter has quit [Ping timeout: 245 seconds]
Vonter has joined #ruby
_ht has joined #ruby
konsolebox has quit [Ping timeout: 264 seconds]
konsolebox has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
jetchisel has joined #ruby
grenierm has joined #ruby
_ht has quit [Remote host closed the connection]
Guest18 has joined #ruby
<Guest18> buenas a todos, soy nuevo en ruby
Guest18 has quit [Quit: Client closed]
vinc has joined #ruby
Guest18 has joined #ruby
Guest18 has quit [Client Quit]
znpy has quit [Read error: Connection reset by peer]
swaggboi has quit [Ping timeout: 246 seconds]
vinc has quit [Read error: Connection reset by peer]
teclator has joined #ruby
vinc has joined #ruby
konsolebox has quit [Quit: Leaving]
hwrd has quit [Ping timeout: 260 seconds]
sgtapple has quit [Ping timeout: 260 seconds]
graemefawcett has quit [Ping timeout: 260 seconds]
Bounga has quit [Ping timeout: 260 seconds]
vinc has quit [Read error: Connection reset by peer]
wnd-conn has joined #ruby
Linux_Kerio has joined #ruby
g_sg has quit [Ping timeout: 260 seconds]
pjaspers has quit [Ping timeout: 260 seconds]
KOTP has quit [Ping timeout: 260 seconds]
Manouchehri has quit [Ping timeout: 260 seconds]
eax_ has quit [Ping timeout: 260 seconds]
matta has quit [Ping timeout: 260 seconds]
caleb has quit [Ping timeout: 260 seconds]
srushe has quit [Ping timeout: 260 seconds]
johnhamelink has quit [Ping timeout: 260 seconds]
patrick has quit [Ping timeout: 260 seconds]
whereiseveryone has quit [Ping timeout: 260 seconds]
hays has quit [Ping timeout: 260 seconds]
alexisg has quit [Ping timeout: 260 seconds]
slondr has quit [Ping timeout: 260 seconds]
olus has quit [Ping timeout: 260 seconds]
heartburn has quit [Ping timeout: 260 seconds]
wnd has quit [Ping timeout: 260 seconds]
swaggboi has joined #ruby
olus has joined #ruby
hwrd has joined #ruby
eax_ has joined #ruby
matta has joined #ruby
johnhamelink has joined #ruby
patrick has joined #ruby
caleb has joined #ruby
srushe has joined #ruby
Manouchehri has joined #ruby
heartburn has joined #ruby
slondr has joined #ruby
graemefawcett has joined #ruby
Bounga has joined #ruby
sgtapple has joined #ruby
whereiseveryone has joined #ruby
alexisg has joined #ruby
g_sg has joined #ruby
KOTP has joined #ruby
pjaspers has joined #ruby
MarvelousWololo has quit [Read error: Connection reset by peer]
Vonter has quit [Ping timeout: 246 seconds]
TomyWork has joined #ruby
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
<gr33n7007h> hey, we've got a bit of ☀️ this morning for the first time in weeks \o/
mlxo has joined #ruby
vinc has joined #ruby
seisatsu has quit [Ping timeout: 246 seconds]
vinc has quit [Read error: Connection reset by peer]
vinc has joined #ruby
sam113101 has quit [Read error: Connection reset by peer]
mlxo has left #ruby [#ruby]
grenierm has quit [Quit: Client closed]
cxl has quit [Quit: bye]
cxl has joined #ruby
clemens3 has quit [Ping timeout: 245 seconds]
Guest26nakilon has joined #ruby
<Guest26nakilon> p File.read p "#{$:.first}/#{lib}.rb"  =>  "/tmp/sidekiq.rb" "123"
<Guest26nakilon> require lib  =>   cannot load such file -- sidekiq (LoadError)
<Guest26nakilon> what do I do wrong?
<Guest26nakilon> I want to fake the third-party to trick the "require" directive and avoid installation
clemens3 has joined #ruby
Bish has quit [Ping timeout: 260 seconds]
Bish has joined #ruby
<Guest26nakilon> nevermind, the error does not happen if I use plain ruby Dir.tmpdir instead of fakefs gem
<Guest26nakilon> unfortunately
Bish has quit [Ping timeout: 260 seconds]
Bish has joined #ruby
Guest26nakilon has quit [Quit: Client closed]
vinc has quit [Read error: Connection reset by peer]
Linux_Kerio has quit [Ping timeout: 240 seconds]
perrierjouet has quit [Ping timeout: 250 seconds]
dviola has quit [Quit: WeeChat 4.0.2]
mweckbecker has quit [Quit: leaving]
vinc has joined #ruby
perrierjouet has joined #ruby
mweckbecker has joined #ruby
RDMengineer has joined #ruby
ua__ has joined #ruby
ua_ has quit [Ping timeout: 246 seconds]
sympt has quit [Quit: Ping timeout (120 seconds)]
dstein64 has quit [Excess Flood]
sympt has joined #ruby
isene has quit [Ping timeout: 250 seconds]
isene has joined #ruby
dstein64 has joined #ruby
shokohsc5102 has joined #ruby
shokohsc510 has quit [Ping timeout: 264 seconds]
shokohsc5102 is now known as shokohsc510
<ox1eef_> Although they're gone, $LOAD_PATH should have directories rather than individual files.
<ox1eef_> gr33n7007h: And how many snowmen have you built
nkm has joined #ruby
sam113101 has joined #ruby
panella32 has joined #ruby
<panella32> Hi Can't add an avatar to a Devise user from console. https://i.imgur.com/RM6piJM.png
<panella32> Any idea? Already spent half an hour and still ROLLS BACK for no reason.
Linux_Kerio has joined #ruby
some14u has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joast has quit [Quit: Leaving.]
konsolebox has joined #ruby
konsolebox has quit [Read error: Connection reset by peer]
Sankalp has quit [Ping timeout: 246 seconds]
John_Ivan has joined #ruby
nkm has quit [Quit: Client closed]
Sankalp has joined #ruby
_ht has joined #ruby
nkm has joined #ruby
nkm has quit [Client Quit]
nkm has joined #ruby
vinc has quit [Read error: Connection reset by peer]
panella32 has quit [Quit: Textual IRC Client: www.textualapp.com]
Linux_Kerio has quit [Read error: Connection reset by peer]
Linux_Kerio has joined #ruby
nkm has quit [Ping timeout: 246 seconds]
<gr33n7007h> ox1eef_: middle of summer here and it has non-stop raining for weeks, was just glad the current bun came out for an hour or two 🤣
goldfish has joined #ruby
<ox1eef_> Rain is nice... for a day or two :P
TomyWork has quit [Quit: Leaving]
joast has joined #ruby
Linux_Kerio has quit [Ping timeout: 260 seconds]
_ht has quit [Quit: _ht]
_ht has joined #ruby
ua__ has quit [Ping timeout: 250 seconds]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
_ht has quit [Quit: _ht]
ua_ has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Bish has quit [Ping timeout: 246 seconds]
Bish has joined #ruby
keb has joined #ruby
pedregalux has joined #ruby
some14u has joined #ruby
pedregalux_ has joined #ruby
pedregalux_ has quit [Read error: Connection reset by peer]
keb has quit [Quit: Leaving]
gr33n7007h has quit [Ping timeout: 246 seconds]
gr33n7007h has joined #ruby
brokkoli_origin has quit [Ping timeout: 260 seconds]
brokkoli_origin has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
Bish has quit [Ping timeout: 252 seconds]
Bish has joined #ruby
<wakaflaka> i *think* i've just designed the world's coolest ruby script
<wakaflaka> just
<wakaflaka> wrong channel
jmjl has quit [Ping timeout: 246 seconds]
jmjl has joined #ruby
znpy has joined #ruby
<havenwood> wait, we want that script...
konsolebox has joined #ruby
konsolebox has quit [Ping timeout: 245 seconds]
BDFOC has quit [Remote host closed the connection]
<wakaflaka> :D
<wakaflaka> havenwood: its seriously cool, and is only possible because of the combination ruby and AI
<wakaflaka> they're seriously cool, rather
<wakaflaka> havenwood: any chance you've gotten falcon to work with websockets on rails yet?
<wakaflaka> my latest iteration of a future possible falcon logo: https://i.imgur.com/FFD8gMm.png
<wakaflaka> the font is from NZ just like Mr Samuel Williams
<wakaflaka> anyway the first script will aalyze your rails app before you enter the dialog with chatgpt via the commandline. and it then has the required context to better help you add new features to your app almost automatically
<wakaflaka> the other one will review any git repo and make a professional audit report as well as overwrite original files with the new and improved ones
<wakaflaka> but the script that blew my mind..