質問編集履歴
4
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -18,89 +18,24 @@
|
|
18
18
|
---
|
19
19
|
以下、VS codeのターミナルにて
|
20
20
|
**『rails server』**を実行した際のコードです。
|
21
|
-
(※長々と申し訳ありません。)
|
22
21
|
|
22
|
+
|
23
23
|
```Rails
|
24
|
+
PS C:\Users\81907\ruby_book\lib> cd APP_PATH ed.
|
24
|
-
PS C:\Users\81907\ruby_book\lib\
|
25
|
+
PS C:\Users\81907\ruby_book\lib\APP_PATH> rails s
|
25
|
-
|
26
|
+
=> Booting Puma
|
27
|
+
=> Rails 5.2.4.3 application starting in development
|
26
|
-
|
28
|
+
=> Run `rails server -h` for more startup options
|
29
|
+
*** SIGUSR2 not implemented, signal based restart unavailable!
|
30
|
+
*** SIGUSR1 not implemented, signal based restart unavailable!
|
31
|
+
*** SIGHUP not implemented, signal based logs reopening unavailable!
|
32
|
+
Puma starting in single mode...
|
33
|
+
* Version 3.12.6 (ruby 2.6.6-p146), codename: Llamas in Pajamas
|
34
|
+
* Min threads: 5, max threads: 5
|
35
|
+
* Environment: development
|
36
|
+
* Listening on tcp://localhost:3000
|
37
|
+
Use Ctrl-C to stop
|
27
38
|
|
28
|
-
Options:
|
29
|
-
[--skip-namespace], [--no-skip-namespace] # Skip
|
30
|
-
namespace (affects only isolated applications)
|
31
|
-
-r, [--ruby=PATH] # Path
|
32
|
-
to the Ruby binary of your choice
|
33
|
-
# Default: C:/Ruby26-x64/bin/ruby.exe
|
34
|
-
-m, [--template=TEMPLATE] # Path
|
35
|
-
to some application template (can be a filesystem path or URL)
|
36
|
-
-d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/postgresql/sqlite3/oracle/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc)
|
37
|
-
# Default: sqlite3
|
38
|
-
[--skip-yarn], [--no-skip-yarn] # Don't use Yarn for managing JavaScript dependencies
|
39
|
-
[--skip-gemfile], [--no-skip-gemfile] # Don't create a Gemfile
|
40
|
-
-G, [--skip-git], [--no-skip-git] # Skip
|
41
|
-
.gitignore file
|
42
|
-
[--skip-keeps], [--no-skip-keeps] # Skip
|
43
|
-
source control .keep files
|
44
|
-
-M, [--skip-action-mailer], [--no-skip-action-mailer] # Skip
|
45
|
-
Action Mailer files
|
46
|
-
-O, [--skip-active-record], [--no-skip-active-record] # Skip
|
47
|
-
Active Record files
|
48
|
-
[--skip-active-storage], [--no-skip-active-storage] # Skip
|
49
|
-
Active Storage files
|
50
|
-
-P, [--skip-puma], [--no-skip-puma] # Skip
|
51
|
-
Puma related files
|
52
|
-
-C, [--skip-action-cable], [--no-skip-action-cable] # Skip
|
53
|
-
Action Cable files
|
54
|
-
-S, [--skip-sprockets], [--no-skip-sprockets] # Skip
|
55
|
-
Sprockets files
|
56
|
-
[--skip-spring], [--no-skip-spring] # Don't install Spring application preloader
|
57
|
-
[--skip-listen], [--no-skip-listen] # Don't generate configuration that depends on the listen gem
|
58
|
-
[--skip-coffee], [--no-skip-coffee] # Don't use CoffeeScript
|
59
|
-
-J, [--skip-javascript], [--no-skip-javascript] # Skip
|
60
|
-
JavaScript files
|
61
|
-
[--skip-turbolinks], [--no-skip-turbolinks] # Skip
|
62
|
-
turbolinks gem
|
63
|
-
-T, [--skip-test], [--no-skip-test] # Skip
|
64
|
-
test files
|
65
|
-
[--skip-system-test], [--no-skip-system-test] # Skip
|
66
|
-
system test files
|
67
|
-
[--skip-bootsnap], [--no-skip-bootsnap] # Skip
|
68
|
-
bootsnap gem
|
69
|
-
[--dev], [--no-dev] # Setup the application with Gemfile pointing to your Rails checkout
|
70
|
-
[--edge], [--no-edge] # Setup the application with Gemfile pointing to Rails repository
|
71
|
-
[--rc=RC] # Path
|
72
|
-
to file containing extra configuration options for rails command
|
73
|
-
[--no-rc], [--no-no-rc] # Skip
|
74
|
-
loading of extra configuration options from .railsrc file
|
75
|
-
[--api], [--no-api] # Preconfigure smaller stack for API only apps
|
76
|
-
-B, [--skip-bundle], [--no-skip-bundle] # Don't run bundle install
|
77
|
-
[--webpack=WEBPACK] # Preconfigure for app-like JavaScript with Webpack (options: react/vue/angular/elm/stimulus)
|
78
|
-
|
79
|
-
Runtime options:
|
80
|
-
exist exist
|
81
|
-
es es
|
82
|
-
-q, [--quiet], [--no-quiet] # Suppress status output
|
83
|
-
-s, [--skip], [--no-skip] # Skip files that already exist
|
84
|
-
|
85
|
-
Rails options: it
|
86
|
-
-h, [--help], [--no-help] # Show this help message and qu quitit
|
87
|
-
-v, [--version], [--no-version] # Show Rails version number and quit default
|
88
|
-
|
89
|
-
Description:
|
90
|
-
The 'rails new' command creates a new Rails application with atime default me directory.
|
91
|
-
directory structure and configuration at the path you specify. ffect the
|
92
|
-
|
93
|
-
You can specify extra command-line arguments to be used every
|
94
|
-
time
|
95
|
-
'rails new' runs in the .railsrc configuration file in your home directory.
|
96
|
-
blog.
|
97
|
-
Note that the arguments specified in the .railsrc file don't affect the
|
98
|
-
defaults values shown above in this help message.
|
99
|
-
|
100
|
-
Example:
|
101
|
-
rails new ~/Code/Ruby/weblog
|
102
|
-
|
103
|
-
This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
|
104
39
|
```
|
105
40
|
|
106
41
|
|
3
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -106,4 +106,7 @@
|
|
106
106
|
|
107
107
|
|
108
108
|
|
109
|
-
---
|
109
|
+
---
|
110
|
+
|
111
|
+
お時間あるときにご返信いただければ嬉しいです。
|
112
|
+
では、失礼します。
|
2
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
●**ローカル環境**でRailsを使いたい ➡ ```rails server```は必要なのか?
|
2
|
-
|
1
|
+
2つ質問させて頂きたいです。
|
3
2
|
|
3
|
+
### ●**ローカル環境**でRailsを使いたい ➡ ```rails server```は必要なのか?
|
4
|
+
### ●```rails server```入力後の以下のコードでは、サーバは正常に起動できているのか?
|
5
|
+
|
4
6
|
---
|
5
7
|
|
6
8
|
|
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|