質問編集履歴
2
エラーメッセージの修正。
test
CHANGED
File without changes
|
test
CHANGED
@@ -81,7 +81,93 @@
|
|
81
81
|
|
82
82
|
### 発生している問題・エラーメッセージ
|
83
83
|
bundle install時に以下エラーが発生。
|
84
|
-
|
84
|
+
```ここに言語を入力
|
85
|
+
bundle install
|
86
|
+
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on
|
87
|
+
this machine.
|
88
|
+
Fetching source index from https://rubygems.org/
|
89
|
+
Resolving dependencies.........................................................................................................................................................................................
|
90
|
+
Bundler found conflicting requirements for the Ruby version:
|
91
|
+
In Gemfile:
|
92
|
+
rails (~> 6.1.4.6) was resolved to 6.1.4.6, which depends on
|
93
|
+
Ruby (>= 2.5.0)
|
94
|
+
|
95
|
+
bootsnap (~> 1.9.1) was resolved to 1.9.1, which depends on
|
96
|
+
Ruby (>= 2.3.0)
|
97
|
+
|
98
|
+
responders (~> 3.0) was resolved to 3.0.0, which depends on
|
99
|
+
Ruby (>= 2.4.0)
|
100
|
+
|
101
|
+
sprockets (~> 3.7.0) was resolved to 3.7.2, which depends on
|
102
|
+
Ruby (>= 1.9.3)
|
103
|
+
|
104
|
+
pg (~> 1.1) was resolved to 1.2.3, which depends on
|
105
|
+
Ruby (>= 2.2)
|
106
|
+
|
107
|
+
devise (~> 4.7.2) was resolved to 4.7.3, which depends on
|
108
|
+
Ruby (>= 2.1.0)
|
109
|
+
|
110
|
+
ruby-saml (~> 1.13.0) was resolved to 1.13.0, which depends on
|
111
|
+
Ruby (>= 1.8.7)
|
112
|
+
|
113
|
+
attr_encrypted (~> 3.1.0) was resolved to 3.1.0, which depends on
|
114
|
+
Ruby (>= 2.0.0)
|
115
|
+
|
116
|
+
ohai (~> 16.10) was resolved to 16.10.6, which depends on
|
117
|
+
Ruby (>= 2.6)
|
118
|
+
|
119
|
+
commonmarker (~> 0.23.4) was resolved to 0.23.4, which depends on
|
120
|
+
Ruby (>= 2.6, < 4.0)
|
121
|
+
|
122
|
+
bootstrap_form (~> 4.2.0) was resolved to 4.2.0, which depends on
|
123
|
+
Ruby (>= 2.2.2)
|
124
|
+
|
125
|
+
icalendar was resolved to 2.4.1, which depends on
|
126
|
+
Ruby (>= 1.9.2)
|
127
|
+
|
128
|
+
asana (~> 0.10.3) was resolved to 0.10.3, which depends on
|
129
|
+
Ruby (> 2.0)
|
130
|
+
|
131
|
+
licensee (~> 9.14.1) was resolved to 9.14.1, which depends on
|
132
|
+
Ruby (> 2.3)
|
133
|
+
|
134
|
+
tanuki_emoji (~> 0.6) was resolved to 0.6.0, which depends on
|
135
|
+
Ruby (>= 2.7.0)
|
136
|
+
|
137
|
+
ruby_parser (~> 3.15) was resolved to 3.15.0, which depends on
|
138
|
+
Ruby (>= 2.1, < 3.1)
|
139
|
+
|
140
|
+
thin (~> 1.8.0) was resolved to 1.8.0, which depends on
|
141
|
+
Ruby (>= 1.8.5)
|
142
|
+
|
143
|
+
pry-rails (~> 0.3.9) was resolved to 0.3.9, which depends on
|
144
|
+
Ruby (>= 1.9.1)
|
145
|
+
|
146
|
+
gitlab-license_finder (~> 6.0) was resolved to 6.14.2.1, which depends on
|
147
|
+
Ruby (>= 2.3.3)
|
148
|
+
|
149
|
+
asana (~> 0.10.3) was resolved to 0.10.3, which depends on
|
150
|
+
oauth2 (~> 1.4) was resolved to 1.4.7, which depends on
|
151
|
+
Ruby (>= 1.9.0)
|
152
|
+
|
153
|
+
yajl-ruby (~> 1.4.1) was resolved to 1.4.1, which depends on
|
154
|
+
Ruby (>= 1.8.6)
|
155
|
+
|
156
|
+
graphql-docs (~> 1.6.0) was resolved to 1.6.0, which depends on
|
157
|
+
gemoji (~> 3.0) was resolved to 3.0.1, which depends on
|
158
|
+
Ruby (> 1.9)
|
159
|
+
|
160
|
+
org-ruby (~> 0.9.12) was resolved to 0.9.12, which depends on
|
161
|
+
rubypants (~> 0.2) was resolved to 0.2.0, which depends on
|
162
|
+
Ruby (> 0.0.0)
|
163
|
+
|
164
|
+
solargraph (~> 0.43) was resolved to 0.43.0, which depends on
|
165
|
+
diff-lcs (~> 1.4) was resolved to 1.4.4, which depends on
|
166
|
+
Ruby (>= 1.8)
|
167
|
+
|
168
|
+
Ruby
|
169
|
+
|
170
|
+
```
|
85
171
|
|
86
172
|
|
87
173
|
コンフリクトを起こした際に、bundle updateすれば解決するかもしれない、
|
1
Gemfileの追加。
test
CHANGED
File without changes
|
test
CHANGED
@@ -3,97 +3,85 @@
|
|
3
3
|
bundle install時にエラーが発生しました。
|
4
4
|
使用しているRubyのバージョン 2.4.1p111を使用しています。
|
5
5
|
Rubyのバージョンがかなり古いかと思いますが、諸事情でバージョンはあまり変えたくありません。
|
6
|
+
Gemfileは以下になります。文字数制限の関係上、エラーが出てバージョン変更した部分周辺の抜粋になります。
|
6
7
|
|
8
|
+
```Gemfile
|
9
|
+
# frozen_string_literal: true
|
10
|
+
|
11
|
+
source 'https://rubygems.org'
|
12
|
+
|
13
|
+
#gem 'rails', '~> 6.1.4.6'
|
14
|
+
gem 'rails', '~> 4.2', '>= 4.2.11.1'
|
15
|
+
|
16
|
+
gem 'bootsnap', '~> 1.9.1', require: false
|
17
|
+
|
18
|
+
# OS detection for usage ping
|
19
|
+
#gem 'ohai', '~> 16.10'
|
20
|
+
gem 'ohai', '~> 14.15'
|
21
|
+
|
22
|
+
# Markdown and HTML processing
|
23
|
+
gem 'html-pipeline', '~> 2.13.2'
|
24
|
+
gem 'deckar01-task_list', '2.3.1'
|
25
|
+
gem 'gitlab-markup', '~> 1.8.0'
|
26
|
+
gem 'github-markup', '~> 1.7.0', require: 'github/markup'
|
27
|
+
gem 'commonmarker', '~> 0.23.4'
|
28
|
+
gem 'kramdown', '~> 2.3.1'
|
29
|
+
gem 'RedCloth', '~> 4.3.2'
|
30
|
+
gem 'rdoc', '~> 6.3.2'
|
31
|
+
gem 'org-ruby', '~> 0.9.12'
|
32
|
+
gem 'creole', '~> 0.5.0'
|
33
|
+
gem 'wikicloth', '0.8.1'
|
34
|
+
gem 'asciidoctor', '~> 2.0.10'
|
35
|
+
gem 'asciidoctor-include-ext', '~> 0.3.1', require: false
|
36
|
+
gem 'asciidoctor-plantuml', '~> 0.0.12'
|
37
|
+
gem 'asciidoctor-kroki', '~> 0.5.0', require: false
|
38
|
+
gem 'rouge', '~> 3.27.0'
|
39
|
+
gem 'truncato', '~> 0.7.11'
|
40
|
+
gem 'bootstrap_form', '~> 4.2.0'
|
41
|
+
#gem 'nokogiri', '~> 1.12'
|
42
|
+
gem 'nokogiri', '~> 1.10', '>= 1.10.10'
|
43
|
+
gem 'escape_utils', '~> 1.1'
|
44
|
+
|
45
|
+
# Background jobs
|
46
|
+
#gem 'sidekiq', '~> 6.4'
|
47
|
+
gem 'sidekiq', '~> 5.2', '>= 5.2.10'
|
48
|
+
gem 'sidekiq-cron', '~> 1.2'
|
49
|
+
gem 'redis-namespace', '~> 1.8.1'
|
50
|
+
gem 'gitlab-sidekiq-fetcher', '0.8.0', require: 'sidekiq-reliable-fetch'
|
51
|
+
|
52
|
+
# Metrics
|
53
|
+
gem 'method_source', '~> 1.0', require: false
|
54
|
+
gem 'webrick', '~> 1.6.1', require: false
|
55
|
+
#gem 'webrick', '~> 1.7', require: false
|
56
|
+
gem 'prometheus-client-mmap', '~> 0.15.0', require: 'prometheus/client'
|
57
|
+
|
58
|
+
gem 'warning', '~> 1.2.0'
|
59
|
+
|
60
|
+
group :test do
|
61
|
+
gem 'fuubar', '~> 2.2.0'
|
62
|
+
gem 'rspec-retry', '~> 0.6.1'
|
63
|
+
gem 'rspec_profiling', '~> 0.0.6'
|
64
|
+
gem 'rspec-benchmark', '~> 0.6.0'
|
65
|
+
gem 'rspec-parameterized', require: false
|
66
|
+
|
67
|
+
# gem 'capybara', '~> 3.35.3'
|
68
|
+
gem 'capybara', '~> 3.32', '>= 3.32.2'
|
69
|
+
gem 'capybara-screenshot', '~> 1.0.22'
|
70
|
+
gem 'selenium-webdriver', '~> 3.142'
|
71
|
+
|
72
|
+
gem 'shoulda-matchers', '~> 4.0.1', require: false
|
73
|
+
gem 'email_spec', '~> 2.2.0'
|
74
|
+
gem 'webmock', '~> 3.9.1'
|
75
|
+
gem 'rails-controller-testing'
|
76
|
+
gem 'concurrent-ruby', '~> 1.1'
|
77
|
+
gem 'test-prof', '~> 1.0.7'
|
78
|
+
gem 'rspec_junit_formatter'
|
79
|
+
gem 'guard-rspec'
|
80
|
+
```
|
7
81
|
|
8
82
|
### 発生している問題・エラーメッセージ
|
9
83
|
bundle install時に以下エラーが発生。
|
10
|
-
|
11
|
-
```
|
12
|
-
bundle install
|
13
|
-
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on
|
14
|
-
this machine.
|
15
|
-
Fetching source index from https://rubygems.org/
|
16
|
-
Resolving dependencies.........................................................................................................................................................................................
|
17
|
-
Bundler found conflicting requirements for the Ruby version:
|
18
|
-
In Gemfile:
|
19
|
-
rails (~> 6.1.4.6) was resolved to 6.1.4.6, which depends on
|
20
|
-
Ruby (>= 2.5.0)
|
21
|
-
|
22
|
-
bootsnap (~> 1.9.1) was resolved to 1.9.1, which depends on
|
23
|
-
Ruby (>= 2.3.0)
|
24
|
-
|
25
|
-
responders (~> 3.0) was resolved to 3.0.0, which depends on
|
26
|
-
Ruby (>= 2.4.0)
|
27
|
-
|
28
|
-
sprockets (~> 3.7.0) was resolved to 3.7.2, which depends on
|
29
|
-
Ruby (>= 1.9.3)
|
30
|
-
|
31
|
-
pg (~> 1.1) was resolved to 1.2.3, which depends on
|
32
|
-
Ruby (>= 2.2)
|
33
|
-
|
34
|
-
devise (~> 4.7.2) was resolved to 4.7.3, which depends on
|
35
|
-
Ruby (>= 2.1.0)
|
36
|
-
|
37
|
-
ruby-saml (~> 1.13.0) was resolved to 1.13.0, which depends on
|
38
|
-
Ruby (>= 1.8.7)
|
39
|
-
|
40
|
-
attr_encrypted (~> 3.1.0) was resolved to 3.1.0, which depends on
|
41
|
-
Ruby (>= 2.0.0)
|
42
|
-
|
43
|
-
ohai (~> 16.10) was resolved to 16.10.6, which depends on
|
44
|
-
Ruby (>= 2.6)
|
45
|
-
|
46
|
-
commonmarker (~> 0.23.4) was resolved to 0.23.4, which depends on
|
47
|
-
Ruby (>= 2.6, < 4.0)
|
48
|
-
|
49
|
-
bootstrap_form (~> 4.2.0) was resolved to 4.2.0, which depends on
|
50
|
-
Ruby (>= 2.2.2)
|
51
|
-
|
52
|
-
icalendar was resolved to 2.4.1, which depends on
|
53
|
-
Ruby (>= 1.9.2)
|
54
|
-
|
55
|
-
asana (~> 0.10.3) was resolved to 0.10.3, which depends on
|
56
|
-
Ruby (> 2.0)
|
57
|
-
|
58
|
-
licensee (~> 9.14.1) was resolved to 9.14.1, which depends on
|
59
|
-
Ruby (> 2.3)
|
60
|
-
|
61
|
-
tanuki_emoji (~> 0.6) was resolved to 0.6.0, which depends on
|
62
|
-
Ruby (>= 2.7.0)
|
63
|
-
|
64
|
-
ruby_parser (~> 3.15) was resolved to 3.15.0, which depends on
|
65
|
-
Ruby (>= 2.1, < 3.1)
|
66
|
-
|
67
|
-
thin (~> 1.8.0) was resolved to 1.8.0, which depends on
|
68
|
-
Ruby (>= 1.8.5)
|
69
|
-
|
70
|
-
pry-rails (~> 0.3.9) was resolved to 0.3.9, which depends on
|
71
|
-
Ruby (>= 1.9.1)
|
72
|
-
|
73
|
-
gitlab-license_finder (~> 6.0) was resolved to 6.14.2.1, which depends on
|
74
|
-
Ruby (>= 2.3.3)
|
75
|
-
|
76
|
-
asana (~> 0.10.3) was resolved to 0.10.3, which depends on
|
77
|
-
oauth2 (~> 1.4) was resolved to 1.4.7, which depends on
|
78
|
-
Ruby (>= 1.9.0)
|
79
|
-
|
80
|
-
yajl-ruby (~> 1.4.1) was resolved to 1.4.1, which depends on
|
81
|
-
Ruby (>= 1.8.6)
|
82
|
-
|
83
|
-
graphql-docs (~> 1.6.0) was resolved to 1.6.0, which depends on
|
84
|
-
gemoji (~> 3.0) was resolved to 3.0.1, which depends on
|
85
|
-
Ruby (> 1.9)
|
86
|
-
|
87
|
-
org-ruby (~> 0.9.12) was resolved to 0.9.12, which depends on
|
88
|
-
rubypants (~> 0.2) was resolved to 0.2.0, which depends on
|
89
|
-
Ruby (> 0.0.0)
|
90
|
-
|
91
|
-
solargraph (~> 0.43) was resolved to 0.43.0, which depends on
|
92
|
-
diff-lcs (~> 1.4) was resolved to 1.4.4, which depends on
|
93
|
-
Ruby (>= 1.8)
|
94
|
-
|
95
|
-
Ruby
|
96
|
-
```
|
84
|
+

|
97
85
|
|
98
86
|
|
99
87
|
コンフリクトを起こした際に、bundle updateすれば解決するかもしれない、
|