rails sをWindows10 x64 の環境でしたとき、このようなエラーが出ました。
rails s => Booting WEBrick => Rails 4.2.6 application starting in development on http://localhost:3000 => Run `rails server -h` for more startup options => Ctrl-C to shutdown server Exiting C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/data_source.rb:182:in `rescue in create_default_data_source': No source of timezone data could be found. (TZInfo::DataSourceNotFound) Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving this error. from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/data_source.rb:179:in `create_default_data_source' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/data_source.rb:40:in `block in get' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/data_source.rb:39:in `synchronize' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/data_source.rb:39:in `get' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone.rb:661:in `data_source' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone.rb:92:in `get' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_proxy.rb:96:in `real_timezone' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_proxy.rb:30:in `period_for_utc' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone.rb:543:in `current_period' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/values/time_zone.rb:282:in `utc_offset' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/values/time_zone.rb:243:in `block in []' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/values/time_zone.rb:243:in `tap' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/values/time_zone.rb:243:in `[]' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/core_ext/time/zones.rb:61:in `find_zone!' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/railtie.rb:20:in `block in <class:Railtie>' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `instance_exec' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:30:in `run' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:55:in `block in run_initializers' from C:/Ruby23-x64/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each' from C:/Ruby23-x64/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component' from C:/Ruby23-x64/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from' from C:/Ruby23-x64/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component' from C:/Ruby23-x64/lib/ruby/2.3.0/tsort.rb:347:in `each' from C:/Ruby23-x64/lib/ruby/2.3.0/tsort.rb:347:in `call' from C:/Ruby23-x64/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component' from C:/Ruby23-x64/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each' from C:/Ruby23-x64/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/initializable.rb:54:in `run_initializers' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/application.rb:352:in `initialize!' from C:/Users/HARU/Desktop/book-app/config/environment.rb:5:in `<top (required)>' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require' from C:/Users/HARU/Desktop/book-app/config.ru:3:in `block in <main>' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/builder.rb:55:in `instance_eval' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/builder.rb:55:in `initialize' from C:/Users/HARU/Desktop/book-app/config.ru:in `new' from C:/Users/HARU/Desktop/book-app/config.ru:in `<main>' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/builder.rb:49:in `eval' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/builder.rb:49:in `new_from_string' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/builder.rb:40:in `parse_file' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/server.rb:300:in `build_app_and_options_from_config' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/server.rb:209:in `app' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/server.rb:61:in `app' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/server.rb:337:in `wrapped_app' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/server.rb:139:in `log_to_stdout' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/server.rb:78:in `start' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:80:in `block in server' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `tap' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `server' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>' from bin/rails:9:in `require' from bin/rails:9:in `<main>' ```どうすれば治るのでしょうか? bundle install はもうしました。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/08/06 23:16