質問編集履歴
4
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,171 +38,41 @@
|
|
38
38
|
|
39
39
|
**『rails server』**を実行した際のコードです。
|
40
40
|
|
41
|
-
|
41
|
+
|
42
42
|
|
43
43
|
|
44
44
|
|
45
45
|
```Rails
|
46
46
|
|
47
|
-
PS C:\Users\81907\ruby_book\lib
|
47
|
+
PS C:\Users\81907\ruby_book\lib> cd APP_PATH ed.
|
48
48
|
|
49
|
-
Usa
|
49
|
+
PS C:\Users\81907\ruby_book\lib\APP_PATH> rails s
|
50
50
|
|
51
|
+
=> Booting Puma
|
52
|
+
|
53
|
+
=> Rails 5.2.4.3 application starting in development
|
54
|
+
|
51
|
-
rails
|
55
|
+
=> Run `rails server -h` for more startup options
|
56
|
+
|
57
|
+
*** SIGUSR2 not implemented, signal based restart unavailable!
|
58
|
+
|
59
|
+
*** SIGUSR1 not implemented, signal based restart unavailable!
|
60
|
+
|
61
|
+
*** SIGHUP not implemented, signal based logs reopening unavailable!
|
62
|
+
|
63
|
+
Puma starting in single mode...
|
64
|
+
|
65
|
+
* Version 3.12.6 (ruby 2.6.6-p146), codename: Llamas in Pajamas
|
66
|
+
|
67
|
+
* Min threads: 5, max threads: 5
|
68
|
+
|
69
|
+
* Environment: development
|
70
|
+
|
71
|
+
* Listening on tcp://localhost:3000
|
72
|
+
|
73
|
+
Use Ctrl-C to stop
|
52
74
|
|
53
75
|
|
54
|
-
|
55
|
-
Options:
|
56
|
-
|
57
|
-
[--skip-namespace], [--no-skip-namespace] # Skip
|
58
|
-
|
59
|
-
namespace (affects only isolated applications)
|
60
|
-
|
61
|
-
-r, [--ruby=PATH] # Path
|
62
|
-
|
63
|
-
to the Ruby binary of your choice
|
64
|
-
|
65
|
-
# Default: C:/Ruby26-x64/bin/ruby.exe
|
66
|
-
|
67
|
-
-m, [--template=TEMPLATE] # Path
|
68
|
-
|
69
|
-
to some application template (can be a filesystem path or URL)
|
70
|
-
|
71
|
-
-d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/postgresql/sqlite3/oracle/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc)
|
72
|
-
|
73
|
-
# Default: sqlite3
|
74
|
-
|
75
|
-
[--skip-yarn], [--no-skip-yarn] # Don't use Yarn for managing JavaScript dependencies
|
76
|
-
|
77
|
-
[--skip-gemfile], [--no-skip-gemfile] # Don't create a Gemfile
|
78
|
-
|
79
|
-
-G, [--skip-git], [--no-skip-git] # Skip
|
80
|
-
|
81
|
-
.gitignore file
|
82
|
-
|
83
|
-
[--skip-keeps], [--no-skip-keeps] # Skip
|
84
|
-
|
85
|
-
source control .keep files
|
86
|
-
|
87
|
-
-M, [--skip-action-mailer], [--no-skip-action-mailer] # Skip
|
88
|
-
|
89
|
-
Action Mailer files
|
90
|
-
|
91
|
-
-O, [--skip-active-record], [--no-skip-active-record] # Skip
|
92
|
-
|
93
|
-
Active Record files
|
94
|
-
|
95
|
-
[--skip-active-storage], [--no-skip-active-storage] # Skip
|
96
|
-
|
97
|
-
Active Storage files
|
98
|
-
|
99
|
-
-P, [--skip-puma], [--no-skip-puma] # Skip
|
100
|
-
|
101
|
-
Puma related files
|
102
|
-
|
103
|
-
-C, [--skip-action-cable], [--no-skip-action-cable] # Skip
|
104
|
-
|
105
|
-
Action Cable files
|
106
|
-
|
107
|
-
-S, [--skip-sprockets], [--no-skip-sprockets] # Skip
|
108
|
-
|
109
|
-
Sprockets files
|
110
|
-
|
111
|
-
[--skip-spring], [--no-skip-spring] # Don't install Spring application preloader
|
112
|
-
|
113
|
-
[--skip-listen], [--no-skip-listen] # Don't generate configuration that depends on the listen gem
|
114
|
-
|
115
|
-
[--skip-coffee], [--no-skip-coffee] # Don't use CoffeeScript
|
116
|
-
|
117
|
-
-J, [--skip-javascript], [--no-skip-javascript] # Skip
|
118
|
-
|
119
|
-
JavaScript files
|
120
|
-
|
121
|
-
[--skip-turbolinks], [--no-skip-turbolinks] # Skip
|
122
|
-
|
123
|
-
turbolinks gem
|
124
|
-
|
125
|
-
-T, [--skip-test], [--no-skip-test] # Skip
|
126
|
-
|
127
|
-
test files
|
128
|
-
|
129
|
-
[--skip-system-test], [--no-skip-system-test] # Skip
|
130
|
-
|
131
|
-
system test files
|
132
|
-
|
133
|
-
[--skip-bootsnap], [--no-skip-bootsnap] # Skip
|
134
|
-
|
135
|
-
bootsnap gem
|
136
|
-
|
137
|
-
[--dev], [--no-dev] # Setup the application with Gemfile pointing to your Rails checkout
|
138
|
-
|
139
|
-
[--edge], [--no-edge] # Setup the application with Gemfile pointing to Rails repository
|
140
|
-
|
141
|
-
[--rc=RC] # Path
|
142
|
-
|
143
|
-
to file containing extra configuration options for rails command
|
144
|
-
|
145
|
-
[--no-rc], [--no-no-rc] # Skip
|
146
|
-
|
147
|
-
loading of extra configuration options from .railsrc file
|
148
|
-
|
149
|
-
[--api], [--no-api] # Preconfigure smaller stack for API only apps
|
150
|
-
|
151
|
-
-B, [--skip-bundle], [--no-skip-bundle] # Don't run bundle install
|
152
|
-
|
153
|
-
[--webpack=WEBPACK] # Preconfigure for app-like JavaScript with Webpack (options: react/vue/angular/elm/stimulus)
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
Runtime options:
|
158
|
-
|
159
|
-
exist exist
|
160
|
-
|
161
|
-
es es
|
162
|
-
|
163
|
-
-q, [--quiet], [--no-quiet] # Suppress status output
|
164
|
-
|
165
|
-
-s, [--skip], [--no-skip] # Skip files that already exist
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
Rails options: it
|
170
|
-
|
171
|
-
-h, [--help], [--no-help] # Show this help message and qu quitit
|
172
|
-
|
173
|
-
-v, [--version], [--no-version] # Show Rails version number and quit default
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
Description:
|
178
|
-
|
179
|
-
The 'rails new' command creates a new Rails application with atime default me directory.
|
180
|
-
|
181
|
-
directory structure and configuration at the path you specify. ffect the
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
You can specify extra command-line arguments to be used every
|
186
|
-
|
187
|
-
time
|
188
|
-
|
189
|
-
'rails new' runs in the .railsrc configuration file in your home directory.
|
190
|
-
|
191
|
-
blog.
|
192
|
-
|
193
|
-
Note that the arguments specified in the .railsrc file don't affect the
|
194
|
-
|
195
|
-
defaults values shown above in this help message.
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
Example:
|
200
|
-
|
201
|
-
rails new ~/Code/Ruby/weblog
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
|
206
76
|
|
207
77
|
```
|
208
78
|
|
3
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -215,3 +215,9 @@
|
|
215
215
|
|
216
216
|
|
217
217
|
---
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
お時間あるときにご返信いただければ嬉しいです。
|
222
|
+
|
223
|
+
では、失礼します。
|
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
+
2つ質問させて頂きたいです。
|
2
|
+
|
3
|
+
|
4
|
+
|
1
|
-
●**ローカル環境**でRailsを使いたい ➡ ```rails server```は必要なのか?
|
5
|
+
### ●**ローカル環境**でRailsを使いたい ➡ ```rails server```は必要なのか?
|
2
|
-
|
6
|
+
|
3
|
-
●```rails server```入力後の以下のコードでは、サーバは正常に起動できているのか?
|
7
|
+
### ●```rails server```入力後の以下のコードでは、サーバは正常に起動できているのか?
|
4
8
|
|
5
9
|
|
6
10
|
|
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|