Project

General

Profile

Bug #4162

Shell completion fails on ruby 1.8

Added by Tomáš Strachota over 6 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer core
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

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.


Related issues

Has duplicate Hammer CLI - Bug #4479: auto-complete (press of TAB button) makes hammer shell to quit with errorDuplicate2014-02-27

Associated revisions

Revision 0e0da58f (diff)
Added by Tomas Strachota almost 6 years ago

Fixes #4162 - native readline replaced with rb-readline

Revision 84d93cf0
Added by mbacovsky almost 6 years ago

Merge pull request #127 from tstrachota/readline

Fixes #4162 - native readline replaced with rb-readline

History

#1 Updated by Tomáš Strachota over 6 years ago

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.

#2 Updated by Martin Bacovsky about 6 years ago

  • Has duplicate Bug #4479: auto-complete (press of TAB button) makes hammer shell to quit with error added

#3 Updated by The Foreman Bot almost 6 years ago

  • 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

#4 Updated by Tomáš Strachota almost 6 years ago

  • Assignee set to Tomáš Strachota

#5 Updated by Tomáš Strachota almost 6 years ago

  • Bugzilla link set to 1125895

#6 Updated by Dominic Cleal almost 6 years ago

  • Bugzilla link changed from 1125895 to 1123478

#7 Updated by Dmitri Dolguikh almost 6 years ago

  • Target version changed from 1.7.5 to 1.7.4

#8 Updated by Dmitri Dolguikh almost 6 years ago

  • Target version changed from 1.7.4 to 1.7.3

#9 Updated by Anonymous almost 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF