質問編集履歴
1
現状の情報を追加しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,6 +4,12 @@
|
|
4
4
|
|
5
5
|
しかし、GitHubにアプリをコミットしようとすると、**Argument list too long**とエラーが生じます。
|
6
6
|
|
7
|
+
```実際のコマンド
|
8
|
+
$ git commit -m "add-bundle"
|
9
|
+
|
10
|
+
/usr/local/Cellar/git/2.26.1_1/libexec/git-core/git: Argument list too long
|
11
|
+
```
|
12
|
+
|
7
13
|
恐らく、commitしようとしているファイル数が多くこのようなエラーが発生していると思うのですが、
|
8
14
|
解決方法がわかりません。
|
9
15
|
|
@@ -15,8 +21,299 @@
|
|
15
21
|
bundle install --path vendor/cache
|
16
22
|
```
|
17
23
|
でgemをインストールし直しました。(大量のgem関連のファイルが生成されました)
|
24
|
+
なお、実行後はローカル環境で無事にrailsが動くようになりました。
|
18
25
|
|
19
|
-
|
26
|
+
ターミナルで表示されていたコードは以下のとおりです。
|
27
|
+
```
|
28
|
+
$ bundle install --path vendor/cache
|
29
|
+
|
30
|
+
[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path 'vendor/cache'`, and stop using this flag
|
31
|
+
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`.
|
32
|
+
Fetching gem metadata from https://rubygems.org/............
|
33
|
+
Fetching gem metadata from https://rubygems.org/.
|
34
|
+
Resolving dependencies...
|
35
|
+
Fetching rake 13.0.1
|
36
|
+
Installing rake 13.0.1
|
37
|
+
Fetching concurrent-ruby 1.1.6
|
38
|
+
Installing concurrent-ruby 1.1.6
|
39
|
+
Fetching i18n 1.8.2
|
40
|
+
Installing i18n 1.8.2
|
41
|
+
Fetching minitest 5.14.1
|
42
|
+
Installing minitest 5.14.1
|
43
|
+
Fetching thread_safe 0.3.6
|
44
|
+
Installing thread_safe 0.3.6
|
45
|
+
Fetching tzinfo 1.2.7
|
46
|
+
Installing tzinfo 1.2.7
|
47
|
+
Fetching activesupport 5.0.7.2
|
48
|
+
Installing activesupport 5.0.7.2
|
49
|
+
Fetching builder 3.2.4
|
50
|
+
Installing builder 3.2.4
|
51
|
+
Fetching erubis 2.7.0
|
52
|
+
Installing erubis 2.7.0
|
53
|
+
Fetching mini_portile2 2.4.0
|
54
|
+
Installing mini_portile2 2.4.0
|
55
|
+
Fetching nokogiri 1.10.9
|
56
|
+
Installing nokogiri 1.10.9 with native extensions
|
57
|
+
Fetching rails-dom-testing 2.0.3
|
58
|
+
Installing rails-dom-testing 2.0.3
|
59
|
+
Fetching crass 1.0.6
|
60
|
+
Installing crass 1.0.6
|
61
|
+
Fetching loofah 2.5.0
|
62
|
+
Installing loofah 2.5.0
|
63
|
+
Fetching rails-html-sanitizer 1.3.0
|
64
|
+
Installing rails-html-sanitizer 1.3.0
|
65
|
+
Fetching actionview 5.0.7.2
|
66
|
+
Installing actionview 5.0.7.2
|
67
|
+
Fetching rack 2.2.2
|
68
|
+
Installing rack 2.2.2
|
69
|
+
Fetching rack-test 0.6.3
|
70
|
+
Installing rack-test 0.6.3
|
71
|
+
Fetching actionpack 5.0.7.2
|
72
|
+
Installing actionpack 5.0.7.2
|
73
|
+
Fetching nio4r 2.5.2
|
74
|
+
Installing nio4r 2.5.2 with native extensions
|
75
|
+
Fetching websocket-extensions 0.1.4
|
76
|
+
Installing websocket-extensions 0.1.4
|
77
|
+
Fetching websocket-driver 0.6.5
|
78
|
+
Installing websocket-driver 0.6.5 with native extensions
|
79
|
+
Fetching actioncable 5.0.7.2
|
80
|
+
Installing actioncable 5.0.7.2
|
81
|
+
Fetching globalid 0.4.2
|
82
|
+
Installing globalid 0.4.2
|
83
|
+
Fetching activejob 5.0.7.2
|
84
|
+
Installing activejob 5.0.7.2
|
85
|
+
Fetching mini_mime 1.0.2
|
86
|
+
Installing mini_mime 1.0.2
|
87
|
+
Fetching mail 2.7.1
|
88
|
+
Installing mail 2.7.1
|
89
|
+
Fetching actionmailer 5.0.7.2
|
90
|
+
Installing actionmailer 5.0.7.2
|
91
|
+
Fetching activemodel 5.0.7.2
|
92
|
+
Installing activemodel 5.0.7.2
|
93
|
+
Fetching arel 7.1.4
|
94
|
+
Installing arel 7.1.4
|
95
|
+
Fetching activerecord 5.0.7.2
|
96
|
+
Installing activerecord 5.0.7.2
|
97
|
+
Fetching public_suffix 4.0.5
|
98
|
+
Installing public_suffix 4.0.5
|
99
|
+
Fetching addressable 2.7.0
|
100
|
+
Installing addressable 2.7.0
|
101
|
+
Fetching bcrypt 3.1.13
|
102
|
+
Installing bcrypt 3.1.13 with native extensions
|
103
|
+
Fetching bindex 0.8.1
|
104
|
+
Installing bindex 0.8.1 with native extensions
|
105
|
+
Using bundler 2.1.4
|
106
|
+
Fetching byebug 11.1.3
|
107
|
+
Installing byebug 11.1.3 with native extensions
|
108
|
+
Fetching mini_magick 4.10.1
|
109
|
+
Installing mini_magick 4.10.1
|
110
|
+
Fetching ffi 1.12.2
|
111
|
+
Installing ffi 1.12.2 with native extensions
|
112
|
+
Fetching ruby-vips 2.0.17
|
113
|
+
Installing ruby-vips 2.0.17
|
114
|
+
Fetching image_processing 1.10.3
|
115
|
+
Installing image_processing 1.10.3
|
116
|
+
Fetching mimemagic 0.3.5
|
117
|
+
Installing mimemagic 0.3.5
|
118
|
+
Fetching carrierwave 2.1.0
|
119
|
+
Installing carrierwave 2.1.0
|
120
|
+
Fetching coderay 1.1.2
|
121
|
+
Installing coderay 1.1.2
|
122
|
+
Fetching coffee-script-source 1.12.2
|
123
|
+
Installing coffee-script-source 1.12.2
|
124
|
+
Fetching execjs 2.7.0
|
125
|
+
Installing execjs 2.7.0
|
126
|
+
Fetching coffee-script 2.4.1
|
127
|
+
Installing coffee-script 2.4.1
|
128
|
+
Fetching method_source 1.0.0
|
129
|
+
Installing method_source 1.0.0
|
130
|
+
Fetching thor 1.0.1
|
131
|
+
Installing thor 1.0.1
|
132
|
+
Fetching railties 5.0.7.2
|
133
|
+
Installing railties 5.0.7.2
|
134
|
+
Fetching coffee-rails 4.2.2
|
135
|
+
Installing coffee-rails 4.2.2
|
136
|
+
Fetching orm_adapter 0.5.0
|
137
|
+
Installing orm_adapter 0.5.0
|
138
|
+
Fetching responders 3.0.0
|
139
|
+
Installing responders 3.0.0
|
140
|
+
Fetching warden 1.2.8
|
141
|
+
Installing warden 1.2.8
|
142
|
+
Fetching devise 4.7.1
|
143
|
+
Installing devise 4.7.1
|
144
|
+
Fetching sassc 2.3.0
|
145
|
+
Installing sassc 2.3.0 with native extensions
|
146
|
+
Fetching font-awesome-sass 5.4.1
|
147
|
+
Installing font-awesome-sass 5.4.1
|
148
|
+
Fetching temple 0.8.2
|
149
|
+
Installing temple 0.8.2
|
150
|
+
Fetching tilt 2.0.10
|
151
|
+
Installing tilt 2.0.10
|
152
|
+
Fetching haml 5.1.2
|
153
|
+
Installing haml 5.1.2
|
154
|
+
Fetching sexp_processor 4.14.1
|
155
|
+
Installing sexp_processor 4.14.1
|
156
|
+
Fetching ruby_parser 3.14.2
|
157
|
+
Installing ruby_parser 3.14.2
|
158
|
+
Fetching html2haml 2.2.0
|
159
|
+
Installing html2haml 2.2.0
|
160
|
+
Fetching haml-rails 1.0.0
|
161
|
+
Installing haml-rails 1.0.0
|
162
|
+
Fetching jbuilder 2.10.0
|
163
|
+
Installing jbuilder 2.10.0
|
164
|
+
Fetching jquery-rails 4.4.0
|
165
|
+
Installing jquery-rails 4.4.0
|
166
|
+
Fetching rb-fsevent 0.10.4
|
167
|
+
Installing rb-fsevent 0.10.4
|
168
|
+
Fetching rb-inotify 0.10.1
|
169
|
+
Installing rb-inotify 0.10.1
|
170
|
+
Fetching listen 3.0.8
|
171
|
+
Installing listen 3.0.8
|
172
|
+
Fetching mysql2 0.5.3
|
173
|
+
Installing mysql2 0.5.3 with native extensions
|
174
|
+
Fetching pry 0.13.1
|
175
|
+
Installing pry 0.13.1
|
176
|
+
Fetching pry-rails 0.3.9
|
177
|
+
Installing pry-rails 0.3.9
|
178
|
+
Fetching puma 3.12.4
|
179
|
+
Installing puma 3.12.4 with native extensions
|
180
|
+
Fetching sprockets 3.7.2
|
181
|
+
Installing sprockets 3.7.2
|
182
|
+
Fetching sprockets-rails 3.2.1
|
183
|
+
Installing sprockets-rails 3.2.1
|
184
|
+
Fetching rails 5.0.7.2
|
185
|
+
Installing rails 5.0.7.2
|
186
|
+
Fetching sass-listen 4.0.0
|
187
|
+
Installing sass-listen 4.0.0
|
188
|
+
Fetching sass 3.7.4
|
189
|
+
Installing sass 3.7.4
|
190
|
+
Fetching sass-rails 5.0.7
|
191
|
+
Installing sass-rails 5.0.7
|
192
|
+
Fetching spring 2.1.0
|
193
|
+
Installing spring 2.1.0
|
194
|
+
Fetching spring-watcher-listen 2.0.1
|
195
|
+
Installing spring-watcher-listen 2.0.1
|
196
|
+
Fetching uglifier 4.2.0
|
197
|
+
Installing uglifier 4.2.0
|
198
|
+
Fetching web-console 3.7.0
|
199
|
+
Installing web-console 3.7.0
|
200
|
+
Updating files in vendor/cache
|
201
|
+
* rake-13.0.1.gem
|
202
|
+
* concurrent-ruby-1.1.6.gem
|
203
|
+
* i18n-1.8.2.gem
|
204
|
+
* minitest-5.14.1.gem
|
205
|
+
* thread_safe-0.3.6.gem
|
206
|
+
* tzinfo-1.2.7.gem
|
207
|
+
* activesupport-5.0.7.2.gem
|
208
|
+
* builder-3.2.4.gem
|
209
|
+
* erubis-2.7.0.gem
|
210
|
+
* mini_portile2-2.4.0.gem
|
211
|
+
* nokogiri-1.10.9.gem
|
212
|
+
* rails-dom-testing-2.0.3.gem
|
213
|
+
* crass-1.0.6.gem
|
214
|
+
* loofah-2.5.0.gem
|
215
|
+
* rails-html-sanitizer-1.3.0.gem
|
216
|
+
* actionview-5.0.7.2.gem
|
217
|
+
* rack-2.2.2.gem
|
218
|
+
* rack-test-0.6.3.gem
|
219
|
+
* actionpack-5.0.7.2.gem
|
220
|
+
* nio4r-2.5.2.gem
|
221
|
+
* websocket-extensions-0.1.4.gem
|
222
|
+
* websocket-driver-0.6.5.gem
|
223
|
+
* actioncable-5.0.7.2.gem
|
224
|
+
* globalid-0.4.2.gem
|
225
|
+
* activejob-5.0.7.2.gem
|
226
|
+
* mini_mime-1.0.2.gem
|
227
|
+
* mail-2.7.1.gem
|
228
|
+
* actionmailer-5.0.7.2.gem
|
229
|
+
* activemodel-5.0.7.2.gem
|
230
|
+
* arel-7.1.4.gem
|
231
|
+
* activerecord-5.0.7.2.gem
|
232
|
+
* public_suffix-4.0.5.gem
|
233
|
+
* addressable-2.7.0.gem
|
234
|
+
* bcrypt-3.1.13.gem
|
235
|
+
* bindex-0.8.1.gem
|
236
|
+
* byebug-11.1.3.gem
|
237
|
+
* mini_magick-4.10.1.gem
|
238
|
+
* ffi-1.12.2.gem
|
239
|
+
* ruby-vips-2.0.17.gem
|
240
|
+
* image_processing-1.10.3.gem
|
241
|
+
* mimemagic-0.3.5.gem
|
242
|
+
* carrierwave-2.1.0.gem
|
243
|
+
* coderay-1.1.2.gem
|
244
|
+
* coffee-script-source-1.12.2.gem
|
245
|
+
* execjs-2.7.0.gem
|
246
|
+
* coffee-script-2.4.1.gem
|
247
|
+
* method_source-1.0.0.gem
|
248
|
+
* thor-1.0.1.gem
|
249
|
+
* railties-5.0.7.2.gem
|
250
|
+
* coffee-rails-4.2.2.gem
|
251
|
+
* orm_adapter-0.5.0.gem
|
252
|
+
* responders-3.0.0.gem
|
253
|
+
* warden-1.2.8.gem
|
254
|
+
* devise-4.7.1.gem
|
255
|
+
* sassc-2.3.0.gem
|
256
|
+
* font-awesome-sass-5.4.1.gem
|
257
|
+
* temple-0.8.2.gem
|
258
|
+
* tilt-2.0.10.gem
|
259
|
+
* haml-5.1.2.gem
|
260
|
+
* sexp_processor-4.14.1.gem
|
261
|
+
* ruby_parser-3.14.2.gem
|
262
|
+
* html2haml-2.2.0.gem
|
263
|
+
* haml-rails-1.0.0.gem
|
264
|
+
* jbuilder-2.10.0.gem
|
265
|
+
* jquery-rails-4.4.0.gem
|
266
|
+
* rb-fsevent-0.10.4.gem
|
267
|
+
* rb-inotify-0.10.1.gem
|
268
|
+
* listen-3.0.8.gem
|
269
|
+
* mysql2-0.5.3.gem
|
270
|
+
* pry-0.13.1.gem
|
271
|
+
* pry-rails-0.3.9.gem
|
272
|
+
* puma-3.12.4.gem
|
273
|
+
* sprockets-3.7.2.gem
|
274
|
+
* sprockets-rails-3.2.1.gem
|
275
|
+
* rails-5.0.7.2.gem
|
276
|
+
* sass-listen-4.0.0.gem
|
277
|
+
* sass-3.7.4.gem
|
278
|
+
* sass-rails-5.0.7.gem
|
279
|
+
* spring-2.1.0.gem
|
280
|
+
* spring-watcher-listen-2.0.1.gem
|
281
|
+
* uglifier-4.2.0.gem
|
282
|
+
* web-console-3.7.0.gem
|
283
|
+
Bundle complete! 20 Gemfile dependencies, 83 gems now installed.
|
284
|
+
Bundled gems are installed into `./vendor/cache`
|
285
|
+
Post-install message from i18n:
|
286
|
+
|
287
|
+
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
|
288
|
+
But that may break your application.
|
289
|
+
|
290
|
+
If you are upgrading your Rails application from an older version of Rails:
|
291
|
+
|
292
|
+
Please check your Rails app for 'config.i18n.fallbacks = true'.
|
293
|
+
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
|
294
|
+
'config.i18n.fallbacks = [I18n.default_locale]'.
|
295
|
+
If not, fallbacks will be broken in your app by I18n 1.1.x.
|
296
|
+
|
297
|
+
If you are starting a NEW Rails application, you can ignore this notice.
|
298
|
+
|
299
|
+
For more info see:
|
300
|
+
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
|
301
|
+
|
302
|
+
Post-install message from sass:
|
303
|
+
|
304
|
+
Ruby Sass has reached end-of-life and should no longer be used.
|
305
|
+
|
306
|
+
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
|
307
|
+
primary implementation: https://sass-lang.com/install
|
308
|
+
|
309
|
+
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
|
310
|
+
sassc gem: https://github.com/sass/sassc-ruby#readme
|
311
|
+
|
312
|
+
* For more details, please refer to the Sass blog:
|
313
|
+
https://sass-lang.com/blog/posts/7828841
|
314
|
+
|
315
|
+
```
|
316
|
+
|
20
317
|
# 経緯
|
21
318
|
個人で作成したアプリをherokuでデプロイしようとしたのですが、
|
22
319
|
rubyのバージョンを上げるようにエラーが出て、現在に至ります。
|