Я очень новичок в разработке рельсов и начинаю с базового c рельса. Я успешно установил рельсы и ruby на моем windows 10, но по какой-то причине сервер не работает. Я пробовал разные версии рельсов и каждый раз получаю разные ошибки. Вот сообщение об ошибке, которое я продолжаю получать. Любая помощь будет чрезвычайно ценится. Спасибо.
$ rails s
C: / RailsInstaller / Ruby2.3.3 / lib / ruby / gems / 2.3.0 / gems / bundler-1.15.3 / lib / bundler /resolver.rb:396:in block in verify_gemfile_dependencies_are_found!': Could not find gem 'tzinfo-data x86-mingw32' in any of the gem sources listed in your Gemfile. (Bundler::GemNotFound)
from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/resolver.rb:366:in
каждый 'от C: / RailsInstaller / Ruby2.3.3 / lib / ruby / gems / 2.3.0 / gems / bundler-1.15.3 / lib / bundler / resolver.rb : 366: в verify_gemfile_dependencies_are_found!'
from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/resolver.rb:212:in
start 'из C: / RailsInstaller / Ruby2.3.3 / lib / ruby / gems / 2.3.0 / gems / bundler-1.15.3 / lib / bundler / resolver.rb: 191: в resolve'
from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/definition.rb:235:in
resol 'из C: / RailsInstaller / Ruby2.3.3 / lib / ruby / gems / 2.3.0 / gems / bundler-1.15.3 / lib / bundler / definition.rb: 159: в specs'
from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/definition.rb:218:in
specs_for 'из C: / RailsInstaller / Ruby2.3.3 / lib / ruby / gems / 2.3.0 / gems / bundler-1.15.3 / lib / bundler / definition.rb: 207: в requested_specs'
from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/runtime.rb:109:in
блоке в Definition_method' из C: / RailsInstaller / Ruby2.3.3 / lib / ruby / gems / 2.3.0 / gems / bundler-1.15.3 / lib / bundler / runtime.rb: 21: в setup'
from C:/RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler.rb:101:in
setup 'из C: /RailsInstaller/Ruby2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.15.3/lib/bundler/setup.rb:19:in <top (required)>'
from C:/RailsInstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in
require 'из C: / RailsInstaller / Ruby2 .3.3 / Библиотека / рубин / 2.3.0 / RubyGems / core_ext / kernel_re quire.rb: 127: в rescue in require'
from C:/RailsInstaller/Ruby2.3.3/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in
require 'из C: / Sites / myarticles / config / boot.rb: 3: в <top (required)>'
from bin/rails:3:in
require_relative' из bin / rails: 3: в `'
Вот Gemfile
source 'https://rubygems.org'
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.1.3'
# Use sqlite3 as the database for Active Record
gem 'mysql2'
# Use Puma as the app server
gem 'puma', '~> 3.7'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
# gem 'jbuilder', '~> 2.5'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 3.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible
# gem 'rack-cors'
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
end
group :development do
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]