18
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

Last updated at Posted at 2016-01-05

最近は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`
18
15
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
18
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?