質問編集履歴
3
ごじ
title
CHANGED
File without changes
|
body
CHANGED
@@ -99,7 +99,7 @@
|
|
99
99
|
```ここに言語を入力
|
100
100
|
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
101
101
|
|
102
|
-
current directory: /Users/user_name/
|
102
|
+
current directory: /Users/user_name/app_anem/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
103
103
|
/Users/user_name/.rbenv/versions/2.5.0/bin/ruby -r ./siteconf20181127-41841-k7bxey.rb extconf.rb --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include
|
104
104
|
checking for rb_absint_size()... yes
|
105
105
|
checking for rb_absint_singlebit_p()... yes
|
2
ごじ
title
CHANGED
File without changes
|
body
CHANGED
@@ -99,8 +99,8 @@
|
|
99
99
|
```ここに言語を入力
|
100
100
|
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
101
101
|
|
102
|
-
current directory: /Users/
|
102
|
+
current directory: /Users/user_name/torio2018/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
103
|
-
/Users/
|
103
|
+
/Users/user_name/.rbenv/versions/2.5.0/bin/ruby -r ./siteconf20181127-41841-k7bxey.rb extconf.rb --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include
|
104
104
|
checking for rb_absint_size()... yes
|
105
105
|
checking for rb_absint_singlebit_p()... yes
|
106
106
|
checking for ruby/thread.h... yes
|
@@ -128,10 +128,10 @@
|
|
128
128
|
-----
|
129
129
|
creating Makefile
|
130
130
|
|
131
|
-
current directory: /Users/
|
131
|
+
current directory: /Users/user_name/app_name/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
132
132
|
make "DESTDIR=" clean
|
133
133
|
|
134
|
-
current directory: /Users/
|
134
|
+
current directory: /Users/user_name/app_name/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
135
135
|
make "DESTDIR="
|
136
136
|
compiling client.c
|
137
137
|
compiling infile.c
|
@@ -140,15 +140,15 @@
|
|
140
140
|
compiling statement.c
|
141
141
|
linking shared-object mysql2/mysql2.bundle
|
142
142
|
|
143
|
-
current directory: /Users/
|
143
|
+
current directory: /Users/user_name/app_name/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
144
144
|
make "DESTDIR=" install
|
145
145
|
make: /usr/local/bin/gmkdir: No such file or directory
|
146
146
|
make: *** [.sitearchdir.-.mysql2.time] Error 1
|
147
147
|
|
148
148
|
make install failed, exit code 2
|
149
149
|
|
150
|
-
Gem files will remain installed in /Users/
|
150
|
+
Gem files will remain installed in /Users/user_name/app_name/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10 for inspection.
|
151
|
-
Results logged to /Users/
|
151
|
+
Results logged to /Users/user_name/app_name/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0-static/mysql2-0.4.10/gem_make.out
|
152
152
|
|
153
153
|
An error occurred while installing mysql2 (0.4.10), and Bundler cannot continue.
|
154
154
|
Make sure that `gem install mysql2 -v '0.4.10' --source 'https://rubygems.org/'` succeeds before bundling.
|
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -84,4 +84,72 @@
|
|
84
84
|
```
|
85
85
|
|
86
86
|
mysql2のバージョンとかの問題だと思っているのですが、なかなか解決に繋がっておりません。
|
87
|
-
どなたかアドバイスいただけますと幸いです。
|
87
|
+
どなたかアドバイスいただけますと幸いです。
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
### 追記
|
97
|
+
|
98
|
+
ご指摘をいただきopensslの再インストールを行い改めてbundle install
|
99
|
+
```ここに言語を入力
|
100
|
+
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
101
|
+
|
102
|
+
current directory: /Users/saitoushigeyuki/torio2018/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
103
|
+
/Users/saitoushigeyuki/.rbenv/versions/2.5.0/bin/ruby -r ./siteconf20181127-41841-k7bxey.rb extconf.rb --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include
|
104
|
+
checking for rb_absint_size()... yes
|
105
|
+
checking for rb_absint_singlebit_p()... yes
|
106
|
+
checking for ruby/thread.h... yes
|
107
|
+
checking for rb_thread_call_without_gvl() in ruby/thread.h... yes
|
108
|
+
checking for rb_thread_blocking_region()... no
|
109
|
+
checking for rb_wait_for_single_fd()... yes
|
110
|
+
checking for rb_hash_dup()... yes
|
111
|
+
checking for rb_intern3()... yes
|
112
|
+
checking for rb_big_cmp()... yes
|
113
|
+
-----
|
114
|
+
Using mysql_config at /usr/local/bin/mysql_config
|
115
|
+
-----
|
116
|
+
checking for mysql.h... yes
|
117
|
+
checking for errmsg.h... yes
|
118
|
+
checking for SSL_MODE_DISABLED in mysql.h... yes
|
119
|
+
checking for SSL_MODE_PREFERRED in mysql.h... yes
|
120
|
+
checking for SSL_MODE_REQUIRED in mysql.h... yes
|
121
|
+
checking for SSL_MODE_VERIFY_CA in mysql.h... yes
|
122
|
+
checking for SSL_MODE_VERIFY_IDENTITY in mysql.h... yes
|
123
|
+
checking for MYSQL.net.vio in mysql.h... yes
|
124
|
+
checking for MYSQL.net.pvio in mysql.h... no
|
125
|
+
checking for MYSQL_ENABLE_CLEARTEXT_PLUGIN in mysql.h... yes
|
126
|
+
-----
|
127
|
+
Setting rpath to /usr/local/Cellar/mysql/8.0.12/lib
|
128
|
+
-----
|
129
|
+
creating Makefile
|
130
|
+
|
131
|
+
current directory: /Users/saitoushigeyuki/torio2018/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
132
|
+
make "DESTDIR=" clean
|
133
|
+
|
134
|
+
current directory: /Users/saitoushigeyuki/torio2018/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
135
|
+
make "DESTDIR="
|
136
|
+
compiling client.c
|
137
|
+
compiling infile.c
|
138
|
+
compiling mysql2_ext.c
|
139
|
+
compiling result.c
|
140
|
+
compiling statement.c
|
141
|
+
linking shared-object mysql2/mysql2.bundle
|
142
|
+
|
143
|
+
current directory: /Users/saitoushigeyuki/torio2018/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10/ext/mysql2
|
144
|
+
make "DESTDIR=" install
|
145
|
+
make: /usr/local/bin/gmkdir: No such file or directory
|
146
|
+
make: *** [.sitearchdir.-.mysql2.time] Error 1
|
147
|
+
|
148
|
+
make install failed, exit code 2
|
149
|
+
|
150
|
+
Gem files will remain installed in /Users/saitoushigeyuki/torio2018/vendor/bundle/ruby/2.5.0/gems/mysql2-0.4.10 for inspection.
|
151
|
+
Results logged to /Users/saitoushigeyuki/torio2018/vendor/bundle/ruby/2.5.0/extensions/x86_64-darwin-18/2.5.0-static/mysql2-0.4.10/gem_make.out
|
152
|
+
|
153
|
+
An error occurred while installing mysql2 (0.4.10), and Bundler cannot continue.
|
154
|
+
Make sure that `gem install mysql2 -v '0.4.10' --source 'https://rubygems.org/'` succeeds before bundling.
|
155
|
+
```
|