Thrum

Why is a ruby process using CPU on my Mac?

Last reviewed: 19 November 2026. /usr/bin/ruby version (2.6.10) checked on macOS 26.3.1.

A ruby process is the Ruby interpreter running some program, and on a Mac that is often a developer tool: CocoaPods, fastlane, Homebrew's brew command, Jekyll or a Rails server. Its command line names the program and its parent shows what started it. Most of these tools use CPU only while a command runs and then exit.

ruby at a glance

ruby
Made byThe Ruby project; Apple includes Ruby 2.6 in macOS
TypeRuby interpreter process
Location/usr/bin/ruby
Runs asyour user
Can you quit it?Yes, but the script it runs stops, which can leave an install half done.

What is ruby?

macOS includes Ruby at /usr/bin/ruby; on macOS 26.3.1 it is Ruby 2.6.10. ruby-lang.org notes that Ruby 2.0 and above has been included in macOS since at least El Capitan, and that newer versions are commonly installed with Homebrew or a version manager such as rbenv, chruby or asdf.

Several common tools are written in Ruby. CocoaPods says it is built with Ruby and can be installed with the Ruby that comes with macOS, and Homebrew's brew command runs in Ruby, so these show up as ruby processes while they work.

Is ruby safe?

The interpreter is part of macOS or a version you installed; what matters is the script. A ruby process you cannot link to a tool or project deserves a look at its command line.

Why does ruby use so much CPU and network?

How much CPU is normal for ruby?

High CPU for the length of a command such as pod install or brew upgrade, then no process at all, is normal.

A development server stays running at low CPU while idle.

How do you find out what a ruby process is running?

  1. Read its command line. Run ps -o pid,ppid,args -p <PID>. The arguments name the program, such as pod, fastlane, jekyll or Homebrew's brew.rb.
  2. Check which Ruby it is. The path shows whether it is the system Ruby in /usr/bin, Homebrew's, or one from a version manager in your home folder.
  3. Let installs finish. Interrupting pod install, bundle install or brew upgrade can leave things half installed. Let them complete, then rerun if needed.
  4. Stop servers from their terminal. Press Control-C in the Terminal window running a Rails or Jekyll server.

When should you worry about ruby?

A ruby process that runs at login from a hidden folder with no tool you recognize as its parent should be investigated, starting with ~/Library/LaunchAgents.

Do not remove the system Ruby in /usr/bin; it is part of the sealed system volume.

How do you check ruby in Activity Monitor and Terminal?

Open Activity Monitor (Applications > Utilities), and type ruby in the search field. The CPU tab shows its % CPU. The Network tab shows its Sent Bytes and Rcvd Bytes. Double-click the row for its parent process, memory details and open files.

In Terminal, the first command lists every ruby process with its PID, user, CPU and memory (RSS is resident memory in kilobytes). nettop shows its live network traffic.

ps -axo pid,user,%cpu,%mem,rss,command | grep -F 'ruby' | grep -v grep
nettop -p ruby

How can Thrum help with ruby?

Thrum keeps a live CPU graph in the menu bar. One click shows the eight processes using the most CPU, so you can see when ruby is among them and how much it takes. An optional alert tells you when a process stays above a CPU level you choose (50 to 200% of one core) for 1 to 10 minutes. Click ruby in the list for its PID, threads and memory, and Quit or Force Quit it after a confirmation.

Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.

Questions about ruby

Is the Ruby in macOS still supported?

macOS 26.3.1 still includes Ruby 2.6.10, an old release. CocoaPods' guide, for example, advises against relying on the system Ruby.

Why is ruby running when I ran brew?

Homebrew's command is implemented in Ruby, so brew appears as a ruby process while it works.

Sources