###前提・実現したいこと
rails s -b 0.0.0.0
上記を実行したところ下記のようなエラーが出ました。
###発生している問題・エラーメッセージ
Usage: rails new APP_PATH [options] Options: -r, [--ruby=PATH] # Path to the Ruby binchoice # Default: /home/vagrarsions/2.2.5/bin/ruby -m, [--template=TEMPLATE] # Path to some applicae (can be a filesystem path or URL) [--skip-gemfile], [--no-skip-gemfile] # Don't create a Gemfi -B, [--skip-bundle], [--no-skip-bundle] # Don't run bundle ins -G, [--skip-git], [--no-skip-git] # Skip .gitignore file [--skip-keeps], [--no-skip-keeps] # Skip source control -O, [--skip-active-record], [--no-skip-active-record] # Skip Active Record f -S, [--skip-sprockets], [--no-skip-sprockets] # Skip Sprockets files [--skip-spring], [--no-skip-spring] # Don't install Spring preloader -d, [--database=DATABASE] # Preconfigure for selse (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db/sqlserver/jdbcmyse3/jdbcpostgresql/jdbc) # Default: sqlite3 -j, [--javascript=JAVASCRIPT] # Preconfigure for selript library # Default: jquery -J, [--skip-javascript], [--no-skip-javascript] # Skip JavaScript file [--dev], [--no-dev] # Setup the applicatiole pointing to your Rails checkout [--edge], [--no-edge] # Setup the applicatiole pointing to Rails repository [--skip-turbolinks], [--no-skip-turbolinks] # Skip turbolinks gem -T, [--skip-test-unit], [--no-skip-test-unit] # Skip Test::Unit file [--rc=RC] # Path to file containnfiguration options for rails command [--no-rc], [--no-no-rc] # Skip loading of extrion options from .railsrc file Runtime options: -f, [--force] # Overwrite files that already exist -p, [--pretend], [--no-pretend] # Run but do not make any changes -q, [--quiet], [--no-quiet] # Suppress status output -s, [--skip], [--no-skip] # Skip files that already exist Rails options: -h, [--help], [--no-help] # Show this help message and quit -v, [--version], [--no-version] # Show Rails version number and quit Description: The 'rails new' command creates a new Rails application with a default directory structure and configuration at the path you specify. You can specify extra command-line arguments to be used every time 'rails new' runs in the .railsrc configuration file in your home directory. Note that the arguments specified in the .railsrc file don't affect the defaults values shown above in this help message. Example: rails new ~/Code/Ruby/weblog This generates a skeletal Rails installation in ~/Code/Ruby/weblog. See the README in the newly created application to get going.
どうすればサーバーに接続できるのか、ご教示お願いします
あなたの回答
tips
プレビュー