I just did a clean install for the high sierra. and need to set my dev environmet up.
so basically I've done these things
RUBY_CONFIGURE_OPTS=--with-readline-dir="$(brew --prefix readline)" rbenv install 2.3.1
and there goes
ruby-build: use openssl from homebrew
Downloading ruby-2.3.1.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.bz2
Installing ruby-2.3.1...
Installed ruby-2.3.1 to /Users/unayung/.rbenv/versions/2.3.1
there is no readline mentioned by rbenv / ruby-build
and when I goes to IRB try to input some words in chinese
the key input became something like hotkey (# / ------- / args / list files in current folder)
I have no idea what's going on.
did I messed up in any step above ? thanks.
I've done another clean install for High Sierra. and make sure install Xcode and command line tools before install homebrew.
now I have my IRB and Rails console working perfectly.
I am having the same issue. Tried reinstalling readline and Ruby 2.3.1, on MacOS Mojave 10.14.5
Actually tired of this... can't use history with irb and rails console.
Re-installing all OS isn't the solution I am looking for.
It looks like you're having problems with ruby-build, which is the plugin that provides the rbenv install command. Sorry to hear that you're having trouble 馃檱
My apologies. I didn't read properly and thought this issue was opened in the rbenv/rbenv repo, but you filed it correctly.
Same issue as @spidergears here, I'm on MacOS Mojave 10.14.5 . It's a fresh install I made a few weeks ago and really can't reinstall the whole OS again. There must be a solution I hope! Thanks for helping
Fixed! I did the following:
brew reinstall rbenv ruby-build readline, rbenv uninstall2.6.3 in my case)It said:
Installing ruby-2.6.3...
ruby-build: use readline from homebrew
And it worked! Hope this helps someone else 馃檪
@Unayung Is this still an issue? 馃檱
nope. it works :D
thanks @mislav @algodave
RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(/usr/local/bin/brew --prefix [email protected]) --with-readline-dir=/usr/local/opt/readline" rbenv install 2.3.8
Most helpful comment
Fixed! I did the following:
brew reinstall rbenv ruby-build readline,rbenv uninstall2.6.3in my case)It said:
And it worked! Hope this helps someone else 馃檪