HN user

monfresh

10 karma

I'm the creator of Ruby on Mac (rubyonmac.dev): the easiest, fastest, and most reliable way to set up, restore, and maintain a proper Ruby dev environment on a Mac. It's the result of helping 100K+ people over the past 12 years, and 100+ hours of research and testing on 4 Macs.

Before that, I spent 8 years in Civic Tech working on open source Rails projects that serve millions of people, such as login.gov. I also helped teams save 3 to 7 work-months per year through automating manual tasks and dev workflows, speeding up onboarding and test suites, improving code quality and maintainability, and improving developer happiness.

Posts4
Comments8
View on HN

You can already do this with these forks of ruby-packer and traveling-ruby:

https://github.com/ericbeland/ruby-packer https://github.com/YOU54F/traveling-ruby

ruby-packer is what I use to distribute a paid CLI, although on macOS only because my product is specifically for customers on macOS.

The advantage of ruby-packer is that it is much simpler, but you need to have access to each OS where you want to distribute your executable. OTOH, with traveling-ruby, you can build executables for all OSes from the same machine.

That's great to hear! That situation is more common than people might think. My script is based on 10 years of helping people set up a proper dev environment on a Mac, and I've seen pretty much every error and scenario so far.

And the main reason to use the script is to save time, which is our most valuable and limited resource. The Prime version installs a lot more than just Ruby. You can set up a new Mac with all your favorite dev tools and Mac apps.

Imagine a growing company that builds Rails apps. What would be more efficient? To have every new engineer set up their machine manually on their own, or have them run a script that installs everything they would need?

I would be interested in such a plugin as well. Given that I have a very unique name (Moncef Belyamani) and that I've had an online presence for quite some time, I've owned the first page of search results for both my name and my "monfresh" nickname for years. I don't have a need for a BrandYourself profile, but the "associate an IP address to a company" feature is intriguing, and the analytics service I use for my sites (getclicky) doesn't seem to offer that. Are there any analytics companies that do?

I appreciate the feedback, but you posted that line out of context. I did not simply provide a shortened URL without any explanation. I linked to the official Homebrew installation instructions, and provided the full URL that my bit.ly link resolves to. I also included a screenshot of the command being run with the full original URL.

What else would you suggest I do to make it less terrifying?

My tutorial (http://www.moncefbelyamani.com/how-to-install-xcode-homebrew...) is mentioned in the article, and at the time I wrote it (back in March), those were the steps necessary to install all of those tools.

I published it to help others avoid the pain I went through, and to share what I've learned so far. Given that it has had over 15,000 views so far (mostly search traffic), I'd say it's doing its job.

A few weeks ago, I used my own tutorial to set up a new MacBook Pro, and noticed that the latest version of the Xcode Command Line Tools and Homebrew seem to play well now. Originally, the separate CLT download from Apple and Kenneth Reitz's osx-gcc-installer resulted in errors when installing Homebrew, but I'm planning on trying them again soon and updating my tutorial with my findings.

I'm also planning on evaluating the new RailsInstaller for Mac, but when starting out, I recommend learning the hard way to understand what each tool does and to pick up some basic command line skills.

This looks fantastic. I'm currently writing my first practical Rails app and using APIs for the first time (the Tumblr API specifically). The app works, but I need to move the API calls to a background process and I haven't been able to get that to work yet. Does your book cover background processes?

Also, I wanted to let you know about my detailed and thorough tutorial for installing Xcode, Homebrew, Git, RVM and Ruby on a Mac. I think your readers will find it helpful. It covers a lot of steps that are missing from your instructions. http://moncefbelyamani.com/how-to-install-xcode-homebrew-git...