У меня есть приложение rails, которое построено на ruby 2.5.5, и rails 4.2.10. При выполнении комплекта установите его показанную ниже ошибку Устранение зависимостей ......... Bundler не смог найти совместимые версии для gem " ruby ": В Gemfile: ruby (~> 2.5.5.0)
http was resolved to 3.0.0, which depends on
http-cookie (~> 1.0) was resolved to 1.0.3, which depends on
domain_name (~> 0.5) was resolved to 0.5.20170404, which depends on
unf (< 1.0.0, >= 0.0.5) was resolved to 0.1.4, which depends on
unf_ext was resolved to 0.0.7.4, which depends on
ruby (< 2.5) x64-mingw32
Не удалось найти гем 'ruby (<2.5)', который требуется для гема rest-client ', в любом из соответствующих источников: локальная ruby установка </p>
Подробности файла Gem
source 'https://rubygems.org'
ruby ENV['CUSTOM_RUBY_VERSION'] || '2.5'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 4.2', '>= 4.2.10'
gem 'dotenv-rails'
gem 'mongoid', '~> 5.4'
gem 'bson_ext'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby
gem 'bootstrap-sass', '~> 3.3.1'
# Use jquery as the JavaScript library
gem 'jquery-rails'
gem 'rails_tokeninput'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'quilljs-rails'
#PDF Generator
gem 'wicked_pdf'
gem 'wkhtmltopdf-binary'
#SAML Single Sign On
gem 'ruby-saml', '~> 1.9.0'
# Use ActiveModel has_secure_password
gem 'bcrypt', '~> 3.1.7'
gem 'puma', '~> 3.11.4'
gem "xlsx_writer"
gem 'bootstrap-multiselect-rails'
#Paperclip to upload images to paperclip
gem "mongoid-paperclip"
gem "shrine", "~> 3.0"
gem "shrine-mongoid", "~> 1.0"
gem "image_processing", "~> 1.8"
gem 'jquery-datatables-rails', '~> 3.3.0'
gem 'kaminari'
gem 'bootstrap-kaminari-views'
#gem 'phony'
gem 'phonelib'
gem 'nexmo'
gem 'simple_form'
gem 'client_side_validations'
gem 'client_side_validations-simple_form'
gem 'client_side_validations-mongoid'
gem 'uuid', '~> 2.3', '>= 2.3.8'
gem 'cancancan', '~> 1.10'
# gem 'underscore-rails'
# gem 'underscore-string-rails', '~> 0.0.2'
gem 'underscore-string-set-rails'
gem "highcharts-rails"
gem "browser"
gem 'google_url_shortener'
# Use Unicorn as the app server
# gem 'unicorn'
gem 'gon'
gem 'draggabilly-rails'
gem 'withings-sdk'
gem 'rest-client'
#gem 'fitbit-api-client', require: 'fitbit'
gem 'fitbit_api', '~> 0.9.0'
gem 'oauth'
gem 'oauth2', '~> 1.4.0'
gem 'omniauth'
gem 'omniauth-fitbit'
gem 'delayed_job_mongoid'
gem 'twilio-ruby'
gem 'coupon_code'
# source 'https://rails-assets.org' do
# gem 'rails-assets-toastr'
# gem 'rails-assets-tagsinput'
# end
gem "roo", "~> 2.7.0"
gem 'bootstrap-tagsinput-rails'
gem 'toastr-rails', '~> 1.0', '>= 1.0.3'
gem 'momentjs-rails', '>= 2.9.0'
gem 'bootstrap3-datetimepicker-rails', '~> 4.14.30'
gem 'will_paginate-bootstrap'
#gem 'sentry-raven'
gem 'intl-tel-input-rails'
gem 'moment_timezone-rails'
gem 'browser-timezone-rails'
gem 'clockwork', '~> 2.0', '>= 2.0.2'
gem 'http'
gem 'aws-sdk-ecs'
gem 'aws-sdk-ssm'
gem 'aws-sdk-s3', '~> 1.14'
gem 'aws-sdk-chime', '~> 1.21'
gem 'fcm'
gem 'rack-cors', require: 'rack/cors'
gem 'pokitdok-ruby'
gem 'jwt'
gem 'city-state'
gem 'omniauth-rails_csrf_protection', '~> 0.1'
gem 'whenever', require: false
gem "rubyzip", ">= 1.3.0"
gem "nokogiri", ">= 1.10.7"
gem "loofah", ">= 2.3.1"
gem 'blueprinter'
gem "marcel", "~> 0.3"
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :development, :test do
ruby ENV['CUSTOM_RUBY_VERSION'] || '2.5.5'
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
# # Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
# # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
# #Usage for email sending process
# gem 'resque'
# gem 'resque-loner'
# gem 'resque-scheduler', '~> 4.1'
gem "capistrano", "~> 3.10", require: false
gem "capistrano-rails", "~> 1.4", require: false
gem 'capistrano-rbenv', '~> 2.1', require: false
gem 'factory_bot_rails'
end
group :production do
gem 'rails_12factor'
end
, и я запускаю это приложение на windows 8