S
Stuart Coleman
I recently upgraded from Ruby 0.8.6 to 0.9.1, and was trying out some
old scripts to make sure they worked. The scripts were typically run in
IRB and performed some calculations with data saved in a networked
drive. Because the scripts are stored on my local computer I would have
to navigate over to the drive by doing something like:
"ScriptName.action 'Z:/directory/filename.bin'". In 0.8.6 I was able to
enter that filepath through tab completion, but this no longer works.
After trying to debug this problem it seems that IRB now only allows tab
completion for the methods you get from entering "require
'irb/completion'", and whatever is in the folder IRB is launched from.
So if I launch from folder "foo" which contains folder "bar", I can tab
complete 'bar/' but won't see anything in that folder.
I feel pretty confident that getting back to the old behavior is a
simple matter of setting some option, but can't for the life of me find
it (I've been googling for some time now). Any help is much appreciated.
old scripts to make sure they worked. The scripts were typically run in
IRB and performed some calculations with data saved in a networked
drive. Because the scripts are stored on my local computer I would have
to navigate over to the drive by doing something like:
"ScriptName.action 'Z:/directory/filename.bin'". In 0.8.6 I was able to
enter that filepath through tab completion, but this no longer works.
After trying to debug this problem it seems that IRB now only allows tab
completion for the methods you get from entering "require
'irb/completion'", and whatever is in the folder IRB is launched from.
So if I launch from folder "foo" which contains folder "bar", I can tab
complete 'bar/' but won't see anything in that folder.
I feel pretty confident that getting back to the old behavior is a
simple matter of setting some option, but can't for the life of me find
it (I've been googling for some time now). Any help is much appreciated.