質問編集履歴

2

コマンドプロンプトエラ-内容テキスト

2022/12/26 06:34

投稿

y.minami
y.minami

スコア2

test CHANGED
File without changes
test CHANGED
@@ -18,3 +18,54 @@
18
18
  ***何を参考にしたか***
19
19
  以下のチュートリアルをベースに学習を進めています。
20
20
  JavaDrive 「Ruby on Rails入門 ~ アプリケーションの作成から実行までの手順」(著者:TATSUO IKURA)
21
+
22
+ ***コマンドプロンプトエラ-内容テキスト***
23
+ Microsoft Windows [Version 10.0.22000.1335]
24
+ (c) Microsoft Corporation. All rights reserved.
25
+
26
+ C:\windows\system32>cd C:\Ruby31-x64
27
+
28
+ C:\Ruby31-x64>rails new books
29
+ create
30
+ create README.md
31
+ create Rakefile
32
+ create .ruby-version
33
+ create config.ru
34
+ create .gitignore
35
+ create .gitattributes
36
+ create Gemfile
37
+ run git init from "."
38
+ C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4/lib/rails/generators/rails/app/app_generator.rb:258:in ``': No such file or directory - git config init.defaultbranch (Errno::ENOENT)
39
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4/lib/rails/generators/rails/app/app_generator.rb:258:in `user_default_branch'
40
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4/lib/rails/generators/rails/app/app_generator.rb:76:in `version_control'
41
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4/lib/rails/generators/app_base.rb:134:in `public_send'
42
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4/lib/rails/generators/app_base.rb:134:in `build'
43
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4/lib/rails/generators/rails/app/app_generator.rb:328:in `create_root_files'
44
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
45
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
46
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:134:in `block in invoke_all'
47
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:134:in `each'
48
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:134:in `map'
49
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:134:in `invoke_all'
50
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/group.rb:232:in `dispatch'
51
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
52
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4/lib/rails/commands/application/application_command.rb:26:in `perform'
53
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
54
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
55
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
56
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4/lib/rails/command/base.rb:87:in `perform'
57
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4/lib/rails/command.rb:48:in `invoke'
58
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4/lib/rails/cli.rb:18:in `<top (required)>'
59
+ from <internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
60
+ from <internal:C:/Ruby31-x64/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
61
+ from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/railties-7.0.4/exe/rails:10:in `<top (required)>'
62
+ from C:/Ruby31-x64/bin/rails:32:in `load'
63
+ from C:/Ruby31-x64/bin/rails:32:in `<main>'
64
+
65
+
66
+ C:\Ruby31-x64>
67
+
68
+
69
+
70
+
71
+

1

「何を参考にしたか」について

2022/12/26 06:01

投稿

y.minami
y.minami

スコア2

test CHANGED
File without changes
test CHANGED
@@ -15,5 +15,6 @@
15
15
 
16
16
  よろしくお願いします。![イメージ説明](https://ddjkaamml8q8x.cloudfront.net/questions/2022-12-26/0c53ffcc-df3d-4b6f-a979-0a167100bce4.png)
17
17
 
18
-
18
+ ***何を参考にしたか***
19
-
19
+ 以下のチュートリアルをベースに学習を進めています。
20
+ JavaDrive 「Ruby on Rails入門 ~ アプリケーションの作成から実行までの手順」(著者:TATSUO IKURA)