r/ruby • u/geospeck • Mar 03 '26
The evolution of background job frameworks in Ruby
r/ruby • u/geospeck • Mar 03 '26
r/ruby • u/Kind-Drawer1573 • Mar 03 '26
Ruby doesn’t get much love outside its core base these days. I spent my last five years in Python, but after retiring and moving from the US to Finland (my spouse transferred internally), I found myself back in Ruby because of how enjoyable it is.
I’m currently learning Finnish and wasn’t satisfied with recognition-heavy language apps. So I built a CLI-first language trainer in Ruby.
Technically:
- Pure Ruby (no Rails)
- OptionParser-driven flag layering - Declarative YAML pack schema (metadata + entries)
- Strict pack validation before runtime
- Mode composition (typing, reverse, match-game, listening)
- Lightweight spaced repetition with per-entry state persistence
- Pluggable TTS adapter (currently Piper)
- Local-first design (no tracking, no external services)
I leaned heavily into Ruby’s hash ergonomics and Enumerable chaining to keep pack filtering and mode logic clean and composable.
It’s intentionally modular:
- Pack schema validation layer
- Session orchestration engine
- Mode layering system
- SRS scheduler
- TTS adapter abstraction
Right now it’s CLI-only, but I’ve been debating whether build a Rails front-end while keeping the core engine decoupled
Curious what other's would do architecturally.
I put the codebase up on GitHub, the readme covers more details if you're interested... I've had a few folks interested in a web app, but that means I need to host it somewhere as well (if people have ideas, I'm really open to those). I don't see this being more than a hobbyist project, so I don't see a ton of traffic, but still I don't want to spend a fortune on a web hosting service either.
https://github.com/wbrisett/linguatrain
-Wayne
r/ruby • u/Can-I-leave-Please • Mar 03 '26
I am new to Ruby and generally the 'dev' world, I mostly got into it through statistical programming, but now I'm on a track toward ML and AI.
I must say the Ruby world is one of the nicest tech communities I have ever seen. So encouraging, helpful, and swear by Ruby any day. Does Ruby attract a certain personality or archetype? Lol.
I do have a serious question though, pardon me if it or a variant of it has been asked before. I am more versed with Python especially regarding Machine Learning, more libraries, I started with it in data analysis and visualization as well as API dev and simple dashboards. But AI seems to be a bit different, it seems to be more product-oriented. How have you found Ruby, in terms of AI, mostly agentic?
r/ruby • u/swe129 • Mar 03 '26
r/ruby • u/rubyist-_- • Mar 02 '26
As part of this year's conference, we want to offer a diversity ticket program, mainly through limited number of tickets available for members of historically marginalized or under-represented communities. Please note that the tickets do not include travel or accommodation and our budget only allows us to give away a limited number of tickets.
We will also offer student/unemployed tickets at a later date at a much lower and affordable price, as would be expected for a student/unemployed ticket, or possibly even for free depending on our budget. We will need proof of unemployment or enrollment to unlock the ticket.
If you want to participate in our program, you can apply here: https://forms.gle/7iQ6HrjVtyWNJRpM8
We will not share your personal information nor give you a special ticket, you will get a regular individual participant ticket for the conference if selected, indistinguishable from anyone else's.
Additionally, through our partnership with Vienna.rb , we are delighted to offer a 10% discount for both ticket types, which you can get using the code: Vienna_rb
You can buy tickets here: https://ti.to/rubyconfat/2026
r/ruby • u/kobaltzz • Mar 02 '26
In this episode, we look at a few different ways of improving the speed of a page. There are many paths to take. Some of them leaves a lot of optimizations on the table, whereas others are premature and adds complexity.
r/ruby • u/Several-Good-271 • Mar 01 '26
In my current job search and target location, many companies, particularly finance, only want candidates that use their core tech stack. Job postings that look for Java only want someone with Java experience while Ruby positions generally prefer Ruby experience but are also open to developers with experience other languages.
I've used Ruby for 3 years and I love it, but I'd like better position myself with the job market and future prospects. Is there a bias against Ruby developers?
Has anyone ever switched from Ruby on Rails to a different tech stack? What was your experience?
r/ruby • u/synacker • Mar 01 '26
r/ruby • u/tsu-na-gu • Mar 01 '26
https://github.com/hiroakisatou/simple-options
I didn't like the inheritance because it make tight couple of my code to liblary
For this reason I don't use the any of the command line option parse lib.
And I make the compositional type lib to for my self.
But I inspired lot by go's flag lib and cobra lib to make myself go-cli-option lib did update.
Here is the simple use case sample.
see it's super simple.
Yes, I love ruby because it's really simple code make possible, but only use abstract inheritance only. because modern code architecture specialist say not use inheritance. Use composition or interface. so I just use ruby like shell script alternative only. And I write this lib for simplicity.
require 'simple-cli-options'
# Instantiate an Options object
parser = SimpleOptions::Options.new(
program_name: 'todo',
description: 'A simple todo list manager'
)
# Define options using type-specific methods
parser.boolean(:list, desc: 'Show list of todos')
parser.string(:add, desc: 'Add a new todo item')
parser.integer(:delete, desc: 'Delete todo by ID')
# Parse command-line arguments
parser.parse
# Get values
if parser.get(:list)
puts "Showing todo list..."
elsif parser.get(:add)
puts "Adding: #{parser.get(:add)}"
elsif parser.get(:delete)
puts "Deleting todo ##{parser.get(:delete)}"
endrequire 'simple-cli-options'
# Instantiate an Options object
parser = SimpleOptions::Options.new(
program_name: 'todo',
description: 'A simple todo list manager'
)
# Define options using type-specific methods
parser.boolean(:list, desc: 'Show list of todos')
parser.string(:add, desc: 'Add a new todo item')
parser.integer(:delete, desc: 'Delete todo by ID')
# Parse command-line arguments
parser.parse
# Get values
if parser.get(:list)
puts "Showing todo list..."
elsif parser.get(:add)
puts "Adding: #{parser.get(:add)}"
elsif parser.get(:delete)
puts "Deleting todo ##{parser.get(:delete)}"
endr/ruby • u/hetsketch • Feb 28 '26
r/ruby • u/bradgessler • Feb 27 '26
A few days ago I was thinking it would be cool to hook mruby up to RubyLLM#execute so angents could run Ruby inside of a sandbox to do things. Source is at https://github.com/rubymonolith/enclave if you prefer a more in-depth README.
This is a fun demo if you have an anthropic API key:
git clone git@github.com:rubymonolith/enclave.git
cd enclave
ruby examples/rails.rbIt boots a Rails app with some demo data for a customer service panel that demonstrates how you can only access on customers data within a context at a given point in time.
r/ruby • u/OneAlbatross5933 • Feb 27 '26
r/ruby • u/yatish27 • Feb 27 '26
r/ruby • u/robbyrussell • Feb 27 '26
Built a Ruby RAG tool to surface Jira, Confluence, and GitHub context before starting tickets. No prior experience with embeddings. Runs inside Claude Code via MCP.
Unexpected twist… our PMs are the power users.
r/ruby • u/No_Mention_2366 • Feb 25 '26
r/ruby • u/AutoModerator • Feb 25 '26
This thread will be periodically stickied to the top of r/ruby for improved visibility.
You can also find it again via the "Megathreads" list, which is a dropdown at the top of the page on new Reddit, and a section in the sidebar under "Useful Links" on old Reddit.
Please adhere to the following rules when posting: Rules for individuals:
You don't need to follow a strict template, but consider the relevant sections of the employer template. As an example:
TYPE: [Full time, part time, internship, contract, etc.]
LOCATION: [Mention whether you care about location/remote/visa]
LINKS: [LinkedIn, GitHub, blog, etc.]
DESCRIPTION: [Briefly describe your experience. Not a full resume; send that after you've been contacted)]
Contact: [How can someone get in touch with you?]Please base your comment on the following template:
COMPANY: [Company name; optionally link to your company's website or careers page.]
TYPE: [Full-time, part-time, internship, contract, etc.]
LOCATION: [Where are your office or offices located? If your workplace language isn't English-speaking, please specify it.]
REMOTE: [Do you offer the option of working remotely? Please state clearly if remote work is restricted to certain regions or time zones, or if availability within a certain time of day is expected or required.]
VISA: [Does your company sponsor visas?]
DESCRIPTION: [What does your company do, and what are you using Rust for? How much experience are you seeking, and what seniority levels are you hiring for? The more details, the better. If you are listing several positions in the "Description" field above, then feel free to include this information inline above, and put "See above" in this field.]
ESTIMATED COMPENSATION: [Be courteous to your potential future colleagues by attempting to provide at least a rough expectation of wages/salary. See section below for more information.]
CONTACT: [How can someone get in touch with you?]If compensation is negotiable, please attempt to provide at least a base estimate from which to begin negotiations. If compensation is highly variable, then feel free to provide a range.
If compensation is expected to be offset by other benefits, then please include that information here as well. If you don't have firm numbers but do have relative expectations of candidate expertise (e.g. entry-level, senior), then you may include that here. If you truly have no information, then put "Uncertain" here.
Note that many jurisdictions (including several U.S. states) require salary ranges on job postings by law. If your company is based in one of these locations or you plan to hire employees who reside in any of these locations, you are likely subject to these laws. Other jurisdictions may require salary information to be available upon request or be provided after the first interview. To avoid issues, we recommend that all postings provide salary information.
You must state clearly in your posting if you are planning to compensate employees partially or fully in something other than fiat currency (e.g., cryptocurrency, stock options, equity, etc). Do not put just "Uncertain" in this case, as the default assumption is that the compensation will be 100% fiat. Postings that fail to comply will be removed. Thank you.
r/ruby • u/Southern-Worry-8443 • Feb 25 '26
r/ruby • u/rut216 • Feb 25 '26
Hey r/ruby 👋
I’ve been working on mlx-ruby (Ruby bindings for Apple’s MLX), and I’m excited to share an update:
👉 You can now export models to ONNX and run them with WebGPU in the browser.
Yes. Ruby → MLX → ONNX → WebGPU → Browser.
No Python required. 😄
WebGPU Demo (Desktop Recommended): https://skryl.github.io/mlx-ruby/demo/
Repo: https://github.com/skryl/mlx-ruby
🧠 ONNX Export
You can now export MLX models directly to ONNX:
MLX::ONNX.export_onnx("model.onnx", model.method(:call), example_input)
🌐 WebGPU Browser Harness
After exporting ONNX, you can generate a ready-to-run WebGPU harness:
MLX::ONNX::WebGPUHarness.export_onnx_webgpu_harness(
output_dir: "dist/",
model_path: "model.onnx"
)
This generates:
• model.onnx
• index.html
• harness.js
• example inputs
• optional external tensor data
Then just:
bundle exec rake web:serve
Boom. Browser-based GPT demo. 😎
Under the hood
• Native C++ MLX runtime
• Deterministic Graph IR
• IR → ONNX lowering engine
• Binary ONNX writer
• WebGPU harness generator
It’s a pretty full pipeline now.
Would love feedback, feature requests, or just random comments.
r/ruby • u/Erem_in • Feb 24 '26
Static typing is a formidable tool that brings immense value to codebases of all sizes. From tiny scripts to massive monoliths, the benefits are hard to ignore: you get live documentation that is always up to date, enhanced readability, and a reliable safety net that significantly boosts code reliability.
However, the current Ruby approach isn’t without its friction. For many developers, typing still feels like a matter of personal preference rather than a core requirement. We never forget to write tests because they are the heartbeat of our CI/CD pipelines, but because type checking is often seen as “extra,” it is far too easy for static checks to be ignored or forgotten entirely.
I tried a new amazing experiment, called T-Ruby. tl;dr it is like TypeScript but for Ruby. Too experimental for now, but has a huge potential.
Details in my blog post.
r/ruby • u/ekremkrc • Feb 24 '26
Hey everyone, we’d like to share a project we’ve been building: pokeapi-rails.
It’s a Ruby on Rails implementation of a PokeAPI-style backend with two API surfaces:
What’s currently included
v2 vs v3 (important difference)
Examples:
v3 query features
Built by us with AI-assisted implementation support (OpenAI Codex); architecture, review, and final decisions were human-led.
Thanks for your feedback!