1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

railsを起動しようとしたら「Internal Server Error」が表示されたときの対処方法

Last updated at Posted at 2015-02-21

エラー内容

  • rails serverを起動する を見ながら、 $ rails s を起動させようとしたところ、以下のような画像と表示が出た

150222-0001.png

You didn't set config.secret_key_base. Read the upgrade documentation to learn more about this new config option.

対処方法

  • rails のバージョンが問題らしい
  • Gemfile を開いてrailsのバージョンを 4.0.5 から 4.2.0 にした

その後

$ bundle update
$ bundle install

無事、以下のように表示された

150222-0002.png

参考サイト

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?