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?

find_spec_for_exe': can't find gem railties (= 7.1.0) with executable rails (Gem::GemNotFoundException)

Posted at

久々に新規アプリ作ろうとしたらタイトルエラー

 % rails _7.1.0_ new アプリ名 -d mysql

エラー文

`find_spec_for_exe': can't find gem railties (= 7.1.0) with executable rails (Gem::GemNotFoundException)

railsのバージョンが7.1.0じゃないようなので
%rails -vで現在のバージョン確認

Ignoring debug-1.7.1 because its extensions are not built. Try: gem pristine debug --version 1.7.1
Ignoring rbs-2.8.2 because its extensions are not built. Try: gem pristine rbs --version 2.8.2
Rails 7.0.8.7

% rails 7.0.8.7 new アプリ名 -d mysqlで新規アプリ作成できました。
忘備録です。

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?