vertiginous/pik — Issue #126: uninstall not working?
Author: SerbanC
Created: 2011-10-26 09:06:19+00:00
State: open

Hi,

here are the lines in my console:

**D:\workspace\foo>pik refresh**
INFO: Refreshing the list of installed rubies.

INFO: Adding: [ruby-]1.9.2[-p136]
Located at: C:\Documents and Settings\usr\.pik\rubies\ruby-1.9.2-p136\bin

INFO: Adding: [ruby-]1.9.2-p290
Located at: C:\Ruby192\bin

INFO: Adding: [ruby-]1.8.7-p352
Located at: C:\Ruby187\bin

**D:\workspace\foo>pik uninstall 1.9.2**
Are you sure you'd like to uninstall '[ruby-]1.9.2[-p136]versionruby 1.9.2p136 (2010-12-25) [i386-mingw32]
pathC:\Documents and Settings\usr\.pik\rubies\ruby-1.9.2-p136\bin'? |yes|
yes

There was an error.
Error: undefined method `[]' for nil:NilClass

in: pik/commands/uninstall_command.rb:18:in `execute'
in: pik_runner:27

**D:\workspace\foo>pik list**
ruby-1.8.7-p352
=> ruby-1.9.2-p290
ruby-1.9.2-p136