LoginSignup
10
0

More than 3 years have passed since last update.

rails newする際のエラー(can't find gem railties)の解決法

Last updated at Posted at 2020-01-26

新しいアプリを作成する際のrails ○○○○ new で困ったので解決法を共有します。

rails ○.○.○.○ new app名 ○.○.○.○ はrails -vした際のバージョンと同じにする必要があります。

私の場合ですと、rails -vをするとRails 6.0.2.1というバージョンが出てくるので、

rails _6.0.2.1_ new app名
としてあげると新しいアプリとファイルが作成されます。

備忘録として手短に。何かあれば追記します。

10
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
10
0