質問編集履歴
1
追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,249 @@
|
|
4
4
|
|
5
5
|
Run `bundle install` to install missing gems.
|
6
6
|
|
7
|
-
|
7
|
+
### bundle installをすると
|
8
|
+
|
9
|
+
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`.
|
10
|
+
|
11
|
+
Fetching gem metadata from https://rubygems.org/............
|
12
|
+
|
13
|
+
Fetching gem metadata from https://rubygems.org/.
|
14
|
+
|
15
|
+
Resolving dependencies....
|
16
|
+
|
17
|
+
Using rake 13.0.1
|
18
|
+
|
19
|
+
Using concurrent-ruby 1.1.6
|
20
|
+
|
21
|
+
Using i18n 1.8.3
|
22
|
+
|
23
|
+
Using minitest 5.14.1
|
24
|
+
|
25
|
+
Using thread_safe 0.3.6
|
26
|
+
|
27
|
+
Using tzinfo 1.2.7
|
28
|
+
|
29
|
+
Using activesupport 5.2.4.3
|
30
|
+
|
31
|
+
Using builder 3.2.4
|
32
|
+
|
33
|
+
Using erubi 1.9.0
|
34
|
+
|
35
|
+
Using mini_portile2 2.4.0
|
36
|
+
|
37
|
+
Using nokogiri 1.10.9
|
38
|
+
|
39
|
+
Using rails-dom-testing 2.0.3
|
40
|
+
|
41
|
+
Using crass 1.0.6
|
42
|
+
|
43
|
+
Using loofah 2.6.0
|
44
|
+
|
45
|
+
Using rails-html-sanitizer 1.3.0
|
46
|
+
|
47
|
+
Using actionview 5.2.4.3
|
48
|
+
|
49
|
+
Using rack 2.2.3
|
50
|
+
|
51
|
+
Using rack-test 1.1.0
|
52
|
+
|
53
|
+
Using actionpack 5.2.4.3
|
54
|
+
|
55
|
+
Using nio4r 2.5.2
|
56
|
+
|
57
|
+
Using websocket-extensions 0.1.5
|
58
|
+
|
59
|
+
Using websocket-driver 0.7.2
|
60
|
+
|
61
|
+
Using actioncable 5.2.4.3
|
62
|
+
|
63
|
+
Using globalid 0.4.2
|
64
|
+
|
65
|
+
Using activejob 5.2.4.3
|
66
|
+
|
67
|
+
Using mini_mime 1.0.2
|
68
|
+
|
69
|
+
Using mail 2.7.1
|
70
|
+
|
71
|
+
Using actionmailer 5.2.4.3
|
72
|
+
|
73
|
+
Using activemodel 5.2.4.3
|
74
|
+
|
75
|
+
Using arel 9.0.0
|
76
|
+
|
77
|
+
Using activerecord 5.2.4.3
|
78
|
+
|
79
|
+
Using mimemagic 0.3.5
|
80
|
+
|
81
|
+
Using marcel 0.3.3
|
82
|
+
|
83
|
+
Using activestorage 5.2.4.3
|
84
|
+
|
85
|
+
Using bindex 0.8.1
|
86
|
+
|
87
|
+
Using msgpack 1.3.3
|
88
|
+
|
89
|
+
Using bootsnap 1.4.6
|
90
|
+
|
91
|
+
Using bundler 2.1.4
|
92
|
+
|
93
|
+
Using byebug 11.1.3
|
94
|
+
|
95
|
+
Using coffee-script-source 1.12.2
|
96
|
+
|
97
|
+
Using execjs 2.7.0
|
98
|
+
|
99
|
+
Using coffee-script 2.4.1
|
100
|
+
|
101
|
+
Using method_source 1.0.0
|
102
|
+
|
103
|
+
Using thor 1.0.1
|
104
|
+
|
105
|
+
Using railties 5.2.4.3
|
106
|
+
|
107
|
+
Using coffee-rails 4.2.2
|
108
|
+
|
109
|
+
Using ffi 1.13.1
|
110
|
+
|
111
|
+
Using jbuilder 2.10.0
|
112
|
+
|
113
|
+
Using rb-fsevent 0.10.4
|
114
|
+
|
115
|
+
Using rb-inotify 0.10.1
|
116
|
+
|
117
|
+
Using ruby_dep 1.5.0
|
118
|
+
|
119
|
+
Using listen 3.1.5
|
120
|
+
|
121
|
+
Fetching mysql2 0.5.3
|
122
|
+
|
123
|
+
Installing mysql2 0.5.3 with native extensions
|
124
|
+
|
125
|
+
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
current directory: /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/mysql2-0.5.3/ext/mysql2
|
130
|
+
|
131
|
+
/home/ec2-user/.rvm/rubies/ruby-2.6.3/bin/ruby -I
|
132
|
+
|
133
|
+
/home/ec2-user/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0 -r
|
134
|
+
|
135
|
+
./siteconf20200623-6737-azqw8f.rb extconf.rb
|
136
|
+
|
137
|
+
--with-ldflags\=-L/usr/local/opt/openssl/lib
|
138
|
+
|
139
|
+
checking for rb_absint_size()... yes
|
140
|
+
|
141
|
+
checking for rb_absint_singlebit_p()... yes
|
142
|
+
|
143
|
+
checking for rb_wait_for_single_fd()... yes
|
144
|
+
|
145
|
+
-----
|
146
|
+
|
147
|
+
Using mysql_config at /usr/bin/mysql_config
|
148
|
+
|
149
|
+
-----
|
150
|
+
|
151
|
+
checking for mysql.h... no
|
152
|
+
|
153
|
+
checking for mysql/mysql.h... no
|
154
|
+
|
155
|
+
-----
|
156
|
+
|
157
|
+
mysql.h is missing. You may need to 'sudo apt-get install libmariadb-dev', 'sudo apt-get
|
158
|
+
|
159
|
+
install libmysqlclient-dev' or 'sudo yum install mysql-devel', and try again.
|
160
|
+
|
161
|
+
-----
|
162
|
+
|
163
|
+
*** extconf.rb failed ***
|
164
|
+
|
165
|
+
Could not create Makefile due to some reason, probably lack of necessary
|
166
|
+
|
167
|
+
libraries and/or headers. Check the mkmf.log file for more details. You may
|
168
|
+
|
169
|
+
need configuration options.
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
Provided configuration options:
|
174
|
+
|
175
|
+
--with-opt-dir
|
176
|
+
|
177
|
+
--without-opt-dir
|
178
|
+
|
179
|
+
--with-opt-include
|
180
|
+
|
181
|
+
--without-opt-include=${opt-dir}/include
|
182
|
+
|
183
|
+
--with-opt-lib
|
184
|
+
|
185
|
+
--without-opt-lib=${opt-dir}/lib
|
186
|
+
|
187
|
+
--with-make-prog
|
188
|
+
|
189
|
+
--without-make-prog
|
190
|
+
|
191
|
+
--srcdir=.
|
192
|
+
|
193
|
+
--curdir
|
194
|
+
|
195
|
+
--ruby=/home/ec2-user/.rvm/rubies/ruby-2.6.3/bin/$(RUBY_BASE_NAME)
|
196
|
+
|
197
|
+
--with-mysql-dir
|
198
|
+
|
199
|
+
--without-mysql-dir
|
200
|
+
|
201
|
+
--with-mysql-include
|
202
|
+
|
203
|
+
--without-mysql-include=${mysql-dir}/include
|
204
|
+
|
205
|
+
--with-mysql-lib
|
206
|
+
|
207
|
+
--without-mysql-lib=${mysql-dir}/lib
|
208
|
+
|
209
|
+
--with-mysql-config
|
210
|
+
|
211
|
+
--without-mysql-config
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
To see why this extension failed to compile, please check the mkmf.log which can be
|
216
|
+
|
217
|
+
found here:
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
/home/ec2-user/.rvm/gems/ruby-2.6.3/extensions/x86_64-linux/2.6.0/mysql2-0.5.3/mkmf.log
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
extconf failed, exit code 1
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
Gem files will remain installed in /home/ec2-user/.rvm/gems/ruby-2.6.3/gems/mysql2-0.5.3
|
230
|
+
|
231
|
+
for inspection.
|
232
|
+
|
233
|
+
Results logged to
|
234
|
+
|
235
|
+
/home/ec2-user/.rvm/gems/ruby-2.6.3/extensions/x86_64-linux/2.6.0/mysql2-0.5.3/gem_make.out
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
An error occurred while installing mysql2 (0.5.3), and Bundler cannot continue.
|
240
|
+
|
241
|
+
Make sure that `gem install mysql2 -v '0.5.3' --source 'https://rubygems.org/'` succeeds
|
242
|
+
|
243
|
+
before bundling.
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
In Gemfile:
|
248
|
+
|
249
|
+
mysql2
|
8
250
|
|
9
251
|
### 自分がやっていたこと
|
10
252
|
|