質問編集履歴

1

bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 javaのエラー

2020/05/17 06:15

投稿

KOO_
KOO_

スコア58

test CHANGED
File without changes
test CHANGED
@@ -97,3 +97,61 @@
97
97
 
98
98
 
99
99
  上記のエラーが発生し、解決出来ずに悩んでおります。gemのエラーだと思うのですがどうすれば解決出来るでしょうか?
100
+
101
+
102
+
103
+
104
+
105
+ ```
106
+
107
+ bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java
108
+
109
+ Traceback (most recent call last):
110
+
111
+ 22: from /opt/rbenv/versions/2.6.1/bin/ruby_executable_hooks:24:in `<main>'
112
+
113
+ 21: from /opt/rbenv/versions/2.6.1/bin/ruby_executable_hooks:24:in `eval'
114
+
115
+ 20: from /opt/rbenv/versions/2.6.1/bin/bundle:26:in `<main>'
116
+
117
+ 19: from /opt/rbenv/versions/2.6.1/bin/bundle:26:in `load'
118
+
119
+ 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)>'
120
+
121
+ 17: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/friendly_errors.rb:123:in `with_friendly_errors'
122
+
123
+ 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)>'
124
+
125
+ 15: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/cli.rb:24:in `start'
126
+
127
+ 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'
128
+
129
+ 13: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/cli.rb:30:in `dispatch'
130
+
131
+ 12: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
132
+
133
+ 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'
134
+
135
+ 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'
136
+
137
+ 9: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/cli.rb:659:in `lock'
138
+
139
+ 8: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/cli/lock.rb:49:in `run'
140
+
141
+ 7: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:158:in `resolve_remotely!'
142
+
143
+ 6: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:170:in `specs'
144
+
145
+ 5: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:258:in `resolve'
146
+
147
+ 4: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:853:in `expanded_dependencies'
148
+
149
+ 3: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:859:in `metadata_dependencies'
150
+
151
+ 2: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:876:in `concat_ruby_version_requirements'
152
+
153
+ 1: from /opt/rbenv/versions/2.6.1/lib/ruby/site_ruby/2.6.0/bundler/definition.rb:876:in `map'
154
+
155
+ /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)
156
+
157
+ ```