<cahoots_>
hi, i'm trying to create a pre-made set of gems for a locked-down machine in CI, which cannot compile extensions by itself, to run. i've made the bundle set on a machine that's very similar, but when i do "require 'some_gem'", it tells me "Ignoring some_gem because its extensions are not built". they're both intel macs, although one os is "darwin-20" and one is "darwin-21". also, one is ruby 2.6.3, and one
<cahoots_>
is 2.6.8 (they use different preinstalled system versions). do i need to make the patch versions match, or is 2.6.x fine? can i get bundle or some other tool to tell me why it's not using these gems?
jpn has quit [Ping timeout: 240 seconds]
cahoots has quit [Ping timeout: 276 seconds]
ssh0732 has quit [Ping timeout: 240 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 260 seconds]
cahoots has joined #ruby
cahoots has quit [Ping timeout: 256 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 246 seconds]
cahoots has joined #ruby
Ziyan has joined #ruby
<adam12>
cahoots_: How are you making these pre-made gems?
jpn has joined #ruby
cahoots has quit [Ping timeout: 246 seconds]
aestheti1 has joined #ruby
aesthetikx has quit [Ping timeout: 255 seconds]
jpn has quit [Ping timeout: 246 seconds]
<rapha>
hi all
<rapha>
what's that thing called again
<rapha>
Gamefile or something?
<rapha>
like rake but more intended for automation than for building
<rapha>
bookmarked it and can't find the bookmark again :(
cahoots has joined #ruby
<adam12>
Beats me.
<adam12>
What kind of automation?
jpn has joined #ruby
<rapha>
like, stuff you need to do regularly
<rapha>
like when there's new data and you want to run your stuff with it
<adam12>
Like Thor?
<adam12>
I'm still not really following.
<rapha>
yeah, i realize i'm being very wishy-washy here :(
<rapha>
thor is cool but not what i meant :)
<rapha>
oh ait, or is it?
<rapha>
"It removes the pain of parsing command line options, writing "USAGE:" banners, and can also be used as an alternative to the Rake build tool. The syntax is Rake-like, so it should be familiar to most Rake users." ... that does sound familiar
<rapha>
mm, i'll stumble over it again eventually
<rapha>
thor's option parser is non-posix-compliant so i think i wouldn't have liked it upon seeing it
<adam12>
It's like 1 of a million that came out. Thor and Sake were too prominent ones. There's also Bake
<adam12>
I like Rake as a build tool but it's use as a CLI has become very unfortunate.
<rapha>
wow, people really like to write these
<rapha>
but yes, exactly what you're saying ... i'm finding myself using Rake as a CLI and it's not feeling like I should be doing that at all.
<rapha>
Bake seems like it's trying to be a one-stop-shop for too many things at once
<rapha>
"Sake is system-wide Rake". Not seeing what it has that makes it interesting over Bake or Toys or Thor.
<rapha>
Seems to be intended more for replacing what people amass in their ~/.local/bin/ than for being used on a per-project basis.
wantonnesss8 has joined #ruby
Sheilong has joined #ruby
steamed8 has joined #ruby
wantonnesss8 has quit [Ping timeout: 255 seconds]
<adam12>
I've just been building out CLIs by hand.
<adam12>
Tho I did use command-kit recently and it works well enough.
<adam12>
I try to reach for plain OptionParser first, where possible.
<adam12>
If I don't require sub commands, it might be the only thing I reach for.
steam_KUB has joined #ruby
steamed8 has quit [Ping timeout: 255 seconds]
Rounin has joined #ruby
steam_KUB has quit [Ping timeout: 258 seconds]
deskhoarder has joined #ruby
<rapha>
are you needing to build proper command line tools, though adam12, or more like, quickly throw together something that can handle some args and opts?
<adam12>
rapha: What's the difference?
<rapha>
time spent on this vs. that
<adam12>
I do both.
<rapha>
ok
<adam12>
I don't think that generally changes my approach. If I don't need sub commands then OptionParser works a treat. I'd use it for both "proper" command line tools and throw aways.
<rapha>
and probably you don't have stuff where you want to have things available based on what subdir of the project you're in
<adam12>
rapha: I haven't, but I might still use my own tool for that.
<adam12>
bake looks good last time I tried it, but I really missed having proper classes. Just having bare methods didn't work for me. I also ran into a few bugs, IIRC.
<adam12>
I used toys a few years ago. I can't remember exactly my issue, but part of it was the API. I found it unintuitive.
TomyWork has joined #ruby
Tasi has joined #ruby
<rapha>
Hmm, I'll give it a try next time I have to start something new.
Tasi has quit [Quit: Leaving]
mixfix41 has joined #ruby
Ziyan has quit [Ping timeout: 272 seconds]
e2 has joined #ruby
Ziyan has joined #ruby
Ziyan has quit [Client Quit]
Ziyan has joined #ruby
howdoi has joined #ruby
_ht has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<ox1eef>
lately ive been building a few static sites with nanoc, and extending functionality with rake.
<adam12>
Wow, nanoc. That takes me back. I built a website with nanoc in like 2009? I don't even remember now, since it's been so long.
<adam12>
I built my own static site generator on top of Roda, since it's what I was using so frequently, tho bridgetown has been looking nicer and nicer.
<ox1eef>
i like nanoc but the compiler hasnt been reliable when it comes to partial recompiles, so i just nuke everything before each compile. i think there's a market or niche for something that combines a static site with a server-side component, like rack, or roda, etc.
TrufflePump has joined #ruby
TrufflePump has quit [Ping timeout: 256 seconds]
_ht has quit [Remote host closed the connection]
<adam12>
That's basically bridgetown. It supports Roda out of the box.
<ox1eef>
i haven't heard of that yet, i'll take a look - thanks
<ox1eef>
sounds pretty interesting
<ox1eef>
i will have to give it a try, sounds exactly like what i had in mind
TrufflePump has joined #ruby
dynab has quit [Remote host closed the connection]
TrufflePump has quit [Ping timeout: 276 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 244 seconds]
<ox1eef>
adam12: do you have any idea if it is good at doing that which is a bit ad-hoc, like compiling a rust web assembly module? could that be a plugin maybe?
<ox1eef>
hrm, maybe esbuild can handle it
Guest13 has joined #ruby
Guest13 has quit [Client Quit]
ur5us has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 255 seconds]
perrierjouet has quit [Ping timeout: 244 seconds]
perrierjouet has joined #ruby
<adam12>
ox1eef: Not sure, but interesting idea.
gproto23 has quit [Ping timeout: 255 seconds]
cahoots has quit [Quit: leaving]
dionysus69 has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
stylo has quit [Quit: Connection closed for inactivity]