質問編集履歴

2

「補足情報」の追加

2020/02/06 04:43

投稿

hondanaoya
hondanaoya

スコア4

test CHANGED
@@ -1 +1 @@
1
- railsサーバーが起動しません。
1
+ Ruby on rails環境構築時 Railsサーバーが起動しません。
test CHANGED
@@ -166,6 +166,10 @@
166
166
 
167
167
  ### 補足情報(FW/ツールのバージョンなど)
168
168
 
169
+ os:windows10
169
170
 
171
+ ruby:2.5.1p57
170
172
 
171
- ここにより詳細な情報を記載してください。
173
+ rails:5.2.3
174
+
175
+ 構築はPROGATEのhttps://prog-8.com/docs/rails-env-winのページを元に作成しました。

1

「ソースコード」の全体表示と、「試したこと」の追加

2020/02/06 04:42

投稿

hondanaoya
hondanaoya

スコア4

test CHANGED
File without changes
test CHANGED
@@ -24,6 +24,98 @@
24
24
 
25
25
  ```ここに言語名を入力
26
26
 
27
+ Usage:
28
+
29
+ rails new APP_PATH [options]
30
+
31
+
32
+
33
+ Options:
34
+
35
+ [--skip-namespace], [--no-skip-namespace] # Skip namespace (affects only isolated applications)
36
+
37
+ -r, [--ruby=PATH] # Path to the Ruby binary of your choice
38
+
39
+ # Default: C:/Ruby25-x64/bin/ruby.exe
40
+
41
+ -m, [--template=TEMPLATE] # Path to some application template (can be a filesystem path or URL)
42
+
43
+ -d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/postgresql/sqlite3/oracle/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc)
44
+
45
+ # Default: sqlite3
46
+
47
+ [--skip-yarn], [--no-skip-yarn] # Don't use Yarn for managing JavaScript dependencies
48
+
49
+ [--skip-gemfile], [--no-skip-gemfile] # Don't create a Gemfile
50
+
51
+ -G, [--skip-git], [--no-skip-git] # Skip .gitignore file
52
+
53
+ [--skip-keeps], [--no-skip-keeps] # Skip source control .keep files
54
+
55
+ -M, [--skip-action-mailer], [--no-skip-action-mailer] # Skip Action Mailer files
56
+
57
+ -O, [--skip-active-record], [--no-skip-active-record] # Skip Active Record files
58
+
59
+ [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files
60
+
61
+ -P, [--skip-puma], [--no-skip-puma] # Skip Puma related files
62
+
63
+ -C, [--skip-action-cable], [--no-skip-action-cable] # Skip Action Cable files
64
+
65
+ -S, [--skip-sprockets], [--no-skip-sprockets] # Skip Sprockets files
66
+
67
+ [--skip-spring], [--no-skip-spring] # Don't install Spring application preloader
68
+
69
+ [--skip-listen], [--no-skip-listen] # Don't generate configuration that depends on the listen gem
70
+
71
+ [--skip-coffee], [--no-skip-coffee] # Don't use CoffeeScript
72
+
73
+ -J, [--skip-javascript], [--no-skip-javascript] # Skip JavaScript files
74
+
75
+ [--skip-turbolinks], [--no-skip-turbolinks] # Skip turbolinks gem
76
+
77
+ -T, [--skip-test], [--no-skip-test] # Skip test files
78
+
79
+ [--skip-system-test], [--no-skip-system-test] # Skip system test files
80
+
81
+ [--skip-bootsnap], [--no-skip-bootsnap] # Skip bootsnap gem
82
+
83
+ [--dev], [--no-dev] # Setup the application with Gemfile pointing to your Rails checkout
84
+
85
+ [--edge], [--no-edge] # Setup the application with Gemfile pointing to Rails repository
86
+
87
+ [--rc=RC] # Path to file containing extra configuration options for rails command
88
+
89
+ [--no-rc], [--no-no-rc] # Skip loading of extra configuration options from .railsrc file
90
+
91
+ [--api], [--no-api] # Preconfigure smaller stack for API only apps
92
+
93
+ -B, [--skip-bundle], [--no-skip-bundle] # Don't run bundle install
94
+
95
+ [--webpack=WEBPACK] # Preconfigure for app-like JavaScript with Webpack (options: react/vue/angular/elm/stimulus)
96
+
97
+
98
+
99
+ Runtime options:
100
+
101
+ -f, [--force] # Overwrite files that already exist
102
+
103
+ -p, [--pretend], [--no-pretend] # Run but do not make any changes
104
+
105
+ -q, [--quiet], [--no-quiet] # Suppress status output
106
+
107
+ -s, [--skip], [--no-skip] # Skip files that already exist
108
+
109
+
110
+
111
+ Rails options:
112
+
113
+ -h, [--help], [--no-help] # Show this help message and quit
114
+
115
+ -v, [--version], [--no-version] # Show Rails version number and quit
116
+
117
+
118
+
27
119
  Description:
28
120
 
29
121
  The 'rails new' command creates a new Rails application with a default
@@ -42,17 +134,33 @@
42
134
 
43
135
  defaults values shown above in this help message.
44
136
 
137
+
138
+
139
+ Example:
140
+
141
+ rails new ~/Code/Ruby/weblog
142
+
143
+
144
+
145
+ This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
146
+
45
147
  ```
46
148
 
47
149
 
48
150
 
49
151
  ### 試したこと
50
152
 
51
- rails new app
153
+ rails new sample_app
52
154
 
53
- cd rails newによる移動、
155
+ cd sample_appによるディレクトリの移動の後rails sでサーバーの移動を試み
54
156
 
157
+ その後、localhost:3000を開こうとしましたが、開かない状況です。
158
+
55
- bundle インストールなどは試しました。
159
+ bundle installなどは試しましたがそれでも状況は改善しません
160
+
161
+
162
+
163
+
56
164
 
57
165
 
58
166