I am using pik
on Windows 7. I am unable to make pik
to remember the ruby version selection.
Example:
Command Window 1
> pik list
* 187: ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
192: ruby 1.9.2p290 (2011-07-09) [i386-mingw32]
193: ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
I select version 193.
>pik 193
>pik list
187: ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
192: ruby 1.9.2p290 (2011-07-09) [i386-mingw32]
* 193: ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
Now I launch another command window:
Command Window 2
> pik list
* 187: ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
192: ruby 1.9.2p290 (2011-07-09) [i386-mingw32]
193: ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
In the new window the ruby selection is not remembered. How do I make pik
persist the ruby selection across command window sessions?
On the left side, switch to the “Themes” tab. On the right side, scroll down and click the “Desktop icon settings” link. If you're using Windows 7 or 8, clicking “Personalize” opens the Personalization Control Panel screen. At the upper left of the window, click the “Change desktop icons” link.
On your Windows 7 PC, shortcuts that you create on the desktop may be missing. This can happen if the the System Maintenance troubleshooter detects the shortcuts as broken. The System Maintenance troubleshooter performs a weekly maintenance of the operating system.
Pik is not loaded when you open a new command prompt. Because of that, it is unable to default to some Ruby interpreter for a new window.
To have one particular Ruby interpreter in the PATH you will need to modify your user or system PATH so it is available always.
Later you can use Pik to change the version of Ruby to the one you desire.
However, you can setup a default Ruby so you can do pik default
to use that one. See pik help use
for documentation.
I'm pretty sure that pik defaults to the Ruby
that that is defined in your System's Path
variable.
So to change the default Ruby
you would need to change your System's Path
Variable to your preferred choice of Ruby
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With