rails6でbundle update, bundle install時にエラーが出ます。
Bundler could not find compatible versions for gem "activesupport": In Gemfile: data_validator was resolved to 0.1.1, which depends on activesupport (~> 3.2.0) rails (= 6.0) was resolved to 6.0.0, which depends on activesupport (= 6.0.0)
source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby "2.6.0" gem "rails", " 6.0" gem "pg", ">= 0.18", "< 2.0" gem "puma", "~> 4.1" gem "sass-rails", ">= 6" gem "webpacker", "~> 4.0" gem "turbolinks", "~> 5" gem "jbuilder", "~> 2.7" gem "bootstrap" , ">= 1.4.2" ,require: false gem "bcrypt" gem "rails-i18n","6.0.0" gem "kaminari" gem "data_validator" gem "valid_email2" gem "nokogiri" gem "bootsnap", ">= 1.4.2", require: false 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
$ gem list actioncable (6.0.2.1, 6.0.0) actionmailbox (6.0.2.1, 6.0.0) actionmailer (6.0.2.1, 6.0.0) actionpack (6.0.2.1, 6.0.0) actiontext (6.0.2.1, 6.0.0) actionview (6.0.2.1, 6.0.0) activejob (6.0.2.1, 6.0.0) activemodel (6.0.2.1, 6.0.0) activerecord (6.0.2.1, 6.0.0) activestorage (6.0.2.1, 6.0.0) activesupport (6.0.2.1, 6.0.0) bigdecimal (default: 1.4.1) builder (3.2.4) bundler (default: 2.1.2, default: 1.17.2) cmath (default: 1.0.0) concurrent-ruby (1.1.6) crass (1.0.6) csv (default: 3.0.2) date (default: 1.0.0) dbm (default: 1.0.0) did_you_mean (1.3.0) e2mmap (default: 0.1.0) erubi (1.9.0) etc (default: 1.0.1) fcntl (default: 1.0.0) fiddle (default: 1.0.0) fileutils (default: 1.1.0) forwardable (default: 1.2.0) gdbm (default: 2.0.0) globalid (0.4.2) i18n (1.8.2) init (2.1.0) io-console (default: 0.4.7) ipaddr (default: 1.2.2) irb (default: 1.0.0) json (default: 2.1.0) logger (default: 1.3.0) loofah (2.4.0) mail (2.7.1) marcel (0.3.3) matrix (default: 0.1.0) method_source (0.9.2) mimemagic (0.3.4) mini_mime (1.0.2) mini_portile2 (2.4.0) minitest (5.11.3) mutex_m (default: 0.1.0) net-telnet (0.2.0) nio4r (2.5.2) nokogiri (1.10.8) openssl (default: 2.1.2) ostruct (default: 0.1.0) power_assert (1.1.3) prime (default: 0.1.0) psych (default: 3.1.0) rack (2.2.2) rack-test (1.1.0) rails (6.0.2.1, 6.0.0) rails-dom-testing (2.0.3) rails-html-sanitizer (1.3.0) railties (6.0.2.1, 6.0.0) rake (12.3.2) rdoc (6.2.1, default: 6.1.0) rexml (default: 3.1.9) rss (default: 0.2.7) rubygems-update (3.1.2) scanf (default: 1.0.0) sdbm (default: 1.0.0) shell (default: 0.7) sprockets (4.0.0) sprockets-rails (3.2.1) stringio (default: 0.0.2) strscan (default: 1.0.0) sync (default: 0.5.0) test-unit (3.2.9) thor (1.0.1) thread_safe (0.3.6) thwait (default: 0.1.0) tracer (default: 0.1.0) tzinfo (1.2.6) webrick (default: 1.4.2) websocket-driver (0.7.1) websocket-extensions (0.1.4) xmlrpc (0.3.0) zeitwerk (2.2.2) zlib (default: 1.0.0) kataokayoshimorinoMacBook-Pro:baukis kataokayoshimori$
activesupportがコンフリクトを起こしているのかと思い触ってみましたが知識が少なく解決に至らずでした。4時間ほど先に進めずにいるので分かる方いらっしゃればご教授願います。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。