1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Ruby, Ruby on Railsのローカル環境をdevcontainerで構築する

Posted at

手順も少なく環境構築するまでの時間が短く構築するまでの体験がとても良かったです。

  • 参考
  • ローカル環境
    • Windows11
    • Docker Desktopインストール
    • VSCodeインストール
    • Dev Containers 拡張機能インストール
  • 手順
    • 作業ディレクトリを作成
    • 作業ディレクトリ内に移動
    • Dev Containers: Add Dev Container Configuration Files...を選択
    • テンプレート一覧からRuby on Rails Postgresを選択
    • パッケージなど必要なものは特にないので選択せず OK をクリック
    • 画面右下に出てくるReopen in containerをクリック
    • ターミナルでrails -vを実行してバージョンが表示されれば環境構築成功
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?