Automatically link rbenv Ruby installs to readline on OS X
Clone or download
Latest commit 7d9eb39 Mar 30, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
etc/rbenv.d/install Disable plugin for rubinius installs Mar 28, 2014
CONTRIBUTING.markdown Initial commit Feb 24, 2013
MIT-LICENSE Initial commit Feb 24, 2013
README.markdown Document obsolescence Mar 30, 2014

README.markdown

This plugin's behavior has been made standard in ruby-build, rendering it obsolete.

Automatically link rbenv Ruby installs to readline on OS X

OS X ships with editline rather than readline, and by default any Ruby you compile on it will use the former rather than the latter. This rbenv plugin's sole purpose is to tell ruby-build to link to a Homebrew installed readline instead.

The particular problem this was created to solve was getting the ironically named pry-editline to consistently work across my Ruby installs. This is by no means the only reason to eschew editline.

Installation

git clone git://github.com/tpope/rbenv-readline.git \
  ~/.rbenv/plugins/rbenv-readline