stylefoki.blogg.se

Nvm list ruby versions
Nvm list ruby versions






Nvm list ruby versions install#

Usage: admin add DIR | -recurse DIR | systemĮg: uru admin gem set init set install install uruĮg: uru admin retag 200p 197 200p 197-x 64 Open command prompt, go to target directory and execute following command:Īdd register an existing ruby installation In order to keep things isolated let's create new directory C:\tools and add it to the path as is explained in the first chapter - Windows Command Line. In order to install it you have to download archive with latest version from Bitbucket and unpack it in some folder that is in the PATH. Uru is new, lightweight, portable Ruby version manager which can be used to easily switch Ruby versions in the current Command Prompt. This certainly is not the most comfortable way and, fortunately, there is a much better solution. So we have to choose either to use Ruby in ConEmu's tabs or to constantly alter system path in order to change Ruby version we work with. Since we have used installer for the 2.2.1 and have chosen to add it to the path, in each Command Prompt we open it will be the only one available unless we add the path to the development version to the system path. The first one is official 2.2.1-p85 and the second one is the latest development version. Especially if we decide to install other Rubies besides MRI, like JRuby or IronRuby.Īt the moment we have two versions of Ruby on our system. Adding new Ruby version is somewhat complex and soon we might finish with too many different tabs in ConEmu so it would be hard to remember which tab corresponds to particular Ruby version.

nvm list ruby versions nvm list ruby versions

Testing scripts or running existing applications that relly on specific Ruby version require opening new or changing to tab that already has target Ruby activated. Even though we can use different Ruby versions this way, such approach has few drawbacks. Up to now we were managing multiple versions of Ruby through ConEmu tasks.






Nvm list ruby versions