Inline Script Dependencies
mthadley.com·1d
📦uv
Preview
Report Post

January 11, 2026

As part of my day job building out a developer platform, I do a lot of prototyping and testing. These are often multi-step workflows, with an end user’s browser involved to boot (we do a lot of auth stuff).

I find myself first reaching for Ruby here for several reasons:

  • Ruby is a comfy language for me.
  • Ruby’s standard library… exists (looking at you JavaScript), and built-in types come with loads of utility.
  • And finally—the main thing I wanted to write about—you can inline the script’s dependencies.

More on that last piece.

Inline Bundler

Pretty quickly, I’ll need some third-party gem for the task. For example, maybe I’m standing up a quick web-server that implements a new /.well-known endpoint I wa…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help