質問編集履歴
1
タグの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1 +1,151 @@
|
|
1
1
|
rubyにwebrickというサーバー起動ツールが、標準添付されているということで、コマンドプロンプトに、rails serverと打ち込んだのですが、いろいろ文字が出てきて、おそらく起動できませんでした。ブラウザにhttp://localhost:3000/と入力しても、何も表示されませんでしたので、どうすればサーバーを起動できますでしょうか。教えてください。
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
ruby 2.0.0p643 (2015-02-25) [i386-mingw32]
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
C:\Documents and Settings\demonstration>rails server
|
10
|
+
|
11
|
+
DL is deprecated, please use Fiddle
|
12
|
+
|
13
|
+
Usage:
|
14
|
+
|
15
|
+
rails new APP_PATH [options]
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
Options:
|
20
|
+
|
21
|
+
-r, [--ruby=PATH] # Path to the Ruby bina
|
22
|
+
|
23
|
+
ry of your choice
|
24
|
+
|
25
|
+
# Default: C:/Ruby200/b
|
26
|
+
|
27
|
+
in/ruby.exe
|
28
|
+
|
29
|
+
-m, [--template=TEMPLATE] # Path to some applicat
|
30
|
+
|
31
|
+
ion template (can be a filesystem path or URL)
|
32
|
+
|
33
|
+
[--skip-gemfile], [--no-skip-gemfile] # Don't create a Gemfil
|
34
|
+
|
35
|
+
e
|
36
|
+
|
37
|
+
-B, [--skip-bundle], [--no-skip-bundle] # Don't run bundle inst
|
38
|
+
|
39
|
+
all
|
40
|
+
|
41
|
+
-G, [--skip-git], [--no-skip-git] # Skip .gitignore file
|
42
|
+
|
43
|
+
[--skip-keeps], [--no-skip-keeps] # Skip source control .
|
44
|
+
|
45
|
+
keep files
|
46
|
+
|
47
|
+
-O, [--skip-active-record], [--no-skip-active-record] # Skip Active Record fi
|
48
|
+
|
49
|
+
les
|
50
|
+
|
51
|
+
-S, [--skip-sprockets], [--no-skip-sprockets] # Skip Sprockets files
|
52
|
+
|
53
|
+
[--skip-spring], [--no-skip-spring] # Don't install Spring
|
54
|
+
|
55
|
+
application preloader
|
56
|
+
|
57
|
+
-d, [--database=DATABASE] # Preconfigure for sele
|
58
|
+
|
59
|
+
cted database (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db/sqlserv
|
60
|
+
|
61
|
+
er/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc)
|
62
|
+
|
63
|
+
# Default: sqlite3
|
64
|
+
|
65
|
+
-j, [--javascript=JAVASCRIPT] # Preconfigure for sele
|
66
|
+
|
67
|
+
cted JavaScript library
|
68
|
+
|
69
|
+
# Default: jquery
|
70
|
+
|
71
|
+
-J, [--skip-javascript], [--no-skip-javascript] # Skip JavaScript files
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
[--dev], [--no-dev] # Setup the application
|
76
|
+
|
77
|
+
with Gemfile pointing to your Rails checkout
|
78
|
+
|
79
|
+
[--edge], [--no-edge] # Setup the application
|
80
|
+
|
81
|
+
with Gemfile pointing to Rails repository
|
82
|
+
|
83
|
+
[--skip-turbolinks], [--no-skip-turbolinks] # Skip turbolinks gem
|
84
|
+
|
85
|
+
-T, [--skip-test-unit], [--no-skip-test-unit] # Skip Test::Unit files
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
[--rc=RC] # Path to file containi
|
90
|
+
|
91
|
+
ng extra configuration options for rails command
|
92
|
+
|
93
|
+
[--no-rc], [--no-no-rc] # Skip loading of extra
|
94
|
+
|
95
|
+
configuration options from .railsrc file
|
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
|
+
|
119
|
+
Description:
|
120
|
+
|
121
|
+
The 'rails new' command creates a new Rails application with a default
|
122
|
+
|
123
|
+
directory structure and configuration at the path you specify.
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
You can specify extra command-line arguments to be used every time
|
128
|
+
|
129
|
+
'rails new' runs in the .railsrc configuration file in your home directory.
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
Note that the arguments specified in the .railsrc file don't affect the
|
134
|
+
|
135
|
+
defaults values shown above in this help message.
|
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
|
+
|
147
|
+
See the README in the newly created application to get going.
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
C:\Documents and Settings\demonstration>
|