LoginSignup
0
1

More than 5 years have passed since last update.

rails new のオプションによって出来上がるRailsバージョンが違う?

Last updated at Posted at 2017-04-03

PostgreSQL使いたいからオプション指定してrails newしたんだけど、オプションの使い方によってRailsのバージョンが違う?

$ rails new hogehoge -d postgresql
$ rails -v
Rails 4.2.7.1
$ rails new hogehoge --database=postgresql
$ rails -v
Rails 5.0.2

おーできたできた。
ということで、--database=postgresqlを指定してrails newしよー

0
1
3

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
1