0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

DWCのわかりにくいところ

Last updated at Posted at 2025-07-14

初めに

やってきた中でわからんこと多すぎたのでまとめていく。
RoR頑張ろう


1. VSCodeのバージョン問題

SSH接続するためにVSCode本体のバージョンを下げる必要がある。
AWS提供のLINUXに関する問題ぽい?


2. Springのバージョン問題 (Ruby on Rails)

spring gemのバージョンが原因で問題が発生する。これに関しては毎回rails newする時に出る。毎回これやらないとあかん。バージョンを4.2.1に固定して再インストールすれば治る。

手順

  1. Gemfileの修正
    開発環境(development group)で使用するspringのバージョンを以下のように指定します。

    • ファイル: Gemfile
    • 修正コード:
      group :development do
        # .....
        # .....
        gem 'spring', '4.2.1'
      end
      
  2. コマンドの実行
    ターミナルで以下のコマンドを順番に実行し、設定を反映させます。

    • コマンド:
      # 稼働中のspringプロセスを停止
      $ spring stop
      
      # Gemfileの記述に基づいてgemをインストール(更新)
      $ bundle install
      

3. その他やらないとあかんこと

  • コマンド:
    #必要ファイルダウンロード
    $ yarn add @babel/plugin-proposal-private-methods @babel/plugin-proposal-private-property-in-object
    
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?