質問編集履歴

3

rbenvでrubyをインストールしましたが、別のエラーが出ます、最初のエラーを一部削除しました。

2020/10/23 09:08

投稿

tsuka414
tsuka414

スコア0

test CHANGED
File without changes
test CHANGED
@@ -18,53 +18,141 @@
18
18
 
19
19
  No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
20
20
 
21
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/railties-5.2.3/lib/rails/commands/rake/rake_command.rb:22:in `block in perform'
21
+ ```
22
22
 
23
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/railties-5.2.3/lib/rails/commands/rake/rake_command.rb:20:in `perform'
23
+ ```
24
24
 
25
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/railties-5.2.3/lib/rails/command.rb:48:in `invoke'
25
+ rails aborted!
26
26
 
27
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/railties-5.2.3/lib/rails/commands.rb:18:in `<main>'
27
+ LoadError: cannot load such file -- parser/lexer
28
28
 
29
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
29
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
30
30
 
31
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
31
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
32
32
 
33
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
33
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:89:in `register'
34
34
 
35
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
35
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
36
36
 
37
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
37
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:40:in `rescue in require'
38
38
 
39
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
39
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:26:in `require'
40
40
 
41
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
41
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
42
42
 
43
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
43
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
44
44
 
45
- /Users/tsukaguchikeita/bin/rails:9:in `<top (required)>'
45
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
46
46
 
47
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
47
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/parser-2.7.1.4/lib/parser.rb:67:in `<module:Parser>'
48
48
 
49
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
49
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/parser-2.7.1.4/lib/parser.rb:19:in `<main>'
50
50
 
51
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
51
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
52
52
 
53
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
53
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
54
54
 
55
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
55
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
56
56
 
57
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
57
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
58
58
 
59
- /Users/tsukaguchikeita/vendor/bundle/ruby/2.7.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
59
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
60
60
 
61
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
62
+
63
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
64
+
65
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
66
+
67
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/rubocop-0.76.0/lib/rubocop.rb:3:in `<main>'
68
+
69
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
70
+
71
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
72
+
73
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
74
+
75
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
76
+
77
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
78
+
79
+ /Users/tsukaguchikeita/Pray/Reservation-System/config/application.rb:7:in `<main>'
80
+
81
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
82
+
83
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
84
+
85
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
86
+
87
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
88
+
89
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
90
+
91
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
92
+
93
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
94
+
95
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
96
+
97
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:48:in `require_relative'
98
+
99
+ /Users/tsukaguchikeita/Pray/Reservation-System/Rakefile:4:in `<main>'
100
+
101
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
102
+
103
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:54:in `load'
104
+
105
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `block in load'
106
+
107
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
108
+
109
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:285:in `load'
110
+
111
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/rake/rake_command.rb:22:in `block in perform'
112
+
113
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands/rake/rake_command.rb:20:in `perform'
114
+
115
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/command.rb:48:in `invoke'
116
+
117
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/railties-5.2.3/lib/rails/commands.rb:18:in `<main>'
118
+
119
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require'
120
+
121
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `block in require_with_bootsnap_lfi'
122
+
123
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
124
+
125
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require_with_bootsnap_lfi'
126
+
127
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/bootsnap-1.4.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
128
+
129
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `block in require'
130
+
131
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:257:in `load_dependency'
132
+
133
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb:291:in `require'
134
+
135
+
136
+
137
+ /Users/tsukaguchikeita/Pray/Reservation-System/vendor/bundle/ruby/2.6.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
138
+
139
+ /Users/tsukaguchikeita/Pray/Reservation-System/bin/spring:15:in `require'
140
+
61
- /Users/tsukaguchikeita/bin/spring:15:in `<top (required)>'
141
+ /Users/tsukaguchikeita/Pray/Reservation-System/bin/spring:15:in `<top (required)>'
62
142
 
63
143
  bin/rails:3:in `load'
64
144
 
65
145
  bin/rails:3:in `<main>'
66
146
 
147
+
148
+
149
+ Caused by:
150
+
151
+ Bootsnap::LoadPathCache::FallbackScan:
152
+
153
+
154
+
67
- (See full trace by running task with --trace
155
+ (See full trace by running task with --trace)
68
156
 
69
157
  ```
70
158
 
@@ -72,12 +160,6 @@
72
160
 
73
161
 
74
162
 
75
- ### 試したこと
76
163
 
77
164
 
78
-
79
- bashスクリプトの変更。
165
+ ### 試したこと
80
-
81
-
82
-
83
- ### 補足情報(FW/ツールのバージョンなど)

2

rails db:setupの実行

2020/10/23 09:08

投稿

tsuka414
tsuka414

スコア0

test CHANGED
File without changes
test CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- VSCode上でrails:db:setupを完了し、アプリ開発がしたい。
5
+ VSCode上でrails db:setupを完了し、アプリ開発がしたい。
6
6
 
7
7
  git pull出来なかったのでgit cloneからやり直すと
8
8
 
9
- bunndle installは出来ましたがrails:db:setupが出来ませんでした。
9
+ bunndle installは出来ましたがrails db:setupが出来ませんでした。
10
10
 
11
11
 
12
12
 

1

誤植

2020/10/23 07:30

投稿

tsuka414
tsuka414

スコア0

test CHANGED
File without changes
test CHANGED
@@ -11,6 +11,8 @@
11
11
 
12
12
 
13
13
  ### 発生している問題・エラーメッセージ
14
+
15
+ ```
14
16
 
15
17
  rails aborted!
16
18
 
@@ -64,12 +66,6 @@
64
66
 
65
67
  (See full trace by running task with --trace
66
68
 
67
-
68
-
69
- ```
70
-
71
- エラーメッセージ
72
-
73
69
  ```
74
70
 
75
71