LoginSignup
1
0

More than 3 years have passed since last update.

rails new app名 --skip-bundleってなに?

Posted at

別問題をあれこれ調べているときに出会った内容に「rails new app名 --skip-bundle するといい!」とあったのだが出来なかった。
基本的なことすぎて記事にもなっていなかったので一応残しておく。

実施したこと

rootで次のコードを実行

$ rails new app名 --skip-bundle
#~略~
Could not find gem 'rails (~> 6.0.2, >= 6.0.2.1)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.

「あなたのgemファイルにrailsのgemが見つかりません」とのこと。
当たり前です。そもそも参照するべきGemfileが無いのですから。

新規Railsプロジェクト作成時のコマンド

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