-
Notifications
You must be signed in to change notification settings - Fork 5
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
Comments
extra info: on fc17 the readline is there |
So the fix is to the readline package in bootstrap.sh's dependencies, right? Want to make sure I'm not missing something... |
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. |
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. |
@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? |
My case was rbenv, I just downloaded the ruby tarball (1.9.3-p362) and build it manually. No dev-tools involved. |
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. |
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)>'The text was updated successfully, but these errors were encountered: