現在、Windows上でRuby on
Railsを起動しようとしているのですが、以下の様なエラーが出てしまいました。どなたか同じエラーに遭遇した方で対処方法をご存知の方はお教え頂けないでしょうか？

実行した環境は以下のとおりです。

OS: Windows 10 Pro  
Ruby:ruby 2.2.6p396 (2016-11-15 revision 56800)  
Rails:Rails 5.0.7

```

    Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`>
    C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-5.0.7/lib/rails/application.rb:513:in `validate_secret_key_config!'
    C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-5.0.7/lib/rails/application.rb:246:in `env_config'
    C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-5.0.7/lib/rails/engine.rb:693:in `build_request'
    C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-5.0.7/lib/rails/application.rb:521:in `build_request'
    C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/railties-5.0.7/lib/rails/engine.rb:521:in `call'
    C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/puma-3.11.4/lib/puma/configuration.rb:225:in `call'
    C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/puma-3.11.4/lib/puma/server.rb:632:in `handle_request'
    C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/puma-3.11.4/lib/puma/server.rb:446:in `process_client'
    C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/puma-3.11.4/lib/puma/server.rb:306:in `block in run'
    C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/puma-3.11.4/lib/puma/thread_pool.rb:120:in `call'
    C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/puma-3.11.4/lib/puma/thread_pool.rb:120:in `block in spawn_thread'
    
```

ちなみに、以下の事はトライしましたが上手く行きませんでした。

・config/secrets.ymlのproductionの部分の"secret_key_base"に、"bundle exec rake
secret"で表示された英数字の列を記載して再実行。

追記:  
'rail s -e production'実行後にページリロードした後のproduction.logの内容：

```

    I, [2018-07-14T07:37:40.076104 #11580]  INFO -- : [77252a09-038f-4973-8812-a486d9664c2b] Started GET "/" for 127.0.0.1 at 2018-07-14 07:37:40 +0900
    F, [2018-07-14T07:37:40.078138 #11580] FATAL -- : [77252a09-038f-4973-8812-a486d9664c2b]   
    F, [2018-07-14T07:37:40.078138 #11580] FATAL -- : [77252a09-038f-4973-8812-a486d9664c2b] ActionController::RoutingError (No route matches [GET] "/"):
    F, [2018-07-14T07:37:40.078138 #11580] FATAL -- : [77252a09-038f-4973-8812-a486d9664c2b]   
    F, [2018-07-14T07:37:40.079125 #11580] FATAL -- : [77252a09-038f-4973-8812-a486d9664c2b] actionpack (5.0.7) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call'
    [77252a09-038f-4973-8812-a486d9664c2b] actionpack (5.0.7) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
    [77252a09-038f-4973-8812-a486d9664c2b] railties (5.0.7) lib/rails/rack/logger.rb:36:in `call_app'
    [77252a09-038f-4973-8812-a486d9664c2b] railties (5.0.7) lib/rails/rack/logger.rb:24:in `block in call'
    [77252a09-038f-4973-8812-a486d9664c2b] activesupport (5.0.7) lib/active_support/tagged_logging.rb:69:in `block in tagged'
    [77252a09-038f-4973-8812-a486d9664c2b] activesupport (5.0.7) lib/active_support/tagged_logging.rb:26:in `tagged'
    [77252a09-038f-4973-8812-a486d9664c2b] activesupport (5.0.7) lib/active_support/tagged_logging.rb:69:in `tagged'
    [77252a09-038f-4973-8812-a486d9664c2b] railties (5.0.7) lib/rails/rack/logger.rb:24:in `call'
    [77252a09-038f-4973-8812-a486d9664c2b] actionpack (5.0.7) lib/action_dispatch/middleware/request_id.rb:24:in `call'
    [77252a09-038f-4973-8812-a486d9664c2b] rack (2.0.5) lib/rack/method_override.rb:22:in `call'
    [77252a09-038f-4973-8812-a486d9664c2b] rack (2.0.5) lib/rack/runtime.rb:22:in `call'
    [77252a09-038f-4973-8812-a486d9664c2b] activesupport (5.0.7) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
    [77252a09-038f-4973-8812-a486d9664c2b] actionpack (5.0.7) lib/action_dispatch/middleware/executor.rb:12:in `call'
    [77252a09-038f-4973-8812-a486d9664c2b] rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
    [77252a09-038f-4973-8812-a486d9664c2b] railties (5.0.7) lib/rails/engine.rb:522:in `call'
    [77252a09-038f-4973-8812-a486d9664c2b] puma (3.11.4) lib/puma/configuration.rb:225:in `call'
    [77252a09-038f-4973-8812-a486d9664c2b] puma (3.11.4) lib/puma/server.rb:632:in `handle_request'
    [77252a09-038f-4973-8812-a486d9664c2b] puma (3.11.4) lib/puma/server.rb:446:in `process_client'
    [77252a09-038f-4973-8812-a486d9664c2b] puma (3.11.4) lib/puma/server.rb:306:in `block in run'
    [77252a09-038f-4973-8812-a486d9664c2b] puma (3.11.4) lib/puma/thread_pool.rb:120:in `call'
    [77252a09-038f-4973-8812-a486d9664c2b] puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
    
```

・'rails routes'の実行結果

```

    You don't have any routes defined!
    
    Please add some routes in config/routes.rb.
    
    For more information about routes, see the Rails guide: http://guides.rubyonrails.org/routing.html.
    
```
CC BY-SA 4.0
2018-07-11T02:38:41.870
45491
2018-07-16T01:14:54.653
2018-07-16T01:14:54.653
19869
19869
question
ruby-on-rails
Ruby on Railsの起動で​secret_key_baseの設定が上手く行かず悩んでいます