質問編集履歴

1

Docker

2021/01/22 14:17

投稿

saito5940
saito5940

スコア63

test CHANGED
File without changes
test CHANGED
@@ -117,3 +117,61 @@
117
117
  - db
118
118
 
119
119
  ```
120
+
121
+
122
+
123
+ しばらくして、再度実行したら以下のエラーが表示されました。
124
+
125
+ ```ここに言語を入力
126
+
127
+ Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
128
+
129
+
130
+
131
+ current directory: /usr/local/bundle/gems/racc-1.5.2/ext/racc/cparse
132
+
133
+ /usr/local/bin/ruby -I /usr/local/lib/ruby/2.7.0 -r
134
+
135
+ ./siteconf20210122-7-k0z1kz.rb extconf.rb
136
+
137
+ extconf failedCannot allocate memory - /usr/local/bin/ruby
138
+
139
+
140
+
141
+ Gem files will remain installed in /usr/local/bundle/gems/racc-1.5.2 for
142
+
143
+ inspection.
144
+
145
+ Results logged to
146
+
147
+ /usr/local/bundle/extensions/x86_64-linux/2.7.0/racc-1.5.2/gem_make.out
148
+
149
+
150
+
151
+ An error occurred while installing racc (1.5.2), and Bundler cannot continue.
152
+
153
+ Make sure that `gem install racc -v '1.5.2' --source 'https://rubygems.org/'`
154
+
155
+ succeeds before bundling.
156
+
157
+
158
+
159
+ In Gemfile:
160
+
161
+ rails was resolved to 6.1.1, which depends on
162
+
163
+ actioncable was resolved to 6.1.1, which depends on
164
+
165
+ actionpack was resolved to 6.1.1, which depends on
166
+
167
+ actionview was resolved to 6.1.1, which depends on
168
+
169
+ rails-dom-testing was resolved to 2.0.3, which depends on
170
+
171
+ nokogiri was resolved to 1.11.1, which depends on
172
+
173
+ racc
174
+
175
+ ERROR: Service 'web' failed to build: The command '/bin/sh -c bundle config --local set path 'vendor/bundle' && bundle install' returned a non-zero code: 5
176
+
177
+ ```