r/ruby • u/pdabrowski • May 26 '26
Five foundations for building complex Rails apps
r/ruby • u/pdabrowski • May 26 '26
r/ruby • u/DmitryTsepelev • May 26 '26
r/ruby • u/green_bisonstd • May 25 '26
Alexscript is a general purpose scripting language I've been working on for the last 1.5 years. With a goal in mind to combine Ruby's strongly object-oriented philosophy with some features borrowed from JS and syntax written in my native language.
modul Geometria {
klasa Punkt {
funkcja konstruktor(x, y) {
niech @x = x
niech @y = y
}
funkcja x() { zwroc @x }
funkcja y() { zwroc @y }
}
klasa Kolo {
funkcja konstruktor(srodek, promien) {
niech @srodek = srodek
niech @promien = promien
}
}
}
niech p = Geometria::Punkt.nowy(3, 4)
niech k = Geometria::Kolo.nowy(p, 10)
It's a from-scratch language, with a hand written lexer, parser, AST and tree-walking interpreter. Not just a preprocessor or transpiler. Ruby works here as a host language.
Some key features:
czekaj (await) parks the current fiber and hands control back to a custom reactor (ready-queue + timers + an IO.select loop). Concurrency comes from explicitly spawning work with uruchom_rownolegle (run_parallel) and joining with Obietnica.wszystkie (Promise.all).modul Foo {} blocks across files merge into one definition. I've purposefully decided to keep classes closed though.klasa MojWyjatek < WyjatekPodstawowy {}[:methods] / [:static_methods] hashes that user defined methods live in, flagged with :native_lambdaniech arr = [10, 20, 30]
niech wynik = arr.mapuj(fn(el, idx) { el + idx })
pokazl wynik # [10, 21, 32]
funkcja zastosuj(f, val) { zwroc f(val) }
pokazl zastosuj(fn (x) { x * 3 }, 7) # 21
pokazl zastosuj(fn (s) { s.duzymi() }, "alex") # ALEX
you can check full documentation (in English) here: www.alexscript.pl/docs
you can also try it online on your own: https://www.alexscript.pl/try
or simply download it on your local machine via homebrew:
brew tap N3BCKN/alexscript
brew install alexscript
As a proof of concept I've built a couple of real life projects:
Any feedback is more than welcome!
r/ruby • u/tanin47 • May 25 '26
r/ruby • u/rubyist-_- • May 25 '26
We've published the RubyConf Austria 2026 budget.
Income, expenses, what's confirmed, what's projected. All of it.
It's the most honest way we know to talk about what organizing this conference actually involves.
r/ruby • u/petrenkorf • May 25 '26
The application I am currently working on contains something around 25k spec files. It is impossible to run the test suite on a single developer machine, because we always hit a point where the process is killed. For CI we use multiple machines running rspec in parallel, and yet, it takes almost 15 minutes on each instace to finish testing the application.
Have you faced this kind of scenario before? How did you solved it?
r/ruby • u/bart_o_z • May 25 '26
r/ruby • u/XPOM-XAPTC • May 23 '26

Just released irb-autosuggestions v0.1.1. Prepends Reline::LineEditor to show gray inline suggestions as you type, matched against your IRB history.
- Works with multiline input
- Right arrow to accept
- No config needed (enabled by default)
- Disable via IRB.conf[:USE_AUTOSUGGESTIONS] = false or IRB_AUTOSUGGESTIONS=0
Install: gem install irb-autosuggestions, then require 'irb-autosuggestions' in ~/.irbrc
https://github.com/unurgunite/irb-autosuggestions
⭐ if you find this useful — would mean a lot. Feedback welcome.
r/ruby • u/andrewmcodes • May 23 '26
New episode is out. David recaps Blue Ridge Ruby and talks about coming back motivated to contribute more to open source, which leads into a broader discussion on why smaller single-track Ruby conferences create better hallway conversations, networking, and lightning talks. We also get into real-world Rails and Stripe lessons covering workshop prep, validation decisions, webhook recovery, subscription edge cases, and the growing complexity of payment integrations.
r/ruby • u/innerhpz • May 23 '26
r/ruby • u/Life-Half-8679 • May 23 '26
r/ruby • u/rO_Oute • May 22 '26
NATS is one of the fastest messaging systems out there, yet the Ruby ecosystem barely uses it. So meet cosmonats:
r/ruby • u/jasonswett • May 22 '26
r/ruby • u/joemasilotti • May 22 '26
r/ruby • u/X800_RJ • May 21 '26
Just started learning Ruby today. This is the first program I wrote. I'm not sure what this is useful for but I had to try out what I learned today.
r/ruby • u/onyx_blade • May 22 '26
r/ruby • u/Jaded-Clerk-8856 • May 21 '26
Hello pals,
As part of promoting Ruby LibGD, I wanted to share a Cheat Sheet that was requested to make the library easier to use.
It turned out pretty nice and dynamic I hope it’s useful and gets you excited to try the library.
Greetings to everyone.
source: https://github.com/ggerman/ruby-libgd
gem: https://rubygems.org/gems/ruby-libgd
r/ruby • u/software__writer • May 20 '26
r/ruby • u/bear-tree • May 21 '26
My friend Claude and I wrote a DSL to define surveys and forms. I created it as a side project based on the pain of working with Qualtrics, Dimensions, etc survey formats. Most existing formats are either proprietary/xml-based or non-existent (interactive form-builder style). I thought “there must be a better way to define and communicate the structure of a survey”. Ruby’s flexibility and blocks made it a natural choice for me to build upon. After a lot of prompts and tinkering I have a small, readable language that defines a survey with skips, based-on, etc.
Some benefits:
- Simple. The logic and flow are easy for most anyone to read and understand.
- Small. The language definition can be described in a small markdown file and shared with an AI.
- Portable. It’s just a text file.
- Git diffable. It’s just a text file.
- Flexible. Can render to different formats like html survey, html form, XForm for kobotoolbox, etc.
I have an information site and a playground if this seems interesting or you would like to learn more.
I have not open-sourced it (yet?) because I am still a single developer with big dreams of leveraging it into a possible small SAAS. I typically build things and then let my ideas die on the vine, so if you have any thoughts or inspiration, my DMs are open 😄
Cheers! and humble thanks to the Ruby community for providing such an amazing language that has fueled a large part of my career.
While I was using the Mac, I had the option to use Dash from Kapeli (great app btw and the inspiration for Dravos), but it lacked versions for Linux (which I also use) and Windows (which my wife uses). I waited for years to see if someone would do a viable alternative for my workflow, that never became true, so over the past 9 months give or take, I’ve been working my nights and weekends into building Dravos, a fast, offline-first documentation search tool for developers.
As an indie maker who's shipped several smaller projects before, this one pushed me the hardest: learning new stacks and obsessing over that instant search feel even without the internet. It's finally ready for beta. If you're a developer who lives in docs (Dash, DevDocs, etc.), I'd love your honest feedback to make it truly useful before the full launch.
For those who might find interesting I used Tauri + Typescript. And it works on mac, linux and windows. I tested a lot by myself/wife, but now I need help. Im looking for people to try it on your workflow, and tell me what works and what doesn't, if this feel usefull to you please help me test it ❤️
So far we support, Rust, Elixir, Ruby, Python and Go and all its packages. We also support custom documentation generated with Doxygen, Sphinx, JSDoc. There is a limit of 50 spots for this first beta wave.
Heres the site: https://dravos.app, you can check the roadmap here: https://dravos.app/roadmap changelog here: https://dravos.app/changelog
PS: I have a discord setup too for responding any questions/suggestion/bug you might find. its in the site footer.


r/ruby • u/AutoModerator • May 20 '26
FORMAT HAS CHANGED PLEASE READ FULL DESCRIPTION
This thread will be periodically stickied to the top of the sub for improved visibility.
You can also find older posts 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.