質問編集履歴

2

エラーコード

2020/06/12 16:28

投稿

00tamanegi00
00tamanegi00

スコア1

test CHANGED
File without changes
test CHANGED
@@ -10,141 +10,13 @@
10
10
 
11
11
  ### 発生している問題・エラーメッセージ
12
12
 
13
+ Could not find gem 'therubyracer' in any of the gem sources listed in your Gemfile.
14
+
15
+ Run `bundle install` to install missing gems.
13
16
 
14
17
 
15
- ```
16
18
 
17
- エラーメッセージ
18
19
 
19
- ```
20
-
21
- Traceback (most recent call last):
22
-
23
- 61: from bin/rails:3:in `<main>'
24
-
25
- 60: from bin/rails:3:in `load'
26
-
27
- 59: from /Users/yudai/sample_app/bin/spring:15:in `<top (required)>'
28
-
29
- 58: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
30
-
31
- 57: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
32
-
33
- 56: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `<top (required)>'
34
-
35
- 55: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.0/lib/spring/binstub.rb:11:in `load'
36
-
37
- 54: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.0/bin/spring:49:in `<top (required)>'
38
-
39
- 53: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.0/lib/spring/client.rb:30:in `run'
40
-
41
- 52: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.0/lib/spring/client/command.rb:7:in `call'
42
-
43
- 51: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `call'
44
-
45
- 50: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/spring-2.1.0/lib/spring/client/rails.rb:28:in `load'
46
-
47
- 49: from /Users/yudai/sample_app/bin/rails:9:in `<top (required)>'
48
-
49
- 48: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:291:in `require'
50
-
51
- 47: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:257:in `load_dependency'
52
-
53
- 46: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:291:in `block in require'
54
-
55
- 45: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
56
-
57
- 44: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
58
-
59
- 43: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
60
-
61
- 42: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
62
-
63
- 41: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
64
-
65
- 40: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-5.2.4.3/lib/rails/commands.rb:18:in `<main>'
66
-
67
- 39: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-5.2.4.3/lib/rails/command.rb:46:in `invoke'
68
-
69
- 38: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-5.2.4.3/lib/rails/command/base.rb:69:in `perform'
70
-
71
- 37: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
72
-
73
- 36: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
74
-
75
- 35: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
76
-
77
- 34: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-5.2.4.3/lib/rails/commands/server/server_command.rb:142:in `perform'
78
-
79
- 33: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-5.2.4.3/lib/rails/commands/server/server_command.rb:142:in `tap'
80
-
81
- 32: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/railties-5.2.4.3/lib/rails/commands/server/server_command.rb:145:in `block in perform'
82
-
83
- 31: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:291:in `require'
84
-
85
- 30: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:257:in `load_dependency'
86
-
87
- 29: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:291:in `block in require'
88
-
89
- 28: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
90
-
91
- 27: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
92
-
93
- 26: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
94
-
95
- 25: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
96
-
97
- 24: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
98
-
99
- 23: from /Users/yudai/sample_app/config/application.rb:7:in `<main>'
100
-
101
- 22: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/2.7.0/bundler.rb:174:in `require'
102
-
103
- 21: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/2.7.0/bundler/runtime.rb:58:in `require'
104
-
105
- 20: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/2.7.0/bundler/runtime.rb:58:in `each'
106
-
107
- 19: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/2.7.0/bundler/runtime.rb:69:in `block in require'
108
-
109
- 18: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/2.7.0/bundler/runtime.rb:69:in `each'
110
-
111
- 17: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/2.7.0/bundler/runtime.rb:74:in `block (2 levels) in require'
112
-
113
- 16: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
114
-
115
- 15: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
116
-
117
- 14: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
118
-
119
- 13: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
120
-
121
- 12: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
122
-
123
- 11: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/uglifier-4.2.0/lib/uglifier.rb:5:in `<main>'
124
-
125
- 10: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:291:in `require'
126
-
127
- 9: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:257:in `load_dependency'
128
-
129
- 8: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/activesupport-5.2.4.3/lib/active_support/dependencies.rb:291:in `block in require'
130
-
131
- 7: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
132
-
133
- 6: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
134
-
135
- 5: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
136
-
137
- 4: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
138
-
139
- 3: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
140
-
141
- 2: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/execjs-2.7.0/lib/execjs.rb:4:in `<main>'
142
-
143
- 1: from /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/execjs-2.7.0/lib/execjs.rb:5:in `<module:ExecJS>'
144
-
145
- /Users/yudai/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:58:in `autodetect': Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
146
-
147
- yudai@yudaiMac sample_app %
148
20
 
149
21
 
150
22
 
@@ -168,6 +40,30 @@
168
40
 
169
41
  ### 試したこと
170
42
 
43
+ bundle installを実行しましたがエラーになります。
44
+
45
+
46
+
47
+ 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`.
48
+
49
+
50
+
51
+
52
+
53
+ Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
54
+
55
+
56
+
57
+ An error occurred while installing libv8 (3.16.14.19), and Bundler
58
+
59
+ cannot continue.
60
+
61
+ Make sure that `gem install libv8 -v '3.16.14.19' --source
62
+
63
+ 'https://rubygems.org/'` succeeds before bundling.
64
+
65
+
66
+
171
67
 
172
68
 
173
69
 

1

タイトル

2020/06/12 16:28

投稿

00tamanegi00
00tamanegi00

スコア1

test CHANGED
@@ -1 +1 @@
1
- rails cができない
1
+ rails sができない
test CHANGED
File without changes