質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
Ruby

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

Ruby on Rails 4

Ruby on Rails4はRubyによって書かれたオープンソースのウェブフレームワークです。 Ruby on Railsは「設定より規約」の原則に従っており、効率的に作業を行うために再開発を行う必要をなくしてくれます。

Q&A

解決済

1回答

1351閲覧

windows10x64でrails sをするとエラーがでます

anharu

総合スコア28

Ruby

Rubyはプログラミング言語のひとつで、オープンソース、オブジェクト指向のプログラミング開発に対応しています。

Ruby on Rails

Ruby on Railsは、オープンソースのWebアプリケーションフレームワークです。「同じことを繰り返さない」というRailsの基本理念のもと、他のフレームワークより少ないコードで簡単に開発できるよう設計されています。

Ruby on Rails 4

Ruby on Rails4はRubyによって書かれたオープンソースのウェブフレームワークです。 Ruby on Railsは「設定より規約」の原則に従っており、効率的に作業を行うために再開発を行う必要をなくしてくれます。

0グッド

0クリップ

投稿2017/08/06 14:15

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 はもうしました。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

No source of timezone data could be found. (TZInfo::DataSourceNotFound) で検索すると以下のページが見つかりました。ここに記述されている解決方法を試してみてはどうでしょう。

Rails 4.1が 64bit版のRubyをインストールしたWindowsで動かないヨォ〜〜 - すがブロ

投稿2017/08/06 22:31

tkmtmkt

総合スコア1800

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

anharu

2017/08/06 23:16

治りました!ありがとうございます!
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問