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

ruby compiled w/o readline support #41

Open
martinpovolny opened this issue Jan 30, 2013 · 7 comments
Open

ruby compiled w/o readline support #41

martinpovolny opened this issue Jan 30, 2013 · 7 comments

Comments

@martinpovolny
Copy link

platform rhel6.2
steps to reproduce:

export RBENV_VERSION=1.9.3-p362; curl https://raw.github.com/aeolus-incubator/dev-tools/master/bootstrap.sh | /bin/bash -x

then initialize rbenv

go to conductor/src

run bundle exec rails c

get:
[root@hp-magnycours-02 src]# bundle exec rails c
===== boot.rb will try and use bundler =========
/root/.rbenv/versions/1.9.3-p362/lib/ruby/1.9.1/irb/completion.rb:9:in require': cannot load such file -- readline (LoadError) from /root/.rbenv/versions/1.9.3-p362/lib/ruby/1.9.1/irb/completion.rb:9:in<top (required)>'

@martinpovolny
Copy link
Author

extra info: on fc17 the readline is there

@cwolferh
Copy link
Contributor

So the fix is to the readline package in bootstrap.sh's dependencies, right? Want to make sure I'm not missing something...

@martinpovolny
Copy link
Author

Sorry, I did not provide any fix. I just filed the bug so that it's not forgotten. The libreadline-dev (or how it is called on RH/Fedora) was installed yet the rbenv-compiled ruby was lacking the readline.

I did not dig deeper then checking that the bug is NOT on fc17 so it might be a RHEL{whatever version} specific problem.

Don't know if this should be considered a high/low priority either. Was low priority for me at the moment of filling it.

@jeckersb
Copy link

jeckersb commented Feb 1, 2013

I noticed when I rebuilt ruby on F18 that it didn't pick up readline support for irb, even though I have readline-devel installed. I haven't had a chance to investigate further, but it's a data point for you.

@martinpovolny
Copy link
Author

@jeckersb thanks for the input, so we have at least one RHEL and one Fedora not picking it

can you provide more information? what did you use rbenv? rvm? did you run dev-tools?

@jeckersb
Copy link

jeckersb commented Feb 1, 2013

My case was rbenv, I just downloaded the ruby tarball (1.9.3-p362) and build it manually. No dev-tools involved.

@jeckersb
Copy link

jeckersb commented Feb 1, 2013

I just did a config/make/make install from clean source, and now I have readline support as expected. Weird, no clue why it was broken before.

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

3 participants