LoginSignup
2
1

More than 5 years have passed since last update.

Ruby 2.3.1 を Windows7 にインストールする手順

Last updated at Posted at 2016-02-18

やりたいこと

Ruby 2.3.1 を Windows7 にインストールする。

前提環境

  • OS: Microsoft Windows 7 Professional 6.1.7601 Service Pack 1 (SP1) ビルド 7601 x64

インストールするソフトウェア

  • Ruby: 2.3.1 x64

手順

インストーラをダウンロード

RubyInstaller for WindowsRuby 2.3.1 (x64) を選択し、インストーラをダウンロードします。
※古いバージョンは Archives でダウンロードが可能です。

image

インストーラを実行

rubyinstaller-2.3.1-x64.exe を実行します。

  1. セットアップに使用する言語 日本語 を選択
  2. OK を選択

image

  1. 使用許諾契約書の同意 同意する を選択
  2. 次へ を選択

image

インストール先のディレクトリ: C:\Ruby23-x64

  • Tcl/Tk サポートをインストールする
  • Ruby の実行ファイルへ環境変数 PATHを設定する
  • .rb と .rbw ファイルを Ruby に関連づける

インストール を選択

image

完了 を選択

image

  1. PowerSheel を起動。%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe
  2. Ruby のバージョンを確認
コマンド
PS C:\> ruby -v
出力結果
ruby 2.3.1p112 (2016-04-26 revision 54768) [x64-mingw32]

完了

2
1
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
2
1