質問編集履歴

2

エラーを追記

2020/05/18 02:46

投稿

Shika_Tech
Shika_Tech

スコア13

test CHANGED
File without changes
test CHANGED
@@ -192,6 +192,44 @@
192
192
 
193
193
 
194
194
 
195
+
196
+
197
+ ### 追記
198
+
199
+ rails app:update:bin
200
+
201
+ こちらのコマンドを実行したところエラーが発生しました。
202
+
203
+ ```rails aborted!
204
+
205
+ LoadError: dlopen(/Users/username/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
206
+
207
+ Referenced from: /Users/username/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.bundle
208
+
209
+ Reason: image not found - /Users/username/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.bundle
210
+
211
+ /Users/username/projects/bookcafe-review-app/config/application.rb:6:in `<top (required)>'
212
+
213
+ /Users/username/projects/bookcafe-review-app/Rakefile:6:in `require_relative'
214
+
215
+ /Users/username/projects/bookcafe-review-app/Rakefile:6:in `<top (required)>'
216
+
217
+ /Users/username/projects/bookcafe-review-app/bin/rails:11:in `require'
218
+
219
+ /Users/username/projects/bookcafe-review-app/bin/rails:11:in `<top (required)>'
220
+
221
+ /Users/username/projects/bookcafe-review-app/bin/spring:16:in `<top (required)>'
222
+
223
+ bin/rails:5:in `load'
224
+
225
+ bin/rails:5:in `<main>'
226
+
227
+ (See full trace by running task with --trace)
228
+
229
+ ```
230
+
231
+
232
+
195
233
  こんな感じになってしまいました。
196
234
 
197
235
 

1

エラー文を修正

2020/05/18 02:45

投稿

Shika_Tech
Shika_Tech

スコア13

test CHANGED
File without changes
test CHANGED
@@ -50,6 +50,8 @@
50
50
 
51
51
  bin/rails:5:in `load'
52
52
 
53
+ bin/rails:5:in `<main>'
54
+
53
55
  ```
54
56
 
55
57