LoginSignup
0
0

More than 3 years have passed since last update.

rails install で詰まった話

Last updated at Posted at 2020-01-24

結論この記事を参考にしたら解決

こんなエラーが

➜  ~ gem install rails
ERROR:  Error installing rails:
    zeitwerk requires Ruby version >= 2.4.4.

rubyのバージョンが古かった。

  ~ ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin18]

この記事を参考にrubyのバージョンを 2.4以上にする

ダメか

➜  ~ rails new sample
Rails is not currently installed on this system. To get the latest version, simply type:

    $ sudo gem install rails

You can then rerun your "rails" command.
# これで解決
hash -r
➜  ~ rails _5.2.2.1_ new sample
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