I am attempting to install ruby 1.9 using pik . Here is the error

pik install ruby 1.9 -d There was an error. Error: private method `gsub' called for nil:NilClass in: pik/commands/install_command.rb:24:in `execute' in: pik_runner:33

The error seems similar to pik Error: private method `gsub' called for nil:NilClass and Error: private method `gsub' called for nil:NilClass with pik install ruby 1.9.3, but I installed jRuby with no problem.

I have seen what seems to be the same error referenced on the pik github page , but it is not solved.

I have also seen a SO answer that said that this is an issue with pik that will not be solved, if this is the case, what is the best way to add the second version of ruby?