jhass[m] changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.2, 3.0.4, 2.7.6: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
roadie` has joined #ruby
roadie` has quit [Ping timeout: 250 seconds]
niv has joined #ruby
giorgian has joined #ruby
omber85 has joined #ruby
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
giorgian has quit [Ping timeout: 240 seconds]
<omber85> Ii Ruby folks, I was hoping someone could point me in the right direction. I am trying to package up Ruby 2.7.6 via RPM for deployment on some systems. What I've ran into is that Ruby is adding dependency on /usr/local/bin/ruby which we do not have - Ruby is in /usr/bin/ruby. For the life of me I can't figure out where this dependency is coming
<omber85> from - it seems to have been added in 2.7 branch.
Rick456 has joined #ruby
<Rick456> Hi, I'm using flay_task, and trying to tell it to look only in ./lib, but it keeps looking in ./tests as well: https://gist.github.com/rickhull/a6ba6a9fb9c79ae5b11545ff696c2803
<Rick456> i'm using the same syntax with flog_task successfully, and this hasn't been an issue in the past (say 3 years ago, gulp)
<Rick456> any seattlerb folks about?
Rounin has quit [Ping timeout: 240 seconds]
roadie` has joined #ruby
<adam12> Rick456: I think you can provide a name to flay_task
<adam12> Rick456: Maybe call it something rediculuous so you know you're triggering your version? Just a guess.
<adam12> FlayTask.new(:vroom) do... rake vroom
<Rick456> thanks, but that confirms something is off
<Rick456> it seems to be looking in every subdir relative to the Rakefile. even my ./pkg dir
<Rick456> updated the gist
twosuns has quit [Quit: ...]
<adam12> Rick456: I don't see Rakefile being updated?
<Rick456> yeah, i didn't bother, but you can trust from the output it ran the flay task
<Rick456> (i didn't update the gist for the Rakefile)
<adam12> Actually, I think it's just broken...
<Rick456> i am looking now, at Flay.run
<adam12> dirs (or @dirs) is never used when Flay is called.
<Rick456> yes
<adam12> doh
Sheilong has quit [Quit: Connection closed for inactivity]
<adam12> I'd just monkey patch it
<weaksauce> that's an impressively old issue for something that should be pretty easy
<adam12> Guessing Ryan forgot about it. PR might get more attention
<weaksauce> maybe put it in the .flayignore file?
<Rick456> i'm trying to figure out what the intent of all the PathExpander stuff is.
<adam12> Rick456: In what way?
<Rick456> maybe flay_task should look for a different entry point instead of Flay.run (which looks to be invoked like a process)
<adam12> Ah.
<adam12> Yes, likely.
<adam12> Actually, no.
<adam12> I think it would still be fine with PathExpander.
<Rick456> is it the glob = "**/* ..." that pulls in everything?
<weaksauce> yeah that's a recursive glob
Ziyan has joined #ruby
oxfuxxx has quit [Ping timeout: 276 seconds]
John_Ivan_ has quit [Read error: Connection reset by peer]
<Rick456> so either I pass something to Flay.run in flay_task.rb that will limit the glob, or else I only glob conditional on ... ?
<Rick456> dirs will always be populated by flay_task.rb
oxfuxxx has joined #ruby
<Rick456> Flay.run should never know about FlayTask#dirs, looks like. so FlayTask needs to pass args to Flay.run
<Rick456> or yeah just .flayignore i guess
<Rick456> ah, ok. I didn't realize I could simply pass dirs
<adam12> Rick456: I'm guessing as such.
<adam12> Rick456: I believe PathExpander accepts Arrays of paths, but also allows for removals of paths. At least that's how it works with minitest-sprint.
<Rick456> seems sensible. that's why I was noodling over the PathExpander stuff. hard to understand the intent
<adam12> ie. lib test -lib/ignore_me
<adam12> Worth a try :)
<Rick456> hrm, still picking up the glob
<Rick456> probably don't have it wired correctly. just the first shot there
ur5us has quit [Ping timeout: 248 seconds]
<Rick456> also rake -T shows: rake vroom # Analyze for code duplication in: lib
<adam12> Looks like monkey patch isn't taking affect..
<Rick456> oh, because the `block in define' still comes from the gem
<Rick456> maybe with the refinements song and dance?
<adam12> Just noticed we have to prepend it.
<adam12> FlayTask.prepend(FlayTaskExt)
<Rick456> ok
<adam12> I originally just re-opened the class but I went for a bit nicer patch. But it's late :\
<adam12> Still doesn't fix it, I don't think? At least I tried locally and it doesn't.
<Rick456> \o/
<Rick456> wfm
<adam12> Does it? lol.
<adam12> I guess I should of used a real Ruby file for test.
<adam12> not just an empty one :P
<Rick456> i'm also on ruby 2.6, stuck in 2020 era
<adam12> Rick456: It's me, adam12, from the future.
<adam12> ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [arm64-darwin21]
<adam12> not future enough, but the frum default I guess.
giorgian has joined #ruby
<adam12> Yeah, that looks good.
<Rick456> i'm in the middle of learning how to make nixos work (!@#$%@!$%#) with my ruby dev flow
<adam12> Good luck.
<adam12> I'd rather guix win, tbh. At least it uses a non-strange language.
<Rick456> yeah, i'm more amenable to lisp and struggling with nix
<adam12> Shopify was experimenting with nix for dependency management. Might be worth perusing their public GH repo.
<adam12> I won't stop using Docker. I just make fat containers and shove everything I need into them. Quite nice.
<Rick456> oh god, don't get me started on the "execution context" rabbithole
ur5us has joined #ruby
<Rick456> how about unikernel / rumpkernel for dedicated apps
<adam12> I looked at unikernel a bit
<adam12> but tbh, even tho I cut my teeth in ops since the beginning of time, I feel like I'm in the slums the minute I'm not doing Ruby.
<adam12> Even itamae can't save me.
<adam12> Anyways, signing off for the night. See ya!
<Rick456> i'll update the GH issue with a link to the Rakefile i'm about to push, and the fitment gem I'm about to publish. thanks!
giorgian has quit [Ping timeout: 272 seconds]
roadie` has quit [Ping timeout: 240 seconds]
giorgian has joined #ruby
oxfuxxx has quit [Ping timeout: 272 seconds]
oxfuxxx has joined #ruby
giorgian has quit [Ping timeout: 276 seconds]
Rick456 has quit [Ping timeout: 250 seconds]
roadie` has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
roadie` has quit [Ping timeout: 240 seconds]
comet23 has joined #ruby
ralu1 has quit [Ping timeout: 256 seconds]
giorgian has joined #ruby
giorgian has quit [Ping timeout: 246 seconds]
comet23100 has joined #ruby
comet23 has quit [Killed (NickServ (GHOST command used by comet23100))]
comet23100 is now known as comet23
comet2362 has joined #ruby
comet23 has quit [Ping timeout: 252 seconds]
Ziyan has quit [Quit: Textual IRC Client: www.textualapp.com]
roadie` has joined #ruby
comet2362 has quit [Ping timeout: 252 seconds]
roadie` has quit [Ping timeout: 240 seconds]
protektwar_ has joined #ruby
protektwar_ has quit [Changing host]
protektwar_ has joined #ruby
roadie` has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
ralu1 has joined #ruby
Ziyan has joined #ruby
Guest65 has joined #ruby
Guest65 has quit [Quit: Client closed]
_ht has joined #ruby
aesthetikx has quit [Ping timeout: 240 seconds]
roadie` has quit [Ping timeout: 250 seconds]
gschanuel has quit [Read error: Connection reset by peer]
gschanuel has joined #ruby
giorgian has joined #ruby
gschanuel has quit [Read error: Connection reset by peer]
gschanuel has joined #ruby
mooff has quit [Remote host closed the connection]
giorgian has quit [Ping timeout: 272 seconds]
mooff has joined #ruby
gschanuel6 has joined #ruby
gschanuel has quit [Ping timeout: 276 seconds]
gschanuel6 is now known as gschanuel
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Ziyan has joined #ruby
_ht has quit [Remote host closed the connection]
giorgian has joined #ruby
aesthetikx has joined #ruby
comet23 has joined #ruby
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
roadie` has joined #ruby
comet23 has quit [Quit: Client closed]
Ziyan has joined #ruby
jpn has quit [Quit: leaving]
<vos> jhass[m]: by new command you mean shelling out yeah? That's what I ended up with but would have prefered to avoid using `ln` instead of the built in stuff in the language.... not sure why though, now that I think about it.
some14u has joined #ruby
some14u has quit [Client Quit]
Rounin has joined #ruby
mjacob has quit [Read error: Connection reset by peer]
mjacob has joined #ruby
Ziyan_ has joined #ruby
Ziyan has quit [Ping timeout: 240 seconds]
oxfuxxx has quit [Ping timeout: 276 seconds]
oxfuxxx has joined #ruby
Ziyan_ has quit [Ping timeout: 246 seconds]
Ziyan has joined #ruby
jmcgnh has quit [Ping timeout: 240 seconds]
Ziyan has quit [Ping timeout: 272 seconds]
jmcgnh has joined #ruby
Ziyan has joined #ruby
jpn has joined #ruby
Ziyan has quit [Ping timeout: 276 seconds]
Ziyan has joined #ruby
giorgian has quit [Ping timeout: 276 seconds]
reset has quit [Quit: reset]
giorgian has joined #ruby
ur5us has joined #ruby
Ziyan has quit [Quit: Textual IRC Client: www.textualapp.com]
oxfuxxx has quit [Ping timeout: 250 seconds]
vos has quit [Quit: WeeChat 3.5]
oxfuxxx has joined #ruby
roadie` has quit [Ping timeout: 250 seconds]
roadie` has joined #ruby
enyc has joined #ruby
oxfuxxx has quit [Ping timeout: 276 seconds]
oxfuxxx has joined #ruby
WhereIsMySpoon has joined #ruby
<WhereIsMySpoon> Hi all - ive downloaded ruby from https://www.ruby-lang.org/en/news/2022/04/12/ruby-3-0-4-released/ and run through the commands in readme (autogen, configure, make, make install) but stuck on how to add it to rbenv as a ver. can anyonen help please?
<enyc> WhereIsMySpoon: You're now ni the right network, just STAY logged in, let people come and go and answer you ! =)
some14u has joined #ruby
some14u has quit [Client Quit]
<WhereIsMySpoon> :) thanks enyc
twosuns has joined #ruby
some14u has joined #ruby
<jhass[m]> What you have done is unfortunately far from the recommended way to install an additional Ruby for rbenv. Have you run make install as root? Your system might be in a not so good state if so...
some14u has quit [Read error: Connection reset by peer]
some14u has joined #ruby
some14u has quit [Client Quit]
some14u has joined #ruby
some14u has quit [Client Quit]
jpn has quit [Ping timeout: 256 seconds]
jpn has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
<WhereIsMySpoon> @jhass[m] nope, nothing ran as root. im aware it isnt the best way but ruby-build doesnt have the version and brew update ruby-build just fails
<jhass[m]> It might not list it but might still be able to install it, did you try just giving it the exact version number? Also "brew update just fails" sounds like something worthwile to fix :D
<jhass[m]> I wonder how make install worked at all without root then :/
<jhass[m]> and what it did...
<WhereIsMySpoon> @jhass[m] why would it need root? im just running this in ~/.rbenv/versions/3.0.4
<WhereIsMySpoon> i tried giving exact version number rbenv install 3.0.4 but it says it cant
<jhass[m]> because the default prefix is /usr/local ?
<WhereIsMySpoon> prefix?
<jhass[m]> the prefix is where make install puts files
Ziyan has joined #ruby
<jhass[m]> (the prefix also to a degree defines where the built binary expects files)
Ziyan has quit [Ping timeout: 276 seconds]
Ziyan has joined #ruby
oxfuxxx has quit [Ping timeout: 260 seconds]
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
some14u has joined #ruby
twosuns has quit [Quit: ...]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest13 has joined #ruby
<Guest13> Hi Everyone! My name is Jehivian Hernandez, and I am part of the search firm helping Ruby Central find its new Executive Director. If you or anyone you know is interested in being part of this process and wants to be considered for this role, please, feel free to reach out directly to me via jehivian.hernandez@perrettlaver.com. Any help will be
<Guest13> much appreciated!
<WhereIsMySpoon> jhass[m]: virgin media has some stupidly crap filter, turned it off and it works now
<WhereIsMySpoon> ty
some14u has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
Ziyan has joined #ruby
Ziyan has quit [Client Quit]
Guest13 has quit [Quit: Client closed]
Tempesta has joined #ruby
Ziyan has joined #ruby
giorgian has quit [Ping timeout: 240 seconds]
John_Ivan has joined #ruby
giorgian has joined #ruby
oxfuxxx has joined #ruby
John_Ivan has quit [Read error: Connection reset by peer]
Starfoxxes has quit [Remote host closed the connection]
John_Ivan has joined #ruby
oxfuxxx has quit [Ping timeout: 276 seconds]
oxfuxxx has joined #ruby
protektwar_ has quit [Quit: quitting away..]
protektwar_ has joined #ruby
protektwar_ has quit [Changing host]
protektwar_ has joined #ruby
roadie` has quit [Ping timeout: 250 seconds]
protektwar_ has quit [Client Quit]
fandre1986 has joined #ruby
protektwar_ has joined #ruby
protektwar_ has quit [Changing host]
protektwar_ has joined #ruby
oxfuxxx has quit [Ping timeout: 256 seconds]
omber85 has quit [Quit: Client closed]
roadie` has joined #ruby
oxfuxxx has joined #ruby
roadie` has quit [Ping timeout: 240 seconds]
roadie` has joined #ruby
roadie` has quit [Ping timeout: 240 seconds]
Ziyan has quit [Quit: Textual IRC Client: www.textualapp.com]
oxfuxxx has quit [Ping timeout: 256 seconds]
crundar has joined #ruby
oxfuxxx has joined #ruby
Sheilong has joined #ruby
roadie` has joined #ruby
some14u has joined #ruby
roadie` has quit [Ping timeout: 248 seconds]
oxfuxxx has quit [Ping timeout: 250 seconds]
oxfuxxx has joined #ruby
Ziyan has joined #ruby
roadie` has joined #ruby
oxfuxxx has quit [Ping timeout: 246 seconds]
oxfuxxx has joined #ruby
roadie` has quit [Ping timeout: 240 seconds]
danjo006 has joined #ruby
roadie` has joined #ruby
danjo00 has quit [Ping timeout: 260 seconds]
danjo006 is now known as danjo00
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 272 seconds]
Sankalp- is now known as Sankalp
roadie` has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
WhereIsMySpoon has quit [Ping timeout: 272 seconds]
roadie has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
libsys has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
fandre1986 has quit [Quit: Connection closed]
protektwar_ has quit [Ping timeout: 240 seconds]
oxfuxxx has quit [Ping timeout: 246 seconds]
giorgian has quit [Ping timeout: 276 seconds]
oxfuxxx has joined #ruby
crundar has quit [Quit: Client closed]
_ht has joined #ruby
Sankalp has quit [Ping timeout: 246 seconds]
Sankalp has joined #ruby
jpn has joined #ruby
giorgian has joined #ruby
reset has joined #ruby
giorgian has quit [Ping timeout: 250 seconds]
protektwar_ has joined #ruby
protektwar_ has quit [Changing host]
protektwar_ has joined #ruby
protektwar_ has quit [Client Quit]
protektwar_ has joined #ruby
protektwar_ has quit [Changing host]
protektwar_ has joined #ruby
donofrio has quit [Read error: Connection reset by peer]
donofrio has joined #ruby
oxfuxxx has quit [Ping timeout: 276 seconds]
protektwar_ is now known as protektwar
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 272 seconds]
oxfuxxx has joined #ruby
oxfuxxx has quit [Ping timeout: 256 seconds]
jpn has quit [Ping timeout: 246 seconds]
giorgian has joined #ruby
giorgian has quit [Ping timeout: 272 seconds]
jpn has joined #ruby
Ziyan has quit [Ping timeout: 260 seconds]
Ziyan has joined #ruby
some14u has joined #ruby
jpn has quit [Ping timeout: 276 seconds]
Starfoxxes has joined #ruby
abws has joined #ruby
dza has quit [Quit: Ping timeout (120 seconds)]
dza has joined #ruby
Ziyan has quit [Ping timeout: 250 seconds]
jpn has joined #ruby
Ziyan has joined #ruby
giorgian has joined #ruby
jpn has quit [Ping timeout: 246 seconds]
roadie has quit [Ping timeout: 240 seconds]
jpn has joined #ruby
roadie has joined #ruby
finsternis has quit [Read error: Connection reset by peer]
finsternis has joined #ruby
danjo009 has joined #ruby
danjo00 has quit [Ping timeout: 260 seconds]
Ziyan has quit [Ping timeout: 272 seconds]
danjo00 has joined #ruby
protektwar has quit [Ping timeout: 248 seconds]
danjo009 has quit [Ping timeout: 240 seconds]
Ziyan has joined #ruby
danjo001 has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
danjo00 has quit [Ping timeout: 240 seconds]
danjo001 is now known as danjo00
danjo009 has joined #ruby
danjo00 has quit [Ping timeout: 260 seconds]
danjo009 is now known as danjo00
Ziyan has quit [Ping timeout: 250 seconds]
Ziyan has joined #ruby
WhereIsMySpoon has joined #ruby
jpn has joined #ruby
WhereIsMySpoon has quit [Ping timeout: 276 seconds]
jpn has quit [Ping timeout: 272 seconds]
Ziyan has quit [Ping timeout: 276 seconds]
Ziyan has joined #ruby
danjo007 has joined #ruby
jpn has joined #ruby
jpn has quit [Client Quit]
danjo00 has quit [Ping timeout: 240 seconds]
danjo007 is now known as danjo00
_ht has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
roadie has quit [Remote host closed the connection]
roadie has joined #ruby
ur5us has joined #ruby
roadie has quit [Ping timeout: 260 seconds]
giorgian has quit [Remote host closed the connection]
giorgian has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
roadie has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
roadie has quit [Remote host closed the connection]
roadie has joined #ruby
Sheilong has quit []
roadie has quit [Ping timeout: 248 seconds]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rick456 has joined #ruby
Rick456 is now known as RickHull
e2 has quit [Quit: Stable ZNC provider #bnc4you]
roadie has joined #ruby
WhereIsMySpoon has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
WhereIsMySpoon has quit [Ping timeout: 260 seconds]
twosuns has joined #ruby
shiko has joined #ruby
shiko has quit []
howdoi has joined #ruby
roadie has joined #ruby
giorgian has quit [Ping timeout: 276 seconds]
roadie has quit [Ping timeout: 240 seconds]
Ziyan has quit [Ping timeout: 272 seconds]
Ziyan has joined #ruby
RickHull has quit [Ping timeout: 250 seconds]
giorgian has joined #ruby
roadie has joined #ruby
teclator has joined #ruby
giorgian has quit [Ping timeout: 246 seconds]
roadie has quit [Ping timeout: 260 seconds]
giorgian has joined #ruby
e2 has joined #ruby
roadie has joined #ruby
giorgian has quit [Ping timeout: 256 seconds]
roadie has quit [Ping timeout: 240 seconds]