teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

タグの追加

2015/03/18 12:42

投稿

tidavest
tidavest

スコア595

title CHANGED
File without changes
body CHANGED
@@ -1,1 +1,76 @@
1
- rubyにwebrickというサーバー起動ツールが、標準添付されているということで、コマンドプロンプトに、rails serverと打ち込んだのですが、いろいろ文字が出てきて、おそらく起動できませんでした。ブラウザにhttp://localhost:3000/と入力しても、何も表示されませんでしたので、どうすればサーバーを起動できますでしょうか。教えてください。
1
+ rubyにwebrickというサーバー起動ツールが、標準添付されているということで、コマンドプロンプトに、rails serverと打ち込んだのですが、いろいろ文字が出てきて、おそらく起動できませんでした。ブラウザにhttp://localhost:3000/と入力しても、何も表示されませんでしたので、どうすればサーバーを起動できますでしょうか。教えてください。
2
+
3
+ ruby 2.0.0p643 (2015-02-25) [i386-mingw32]
4
+
5
+ C:\Documents and Settings\demonstration>rails server
6
+ DL is deprecated, please use Fiddle
7
+ Usage:
8
+ rails new APP_PATH [options]
9
+
10
+ Options:
11
+ -r, [--ruby=PATH] # Path to the Ruby bina
12
+ ry of your choice
13
+ # Default: C:/Ruby200/b
14
+ in/ruby.exe
15
+ -m, [--template=TEMPLATE] # Path to some applicat
16
+ ion template (can be a filesystem path or URL)
17
+ [--skip-gemfile], [--no-skip-gemfile] # Don't create a Gemfil
18
+ e
19
+ -B, [--skip-bundle], [--no-skip-bundle] # Don't run bundle inst
20
+ all
21
+ -G, [--skip-git], [--no-skip-git] # Skip .gitignore file
22
+ [--skip-keeps], [--no-skip-keeps] # Skip source control .
23
+ keep files
24
+ -O, [--skip-active-record], [--no-skip-active-record] # Skip Active Record fi
25
+ les
26
+ -S, [--skip-sprockets], [--no-skip-sprockets] # Skip Sprockets files
27
+ [--skip-spring], [--no-skip-spring] # Don't install Spring
28
+ application preloader
29
+ -d, [--database=DATABASE] # Preconfigure for sele
30
+ cted database (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db/sqlserv
31
+ er/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc)
32
+ # Default: sqlite3
33
+ -j, [--javascript=JAVASCRIPT] # Preconfigure for sele
34
+ cted JavaScript library
35
+ # Default: jquery
36
+ -J, [--skip-javascript], [--no-skip-javascript] # Skip JavaScript files
37
+
38
+ [--dev], [--no-dev] # Setup the application
39
+ with Gemfile pointing to your Rails checkout
40
+ [--edge], [--no-edge] # Setup the application
41
+ with Gemfile pointing to Rails repository
42
+ [--skip-turbolinks], [--no-skip-turbolinks] # Skip turbolinks gem
43
+ -T, [--skip-test-unit], [--no-skip-test-unit] # Skip Test::Unit files
44
+
45
+ [--rc=RC] # Path to file containi
46
+ ng extra configuration options for rails command
47
+ [--no-rc], [--no-no-rc] # Skip loading of extra
48
+ configuration options from .railsrc file
49
+
50
+ Runtime options:
51
+ -f, [--force] # Overwrite files that already exist
52
+ -p, [--pretend], [--no-pretend] # Run but do not make any changes
53
+ -q, [--quiet], [--no-quiet] # Suppress status output
54
+ -s, [--skip], [--no-skip] # Skip files that already exist
55
+
56
+ Rails options:
57
+ -h, [--help], [--no-help] # Show this help message and quit
58
+ -v, [--version], [--no-version] # Show Rails version number and quit
59
+
60
+ Description:
61
+ The 'rails new' command creates a new Rails application with a default
62
+ directory structure and configuration at the path you specify.
63
+
64
+ You can specify extra command-line arguments to be used every time
65
+ 'rails new' runs in the .railsrc configuration file in your home directory.
66
+
67
+ Note that the arguments specified in the .railsrc file don't affect the
68
+ defaults values shown above in this help message.
69
+
70
+ Example:
71
+ rails new ~/Code/Ruby/weblog
72
+
73
+ This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
74
+ See the README in the newly created application to get going.
75
+
76
+ C:\Documents and Settings\demonstration>