Bug #4162
closed
Shell completion fails on ruby 1.8
Added by Tomáš Strachota almost 11 years ago.
Updated over 6 years ago.
Description
run `hammer -v shell` on ruby 1.8, hit <tab> to invoke command completion and see following exception:
NoMethodError (undefined method `line_buffer' for Readline:Module)
This method is really missing for for Readline version in 1.8.
This one is quite complicated to fix but we should at least disable completion in 1.8 asap because it currently raises ugly exception with every <tab> hit.
- Has duplicate Bug #4479: auto-complete (press of TAB button) makes hammer shell to quit with error added
- Status changed from New to Ready For Testing
- Target version set to 1.7.5
- Pull request https://github.com/theforeman/hammer-cli/pull/127 added
- Assignee set to Tomáš Strachota
- Bugzilla link set to 1125895
- Bugzilla link changed from 1125895 to 1123478
- Target version changed from 1.7.5 to 1.7.4
- Target version changed from 1.7.4 to 1.7.3
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF