どのようにしたらバージョンを合わせる事ができるのでしょうか?
何度もgemfileをインストールしようとさしてるのてすが
Ruby6.0.2
1 2Bundler could not find compatible versions for gem "active_support": 3 In Gemfile: 4 data_validator was resolved to 0.0.2, which depends on 5 active_support (~> 3.0.0) 6 7Could not find gem 'active_support (~> 3.0.0)', which is required by gem 'data_validator', in any of the sources. 8 9Bundler could not find compatible versions for gem "activesupport": 10 In Gemfile: 11 data_validator was resolved to 0.1.1, which depends on 12 activesupport (~> 3.2.0) 13 14 rails (~> 6.0.2, >= 6.0.2.2) was resolved to 6.0.2.2, which depends on 15 activesupport (= 6.0.2.2) 16
となってしまいます。
gemfile
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby '2.6.4'
gem 'rails', '> 6.0.2', '>= 6.0.2.2'> 4.1'
gem 'pg', '>= 0.18', '< 2.0'
gem 'puma', '
gem 'sass-rails', '>= 6'
gem 'webpacker', '> 4.0'> 5'
gem 'turbolinks', '
gem 'jbuilder', '~> 2.7'
gem 'bootsnap', '>= 1.4.2', require: false
gem 'bcrypt'
gem "rails-i18n"
gem "kaminari"
gem "data_validator"
gem "valid_email2"
gem "nokogiri"
group :development, :test do
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
end
group :development do
gem 'web-console', '>= 3.3.0'
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
end
group :test do
gem 'capybara', '>= 2.15'
gem 'selenium-webdriver'
gem 'webdrivers'
gem "rspec-rails"
gem "factory_bot_rails"
end
回答4件
あなたの回答
tips
プレビュー