Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not build ruby with lib-readline on Mac #118

Open
jameschenjav opened this issue Mar 31, 2022 · 0 comments
Open

Can not build ruby with lib-readline on Mac #118

jameschenjav opened this issue Mar 31, 2022 · 0 comments

Comments

@jameschenjav
Copy link

jameschenjav commented Mar 31, 2022

I have used rbenv for years on Mac. This week I started to use frum and immediately noticed an issue. The readline does not work properly.

For example, previously if I enter pry again, I can still use arrow-key to get my history. Now I press "up", nothing happens. I should be able to search in history with ctrl + r if lib-readline had been compiled with ruby properly:

❯ pry
[1] pry(main)>
(reverse-i-search)`':

Both rbenv and frum have been installed via homebrew.

❯ rbenv install 3.1.1
Downloading openssl-1.1.1n.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a
Installing openssl-1.1.1n...
Installed openssl-1.1.1n to /Users/james/.rbenv/versions/3.1.1

Downloading ruby-3.1.1.tar.gz...
-> https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.1.tar.gz
Installing ruby-3.1.1...
ruby-build: using readline from homebrew
Installed ruby-3.1.1 to /Users/james/.rbenv/versions/3.1.1

with frum

❯ frum install 3.1.1
==> Downloading https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.1.tar.xz
==> Extracting ruby-3.1.1.tar.xz
==> Building Ruby 3.1.1

My Mac is Intel version

❯ sw_vers
ProductName:	macOS
ProductVersion:	12.2.1
BuildVersion:	21D62

❯ sh -c "$(echo $SHELL) --version"
fish, version 3.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant