コマンド
rails s
を実行すると下記の内容が表示されます。
ruby
1$ rails s 2Usage: 3 rails new APP_PATH [options] 4 5Options: 6 -r, [--ruby=PATH] # Path to the Ruby binary of your choice 7 # Default: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby 8 -b, [--builder=BUILDER] # Path to a application builder (can be a filesystem path or URL) 9 -m, [--template=TEMPLATE] # Path to an application template (can be a filesystem path or URL) 10 [--skip-gemfile], [--no-skip-gemfile] # Don't create a Gemfile 11 [--skip-bundle], [--no-skip-bundle] # Don't run bundle install 12 -G, [--skip-git], [--no-skip-git] # Skip Git ignores and keeps 13 -O, [--skip-active-record], [--no-skip-active-record] # Skip Active Record files 14 -S, [--skip-sprockets], [--no-skip-sprockets] # Skip Sprockets files 15 -d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc) 16 # Default: sqlite3 17 -j, [--javascript=JAVASCRIPT] # Preconfigure for selected JavaScript library 18 # Default: jquery 19 -J, [--skip-javascript], [--no-skip-javascript] # Skip JavaScript files 20 [--dev], [--no-dev] # Setup the application with Gemfile pointing to your Rails checkout 21 [--edge], [--no-edge] # Setup the application with Gemfile pointing to Rails repository 22 -T, [--skip-test-unit], [--no-skip-test-unit] # Skip Test::Unit files 23 [--old-style-hash], [--no-old-style-hash] # Force using old style hash (:foo => 'bar') on Ruby >= 1.9 24 25Runtime options: 26 -f, [--force] # Overwrite files that already exist 27 -p, [--pretend], [--no-pretend] # Run but do not make any changes 28 -q, [--quiet], [--no-quiet] # Suppress status output 29 -s, [--skip], [--no-skip] # Skip files that already exist 30 31Rails options: 32 -h, [--help], [--no-help] # Show this help message and quit 33 -v, [--version], [--no-version] # Show Rails version number and quit 34 35Description: 36 The 'rails new' command creates a new Rails application with a default 37 directory structure and configuration at the path you specify. 38 39 You can specify extra command-line arguments to be used every time 40 'rails new' runs in the .railsrc configuration file in your home directory. 41 42 Note that the arguments specified in the .railsrc file don't affect the 43 defaults values shown above in this help message. 44 45Example: 46 rails new ~/Code/Ruby/weblog 47 48 This generates a skeletal Rails installation in ~/Code/Ruby/weblog. 49 See the README in the newly created application to get going.
ブラウザで下記アドレスを入力してもデフォルトの画面が表示されない状況です。
http://localhost:3000
初歩的な内容で恐縮ですが、解決方法をご教示いただけますでしょうか。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/08/22 09:57