質問編集履歴

1

コンパイルができてなかったみたいです。

2017/08/29 10:42

投稿

tarou-tanka
tarou-tanka

スコア18

test CHANGED
File without changes
test CHANGED
@@ -17,3 +17,67 @@
17
17
  解決策や情報源をご存じの方がおられたらご教授いただけますでしょうか。
18
18
 
19
19
  どうぞよろしくお願いいたします。
20
+
21
+
22
+
23
+ ・追記
24
+
25
+ どうやら、コンパイルができてなかったみたいです。
26
+
27
+ エラーのログを記載します。
28
+
29
+
30
+
31
+ rake aborted!
32
+
33
+ Sprockets::ArgumentError: require_tree argument must be a directory
34
+
35
+ (in /Users/〇〇/Desktop/projects/app/assets/javascripts/main/application.js:16)
36
+
37
+ /Users/〇〇/.rbenv/versions/2.3.1/bin/bundle:23:in `load'
38
+
39
+ /Users/〇〇/.rbenv/versions/2.3.1/bin/bundle:23:in `<main>'
40
+
41
+ Tasks: TOP => assets:precompile
42
+
43
+ (See full trace by running task with --trace)
44
+
45
+
46
+
47
+ application.jsの内容も下記に記載します。
48
+
49
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
50
+
51
+ // listed below.
52
+
53
+ //
54
+
55
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
56
+
57
+ // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
58
+
59
+ //
60
+
61
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
62
+
63
+ // compiled file.
64
+
65
+ //
66
+
67
+ // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
68
+
69
+ // about supported directives.
70
+
71
+ //
72
+
73
+ //= require jquery
74
+
75
+ //= require jquery_ujs
76
+
77
+ //= require turbolinks
78
+
79
+ //= require_tree ./main
80
+
81
+
82
+
83
+ 引き続きよろしくお願いします。