Podczas uruchamiania serwera odrazu mi go wyłącza

potrzebuje pomocy!:confused:
na windowsie mam zainstalowane aktualnego rubiego i railsy
podczas polecenia rails s albo rails server dzieje sie cos takiego

C:\server\kursy>rails s
=> Booting WEBrick
=> Rails 4.1.4 application starting in development on http://0.0.0.0:3000
=> Run rails server -h for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0
.0.1 (–binding option)
=> Ctrl-C to shutdown server
Exiting
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.2.1/lib/tzinfo/data_source.rb:1
82:in rescue in create_default_data_source': No source of timezone data could b e found. (TZInfo::DataSourceNotFound) Please refer to http://tzinfo.github.io/datasourcenotfound for help resolving th is error. from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.2.1/lib/tzinfo/dat a_source.rb:179:increate_default_data_source’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.2.1/lib/tzinfo/dat
a_source.rb:40:in block in get' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.2.1/lib/tzinfo/dat a_source.rb:39:insynchronize’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.2.1/lib/tzinfo/dat
a_source.rb:39:in get' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.2.1/lib/tzinfo/tim ezone.rb:629:indata_source’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.2.1/lib/tzinfo/tim
ezone.rb:92:in get' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.2.1/lib/tzinfo/tim ezone_proxy.rb:67:inreal_timezone’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.2.1/lib/tzinfo/tim
ezone_proxy.rb:30:in period_for_utc' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/tzinfo-1.2.1/lib/tzinfo/tim ezone.rb:549:incurrent_period’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-4.1.4/lib/act
ive_support/core_ext/object/try.rb:45:in public_send' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-4.1.4/lib/act ive_support/core_ext/object/try.rb:45:intry’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-4.1.4/lib/act
ive_support/values/time_zone.rb:223:in utc_offset' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-4.1.4/lib/act ive_support/values/time_zone.rb:396:inblock in []’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-4.1.4/lib/act
ive_support/values/time_zone.rb:396:in tap' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-4.1.4/lib/act ive_support/values/time_zone.rb:396:in[]’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-4.1.4/lib/act
ive_support/core_ext/time/zones.rb:60:in find_zone!' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-4.1.4/lib/act ive_support/railtie.rb:20:inblock in class:Railtie
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/in
itializable.rb:30:in instance_exec' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/in itializable.rb:30:inrun’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/in
itializable.rb:55:in block in run_initializers' from C:/Ruby200-x64/lib/ruby/2.0.0/tsort.rb:150:inblock in tsort_each’

    from C:/Ruby200-x64/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in

each_strongly_connected_component’
from C:/Ruby200-x64/lib/ruby/2.0.0/tsort.rb:219:in each_strongly_connec ted_component_from' from C:/Ruby200-x64/lib/ruby/2.0.0/tsort.rb:182:inblock in each_strong
ly_connected_component’
from C:/Ruby200-x64/lib/ruby/2.0.0/tsort.rb:180:in each' from C:/Ruby200-x64/lib/ruby/2.0.0/tsort.rb:180:ineach_strongly_connec
ted_component’
from C:/Ruby200-x64/lib/ruby/2.0.0/tsort.rb:148:in tsort_each' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/in itializable.rb:54:inrun_initializers’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/ap
plication.rb:300:in initialize!' from C:/server/kursy/config/environment.rb:5:in<top (required)>’
from C:/server/kursy/config.ru:3:in require' from C:/server/kursy/config.ru:3:inblock in ’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder
.rb:55:in instance_eval' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder .rb:55:ininitialize’
from C:/server/kursy/config.ru:in new' from C:/server/kursy/config.ru:in
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder
.rb:49:in eval' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder .rb:49:innew_from_string’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/builder
.rb:40:in parse_file' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/server. rb:277:inbuild_app_and_options_from_config’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/server.
rb:199:in app' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co mmands/server.rb:50:inapp’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/server.
rb:314:in wrapped_app' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co mmands/server.rb:130:inlog_to_stdout’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co
mmands/server.rb:67:in start' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co mmands/commands_tasks.rb:81:inblock in server’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co
mmands/commands_tasks.rb:76:in tap' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co mmands/commands_tasks.rb:76:inserver’
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co
mmands/commands_tasks.rb:40:in run_command!' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-4.1.4/lib/rails/co mmands.rb:17:in<top (required)>’
from bin/rails:4:in require' from bin/rails:4:in

nie mam pojecia jak moge to rozwiacac i co jest nie tak:/

A czego próbowałeś do tej pory? Pierwsza pozycja z googla po wpisaniu erroru: http://stackoverflow.com/questions/23022258/tzinfodatasourcenotfound-error-starting-rails-v4-1-0-server-on-windows
Btw. Windows jest twoim wrogiem przy railsach.

no ok niby instalacja tzinfo-data pomaga ale w kazdym projekcie musze najpierw w Gemfile dodac tego tzinfo-data pozniej “bundle update”, “bundle install” i na sam koniec w konsoli “gem install tzinfo-data”

inaczej nie dziala

a jezeli tworze nowy projekt to za kazdym razem musze to powtarzac …

Jak dodasz w gemfile i odpalisz bundle install to powinno w zupełności wystarczać.

  1. Przerzuć się na coś innego niż windows
  2. Ile tworzysz tych projektów, że aż tak ci to przeszkadza? :smiley:

narazie sie ucze wiec duzo probuje :smile: