Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
13
Help us understand the problem. What is going on with this article?

More than 5 years have passed since last update.

@shwld

Windowsにuruを入れてrubyのバージョン管理をする

最近はuruがいいらしい。

zipをダウンロード

https://bitbucket.org/jonforums/uru/wiki/Downloads

コマンドを実行してuru.ps1を作る

uru_rt admin install

ダウンロードした場所をPATHに追加

$Env:Path += ";W:\OneDrive\Applications\uru"

使ってみる

まずrubyをインストール

choco install ruby
choco install ruby2.devkit 

uruで追加する

PS > uru admin add C:\tools\ruby21\bin
---> Registered ruby at `C:\tools\ruby21\bin` as `216p336`
PS >
PS> uru ls
    216p336     : ruby 2.1.6p336 (2015-04-13 revision 50298) [i386-mingw32]

バージョンをセットする

PS > uru 216p336
---> Now using ruby 2.1.6-p336 tagged as `216p336`
13
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
13
Help us understand the problem. What is going on with this article?