新規で、C:\Users\watak\OneDrive\ドキュメント\rails\に
rails new sample で新規作成して、rails sをしたところ以下のエラーが出ました。
よくわからないので、どなたか教えていただいてもよろしいでしょうか。よろしくお願いします。
Rails 5.2.1
ruby 2.4.4p296 (2018-03-28 revision 63013) [x64-mingw32]
rails
1Usage: 2 rails new APP_PATH [options] 3 4Options: 5 [--skip-namespace], [--no-skip-namespace] # Skip namespace (affects only isolated applications) 6 -r, [--ruby=PATH] # Path to the Ruby binary of your choice 7 # Default: C:/Ruby24-x64/bin/ruby.exe 8 -m, [--template=TEMPLATE] # Path to some application template (can be a filesystem path or URL) 9 -d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/postgresql/sqlite3/oracle/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3/jdbcpostgresql/jdbc) 10 # Default: sqlite3 11 [--skip-yarn], [--no-skip-yarn] # Don't use Yarn for managing JavaScript dependencies 12 [--skip-gemfile], [--no-skip-gemfile] # Don't create a Gemfile 13 -G, [--skip-git], [--no-skip-git] # Skip .gitignore file 14 [--skip-keeps], [--no-skip-keeps] # Skip source control .keep files 15 -M, [--skip-action-mailer], [--no-skip-action-mailer] # Skip Action Mailer files 16 -O, [--skip-active-record], [--no-skip-active-record] # Skip Active Record files 17 [--skip-active-storage], [--no-skip-active-storage] # Skip Active Storage files 18 -P, [--skip-puma], [--no-skip-puma] # Skip Puma related files 19 -C, [--skip-action-cable], [--no-skip-action-cable] # Skip Action Cable files 20 -S, [--skip-sprockets], [--no-skip-sprockets] # Skip Sprockets files 21 [--skip-spring], [--no-skip-spring] # Don't install Spring application preloader 22 [--skip-listen], [--no-skip-listen] # Don't generate configuration that depends on the listen gem 23 [--skip-coffee], [--no-skip-coffee] # Don't use CoffeeScript 24 -J, [--skip-javascript], [--no-skip-javascript] # Skip JavaScript files 25 [--skip-turbolinks], [--no-skip-turbolinks] # Skip turbolinks gem 26 -T, [--skip-test], [--no-skip-test] # Skip test files 27 [--skip-system-test], [--no-skip-system-test] # Skip system test files 28 [--skip-bootsnap], [--no-skip-bootsnap] # Skip bootsnap gem 29 [--dev], [--no-dev] # Setup the application with Gemfile pointing to your Rails checkout 30 [--edge], [--no-edge] # Setup the application with Gemfile pointing to Rails repository 31 [--rc=RC] # Path to file containing extra configuration options for rails command 32 [--no-rc], [--no-no-rc] # Skip loading of extra configuration options from .railsrc file 33 [--api], [--no-api] # Preconfigure smaller stack for API only apps 34 -B, [--skip-bundle], [--no-skip-bundle] # Don't run bundle install 35 [--webpack=WEBPACK] # Preconfigure for app-like JavaScript with Webpack (options: react/vue/angular/elm/stimulus) 36 37Runtime options: 38 -f, [--force] # Overwrite files that already exist 39 -p, [--pretend], [--no-pretend] # Run but do not make any changes 40 -q, [--quiet], [--no-quiet] # Suppress status output 41 -s, [--skip], [--no-skip] # Skip files that already exist 42 43Rails options: 44 -h, [--help], [--no-help] # Show this help message and quit 45 -v, [--version], [--no-version] # Show Rails version number and quit 46 47Description: 48 The 'rails new' command creates a new Rails application with a default 49 directory structure and configuration at the path you specify. 50 51 You can specify extra command-line arguments to be used every time 52 'rails new' runs in the .railsrc configuration file in your home directory. 53 54 Note that the arguments specified in the .railsrc file don't affect the 55 defaults values shown above in this help message. 56 57Example: 58 rails new ~/Code/Ruby/weblog 59 60 This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/08/20 12:34
2018/08/20 22:55
2018/08/22 03:50
2018/08/22 15:24
2018/09/02 06:34
2018/09/02 07:09