現在さくらVPSにてサイトのDocument Rootを行い、git pullでファイルを配置しました。
bundle installを行おうとすると、
bundle install rails The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. Traceback (most recent call last): 37: from /opt/rbenv/versions/2.6.1/bin/ruby_executable_hooks:24:in `<main>' 36: from /opt/rbenv/versions/2.6.1/bin/ruby_executable_hooks:24:in `eval' 35: from /opt/rbenv/versions/2.6.1/bin/bundle:26:in `<main>' 34: from /opt/rbenv/versions/2.6.1/bin/bundle:26:in `load' 33: from /opt/rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>' 32: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/friendly_errors.rb:123:in `with_friendly_errors' 31: from /opt/rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>' 30: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/cli.rb:24:in `start' 29: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:476:in `start' 28: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/cli.rb:30:in `dispatch' 27: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:399:in `dispatch' 26: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' 25: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run' 24: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/cli.rb:255:in `install' 23: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/settings.rb:124:in `temporary' 22: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/cli.rb:256:in `block in install' 21: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/cli/install.rb:66:in `run' 20: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/installer.rb:25:in `install' 19: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/installer.rb:73:in `run' 18: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/process_lock.rb:9:in `lock' 17: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/process_lock.rb:9:in `open' 16: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/process_lock.rb:12:in `block in lock' 15: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/installer.rb:84:in `block in run' 14: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/installer.rb:300:in `resolve_if_needed' 13: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:208:in `missing_specs?' 12: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:203:in `missing_specs' 11: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/spec_set.rb:80:in `materialize' 10: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/spec_set.rb:80:in `map!' 9: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/spec_set.rb:83:in `block in materialize' 8: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/lazy_specification.rb:75:in `__materialize__' 7: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/source/rubygems.rb:90:in `specs' 6: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/source/rubygems.rb:355:in `installed_specs' 5: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/index.rb:11:in `build' 4: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/source/rubygems.rb:356:in `block in installed_specs' 3: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/source/rubygems.rb:356:in `reverse_each' 2: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/source/rubygems.rb:359:in `block (2 levels) in installed_specs' 1: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/rubygems_integration.rb:85:in `spec_missing_extensions?' /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/stub_specification.rb:33:in `missing_extensions?': undefined method `missing_extensions?' for #<Gem::StubSpecification:0x0000556a8e7c2f88> (NoMethodError)
上記のエラーが発生し、解決出来ずに悩んでおります。gemのエラーだと思うのですがどうすれば解決出来るでしょうか?
bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java Traceback (most recent call last): 22: from /opt/rbenv/versions/2.6.1/bin/ruby_executable_hooks:24:in `<main>' 21: from /opt/rbenv/versions/2.6.1/bin/ruby_executable_hooks:24:in `eval' 20: from /opt/rbenv/versions/2.6.1/bin/bundle:26:in `<main>' 19: from /opt/rbenv/versions/2.6.1/bin/bundle:26:in `load' 18: from /opt/rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>' 17: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/friendly_errors.rb:123:in `with_friendly_errors' 16: from /opt/rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>' 15: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/cli.rb:24:in `start' 14: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:476:in `start' 13: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/cli.rb:30:in `dispatch' 12: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:399:in `dispatch' 11: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' 10: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run' 9: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/cli.rb:659:in `lock' 8: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/cli/lock.rb:49:in `run' 7: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:158:in `resolve_remotely!' 6: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:170:in `specs' 5: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:258:in `resolve' 4: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:853:in `expanded_dependencies' 3: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:859:in `metadata_dependencies' 2: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:876:in `concat_ruby_version_requirements' 1: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:876:in `map' /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:878:in `block in concat_ruby_version_requirements': undefined method `exact?' for #<Gem::Requirement:0x000055c1ae032080> (NoMethodError)
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/05/17 06:16