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

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

chocolateyでruby on rails環境を構築

More than 3 years have passed since last update.

windowsでrails環境を整えようとした際にchocolateyという便利なパッケージ管理ツールを見つけたので、chocolateyでrails環境を構築するためのコマンドを書き置きします。
msys2まわりがネットで引っかかりにくかったので今回投稿しましたが、マニュアルにはちゃんと載っているので大したことはしてないです。

コマンド

chocolatey導入済みから

# ruby v2.4.2.2
cinst ruby

# msys2
cinst msys2 --params "/NoUpdate" # 非アップデート状態でインストール
refreshenv                       # or cmd/powershellの再起動
ridk install 2 3                 # ruby installer2 の 2 3 項目を実行

# rails関連
gem install bundle
gem install rails

参考サイト

Chocolateyを使った環境構築の時のメモ
RubyInstaller2でRuby2.4 with Rails5の環境を作る~Nokogiriでエラー~
chocolatey - MSYS2

7
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
toriiico
広く浅くなwebエンジニア

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
7
Help us understand the problem. What is going on with this article?