FG
💻 Software

How do I alias a Homebrew installed Ruby 1.9 gem binary in /usr/local/bin?

Fresh5 days ago
Mar 15, 20266876 views
Confidence Score0%
0%

Problem

Homebrew's Ruby 1.9 ships with rubygems. Doing installs files and binaries into some long-winded path. For example, bundler is installed at: I'd like to have automatically symlink these binaries into a common location such as so that I don't have to manually link each of these binaries. Is this pos…

Error Output

/usr/local/Cellar/ruby/1.9.3-p0/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/bin/bundle

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I alias a Homebrew installed Ruby 1.9 gem binary in /usr/local/bin?

Low Risk

Related question on StackOverflow: Installing Ruby gems not working with Home Brew This little one-liner works perfect and is faster than querying brew-info: More info in my answer there.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment