HOWTO make readline and history work with irb and rails console on OS X Yosemite

Here’s how to make readline (including control-R reverse search) and command history work with both irb and the Rails console with rbenv and OS X Yosemite (10.10.4). You need to install Readline first, as OS X ships with libedit instead. You also need to make sure rbenv knows where you put readline. 1. Install rbenv […]