I'm a total newbie learning Ruby on Rails and using a Windows machine. The steps used to install ruby on rails were:
then run the following commands
ruby dk.rb init
ruby dk.rb install
gem install bundler
gem install sqlite3
gem install rails
rails new testapp
cd testapp
bundle exec rails server
which means that I ran rails server in the testapp folder and part of the output says this:
Finally when I tried to connect to localhost:3000, 127.0.0.1:3000, or 0.0.0.0:3000. None worked. Any ideas? I'm guessing it has to do something with the Exiting line.
The error indicates that TZInfo was unable to find a source of time zone data on your system. This will typically occur if you are using Windows.
Resolving TZInfo::DataSourceNotFound Errors
Try to install tzinfo-data gem by editing Gemfile
and put gem 'tzinfo-data'
and run bundle install
Or to use the ruby modules as the data source, running by
gem install tzinfo-data