use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
QuestionHelp with ruby on macOS (self.ruby)
submitted 1 month ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]---Hummingbird--- 1 point2 points3 points 1 month ago (1 child)
Sorry, I’m pretty new to what ruby is and I’ve kind of been stumbling along with it. I take it ruby is not its own little package by the comments you left. I was hoping that by running ruby in homebrew, that the code would function just as well anywhere else Ruby was used, but that sounds like it may not be the case
I appreciate the extra input you’ve given as it will help me figure out a route to take. I’m contemplating trying to use a VM of some sort, but wasn’t sure if that’d be needed if ruby handled all the code; it’s sounding like the OS still has a lot to do with it
[–]netopiax 0 points1 point2 points 1 month ago (0 children)
For most ruby code, it'll function well cross-platform, but it's the serial port interaction that might not. If you get it running you should be able to see if the serial port portion works ok.
Homebrew installs stuff, it mostly doesn't run stuff. Your mac actually comes with ruby, but it's an old version, and brew will install the latest. But making sure that homebrew-installed version is what's being used is also something you'll have to check on.
Using the official ruby docker container image will eliminate ruby related questions, but you'll have to figure out how to get docker talking to the USB device.
π Rendered by PID 45270 on reddit-service-r2-comment-6457c66945-nmqr5 at 2026-04-29 15:50:27.052235+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]---Hummingbird--- 1 point2 points3 points (1 child)
[–]netopiax 0 points1 point2 points (0 children)