質問編集履歴
1
エラーの内容を修正しました
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
herokuのSyntaxErrorとArgumentErrorが解決できない
|
test
CHANGED
@@ -1,111 +1,45 @@
|
|
1
|
-
###
|
1
|
+
### bundlerのバージョンを変更した後に新たにエラーが出て、解決ができません。
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
### エラー内容
|
5
|
+
### エラー内容1
|
6
6
|
|
7
7
|
|
8
8
|
|
9
9
|
```
|
10
10
|
|
11
|
-
remote:
|
11
|
+
remote: Sass::SyntaxError: wrong number of arguments (1 for 3) for `rgb'
|
12
12
|
|
13
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/sass_compressor.rb:28:in `call'
|
14
|
-
|
15
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in `call_processor'
|
16
|
-
|
17
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
|
18
|
-
|
19
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `reverse_each'
|
20
|
-
|
21
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
|
22
|
-
|
23
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
|
24
|
-
|
25
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in `block in load'
|
26
|
-
|
27
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
|
28
|
-
|
29
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in `load'
|
30
|
-
|
31
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
|
32
|
-
|
33
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in `load'
|
34
|
-
|
35
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:66:in `find_asset'
|
36
|
-
|
37
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:73:in `find_all_linked_assets'
|
38
|
-
|
39
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:142:in `block in find'
|
40
|
-
|
41
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
|
42
|
-
|
43
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
|
44
|
-
|
45
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
|
46
|
-
|
47
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
|
48
|
-
|
49
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
|
50
|
-
|
51
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
|
52
|
-
|
53
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `each'
|
54
|
-
|
55
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `block in logical_paths'
|
56
|
-
|
57
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `each'
|
58
|
-
|
59
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `logical_paths'
|
60
|
-
|
61
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:140:in `find'
|
62
|
-
|
63
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:186:in `compile'
|
64
|
-
|
65
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/task.rb:67:in `block (3 levels) in define'
|
66
|
-
|
67
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/rake/sprocketstask.rb:147:in `with_logger'
|
68
|
-
|
69
|
-
remote: /tmp/build_530a75e2/vendor/bundle/ruby/2.6.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/task.rb:66:in `block (2 levels) in define'
|
70
|
-
|
71
|
-
remote: Tasks: TOP => assets:precompile
|
72
|
-
|
73
|
-
remote: (See full trace by running task with --trace)
|
74
|
-
|
75
|
-
remote:
|
76
|
-
|
77
|
-
remote: !
|
78
|
-
|
79
|
-
remote: ! Precompiling assets failed.
|
80
|
-
|
81
|
-
remote: !
|
82
|
-
|
83
|
-
remote: ! Push rejected, failed to compile Ruby app.
|
84
|
-
|
85
|
-
remote:
|
86
|
-
|
87
|
-
remote:
|
13
|
+
remote: (sass):25
|
88
|
-
|
89
|
-
remote: Verifying deploy...
|
90
|
-
|
91
|
-
remote:
|
92
|
-
|
93
|
-
remote: ! Push rejected to b-blog-36388.
|
94
|
-
|
95
|
-
remote:
|
96
|
-
|
97
|
-
To https://git.heroku.com/b-blog-36388.git
|
98
|
-
|
99
|
-
! [remote rejected] master -> master (pre-receive hook declined)
|
100
|
-
|
101
|
-
error: failed to push some refs to 'https://git.heroku.com/b-blog-36388.git'
|
102
|
-
|
103
|
-
yukahayuusatoru@TokonamugonoAir b_blog %
|
104
14
|
|
105
15
|
```
|
106
16
|
|
107
17
|
|
108
18
|
|
109
|
-
|
19
|
+
### エラー内容2
|
110
20
|
|
21
|
+
|
22
|
+
|
23
|
+
```
|
24
|
+
|
25
|
+
remote: Caused by:
|
26
|
+
|
27
|
+
remote: ArgumentError: wrong number of arguments (1 for 3)
|
28
|
+
|
29
|
+
remote: /tmp/build_899c147c/vendor/bundle/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/functions.rb:654:in `rgb'
|
30
|
+
|
31
|
+
```
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
### 仮説
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
今回、SyntaxErrorとArgumentErrorの二つがエラーの原因だと思います。
|
40
|
+
|
41
|
+
SyntaxErrorはどこかの文法が間違っているのだと思います(多分CSSの何処かだと思っているのですが...)
|
42
|
+
|
43
|
+
ArgumentErrorに関しては今調べている途中なのですが、あまり原因がわかっていません。
|
44
|
+
|
111
|
-
助けていただけると幸いです。
|
45
|
+
どなたか助けていただけると幸いです。
|