Windows: `uru TAG` doesn't switch to the ruby
uru TAG
runs ruby instead of switching.
Command-line output:
PS C:\Open\path> uru list
ruby2 : ruby 2.1.4p265 (2014-10-27 revision 48166) [x64-mingw32]
From the uru install location:
PS C:\Open\path> uru ruby2
ruby 2.1.4p265 (2014-10-27 revision 48166) [x64-mingw32]
But ruby runs (as an interpreter?) and doesn't terminate, so I have to interrupt, and it's still not switched:
PS C:\Open\path> ruby: Interrupt
uru list
ruby2 : ruby 2.1.4p265 (2014-10-27 revision 48166) [x64-mingw32]
If I attempt to switch outside the uru install location, it indicates an attempt to run ruby (that fails):
PS C:\Users\Luis\git\wintersmith\ctsi> uru ruby2
ruby 2.1.4p265 (2014-10-27 revision 48166) [x64-mingw32]
---> unable to run `ruby `
Comments (6)
-
repo owner -
repo owner Nice catch.
This is a bug in my command router regex's. The regex is missing parens and should look like
\A(ruby|rb)\z
.Please download the following test version of
uru_rt.exe
, replace your existing uru_rt.exe (after backing up the existing as uru_rt.exe.bak) and confirm that this issue is solved for you.uru_rt.exe 0.7.6.alpha.1 download
EDIT: removed outdated download link
-
repo owner -
assigned issue to
-
assigned issue to
-
Much better!
PS C:\Users\Luis> uru ls ruby2 : ruby 2.1.4p265 (2014-10-27 revision 48166) [x64-mingw32] PS C:\Users\Luis> uru ruby2 ---> Now using ruby 2.1.4-p265 tagged as `ruby2` PS C:\Users\Luis> uru ls => ruby2 : ruby 2.1.4p265 (2014-10-27 revision 48166) [x64-mingw32]
-
repo owner Great. I will release a new version shortly.
-
repo owner - changed status to closed
Fix regex's to stop command aliasing. Closes
#63→ <<cset d7ea23b335f3>>
- Log in to comment
I'm guessing your tag name of
ruby2
confuses uru since I cannot replicate your failure using "normally" named tags.Instead of using
ruby2
please try choosing another tag label (that doesn't containruby
) and see if the problem persists.