質問編集履歴

2

文章変更。

2020/05/26 11:06

投稿

takahira0425
takahira0425

スコア5

test CHANGED
File without changes
test CHANGED
@@ -124,7 +124,7 @@
124
124
 
125
125
  1: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
126
126
 
127
- /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require': dlopen(/Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/bootsnap.bundle, 9): Library not loaded: /Users/owner/.rbenv/versions/2.5.1/lib/libruby.2.5.dylib (LoadError)
127
+ /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require': dlopen(/Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/bootsnap.bundle, 9): Library not loaded: /Users//.rbenv/versions/2.5.1/lib/libruby.2.5.dylib (LoadError)
128
128
 
129
129
  Referenced from: /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/bootsnap.bundle
130
130
 

1

試したことに付け足した。

2020/05/26 11:06

投稿

takahira0425
takahira0425

スコア5

test CHANGED
File without changes
test CHANGED
@@ -31,3 +31,101 @@
31
31
 
32
32
 
33
33
  どなたかお助けください。
34
+
35
+
36
+
37
+ ###現在のエラー状況
38
+
39
+ 回答のとおり、ruby2.5.1をrbenvで再インストールしてから、以下のコードを入力すると、長いエラー文が出てきました。
40
+
41
+ rbenv install 2.5.1
42
+
43
+ rbenv rehash
44
+
45
+ bundle install
46
+
47
+ gem install msgpack
48
+
49
+
50
+
51
+ (エラー文)
52
+
53
+ Traceback (most recent call last):
54
+
55
+ 36: from bin/rails:3:in `<main>'
56
+
57
+ 35: from bin/rails:3:in `load'
58
+
59
+ 34: from /Users//projects/view_drill2/bin/spring:15:in `<top (required)>'
60
+
61
+ 33: from /Users//.rbenv/versions/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
62
+
63
+ 32: from /Users//.rbenv/versions/2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
64
+
65
+ 31: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
66
+
67
+ 30: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
68
+
69
+ 29: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
70
+
71
+ 28: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
72
+
73
+ 27: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
74
+
75
+ 26: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
76
+
77
+ 25: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
78
+
79
+ 24: from /Users//projects/view_drill2/bin/rails:8:in `<top (required)>'
80
+
81
+ 23: from /Users//projects/view_drill2/bin/rails:8:in `require_relative'
82
+
83
+ 22: from /Users//projects/view_drill2/config/boot.rb:4:in `<top (required)>'
84
+
85
+ 21: from /Users//projects/view_drill2/config/boot.rb:4:in `require'
86
+
87
+ 20: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/setup.rb:31:in `<top (required)>'
88
+
89
+ 19: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap.rb:31:in `setup'
90
+
91
+ 18: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/compile_cache.rb:19:in `setup'
92
+
93
+ 17: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:49:in `require_relative'
94
+
95
+ 16: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:291:in `require'
96
+
97
+ 15: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:257:in `load_dependency'
98
+
99
+ 14: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:291:in `block in require'
100
+
101
+ 13: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
102
+
103
+ 12: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
104
+
105
+ 11: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
106
+
107
+ 10: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
108
+
109
+ 9: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
110
+
111
+ 8: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/compile_cache/yaml.rb:2:in `<top (required)>'
112
+
113
+ 7: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:291:in `require'
114
+
115
+ 6: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:257:in `load_dependency'
116
+
117
+ 5: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:291:in `block in require'
118
+
119
+ 4: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
120
+
121
+ 3: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
122
+
123
+ 2: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
124
+
125
+ 1: from /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
126
+
127
+ /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require': dlopen(/Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/bootsnap.bundle, 9): Library not loaded: /Users/owner/.rbenv/versions/2.5.1/lib/libruby.2.5.dylib (LoadError)
128
+
129
+ Referenced from: /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/bootsnap.bundle
130
+
131
+ Reason: image not found - /Users//.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bootsnap-1.4.6/lib/bootsnap/bootsnap.bundle