You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This will remove old Readline if it's already definedrequire'rb-readline'# This will load RbReadline for realrequire'rbreadline'# This will load Readline that relies on RbReadlinerequire'readline'
The README says we should do
require'readline'
I think it is a little confusing to ask someone to require the gem with "another" name.
And the chances of name collision in bug situations are greater.
IMHO, the 'canonical' way of requiring rb-readline should be simple as:
require'rb-readlne'
What are the maintainers opinion on this?
If you agree I'll try to find some time to offer a patch for that (don't promise, but I can try).
But, if somebody wants to give a try sooner, feel free to do it.
The text was updated successfully, but these errors were encountered:
Requiring RbReadline is a tricky business. I've been looking around for my various experiments with loading the library in a clean way, but alas they seem to have disappeared into the ether along with my memory of the problems I encountered.
I do remember that because Readline is part of the stdlib, this is a very awkward library to require. Sorry this isn't more help.
I was not able to make it work as the README file states.
Looking at the code at:
I have made my way with this fragment of code:
The README says we should do
I think it is a little confusing to ask someone to require the gem with "another" name.
And the chances of name collision in bug situations are greater.
IMHO, the 'canonical' way of requiring rb-readline should be simple as:
What are the maintainers opinion on this?
If you agree I'll try to find some time to offer a patch for that (don't promise, but I can try).
But, if somebody wants to give a try sooner, feel free to do it.
The text was updated successfully, but these errors were encountered: