vertiginous / pik

Ruby version manager for Windows
831 stars 122 forks source link

After installation, download, and switch, nothing happens #106

Open hugoestr opened 13 years ago

hugoestr commented 13 years ago

Hi,

I installed pik, I am able to download another version, and I am able to switch. But once I switch to another version, nothing happens. When I type

ruby -v,

I get no output. If I switch back to default, then it works again.

vertiginous commented 13 years ago

Which version are you using?

Can you show me some output? Run:

pik list -v
pik use (another_version)
ruby -v
set path
jinleileiking commented 13 years ago

C:\Users\leiking>pik list -v ruby-1.8.7-p302 version: ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32] path: D:\ProgramFiles\Ruby187\bin

ruby-1.9.2-p0 version: ruby 1.9.2p0 (2010-08-18) [i386-mingw32] path: D:\ProgramFiles\Ruby192\bin

jruby-1.5.2 version: jruby 1.5.2 (ruby 1.8.7 patchlevel 249) (2010-08-20 1c5e29d) (J ava HotSpot(TM) Client VM 1.6.0_21) [x86-java] path: D:\ProgramFiles\jruby-1.5.2\bin

C:\Users\leiking>pik use ruby-1.8.7-p302

C:\Users\leiking>ruby -v ruby 1.9.2p0 (2010-08-18) [i386-mingw32]

C:\Users\leiking>set path Path=d:\ProgramFiles\;d:\ProgramFiles\Ruby192\bin;C:\windows\system32;C:\windows ;C:\windows\System32\Wbem;C:\Program Files\Common Files\Thunder Network\KanKan\C odecs;d:\Program Files\MATLAB\R2010a\runtime\win32;d:\Program Files\MATLAB\R2010 a\bin;D:\Program Files\Calibre2\;d:\Program Files\Git\cmd;d:\ProgramFiles\jruby- 1.5.2\bin;d:\ProgramFiles\Ruby192\bin;C:\windows\system32;C:\windows;C:\windows\ System32\Wbem PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW