■環境
Windows 10
ruby 2.4.4p296 (2018-03-28 revision 63013) [x64-mingw32]
Rails 5.2.0
■現象
http://nirasan.hatenablog.com/entry/2015/08/20/172719
上記のサイトを見ながら進めていたのですが
$ rails generate doorkeeper:install $ rails generate doorkeeper:migration $ rake db::migrate rake aborted! Don't know how to build task 'db:migrate' (see --tasks) (See full trace by running task with --trace)
と出力されます。
--tasks と --traceで実行した結果は以下になります。
$rake db:migrate --tasks rake about # List versions of all Rails framew... rake app:template # Applies the template supplied by ... rake app:update # Update configs and some other ini... rake assets:clean[keep] # Remove old compiled assets rake assets:clobber # Remove compiled assets rake assets:environment # Load asset compile environment rake assets:precompile # Compile all the assets named in c... rake cache_digests:dependencies # Lookup first-level dependencies f... rake cache_digests:nested_dependencies # Lookup nested dependencies for TE... rake dev:cache # Toggle development mode caching o... rake initializers # Print out all defined initializer... rake log:clear # Truncates all/specified *.log fil... rake middleware # Prints out your Rack middleware s... rake notes # Enumerate all annotations (use no... rake notes:custom # Enumerate a custom annotation, sp... rake restart # Restart app by touching tmp/resta... rake routes # Print out all defined routes in m... rake secret # Generate a cryptographically secu... rake stats # Report code statistics (KLOCs, et... rake test # Runs all tests in test folder exc... rake test:db # Run tests quickly, but also reset db rake test:system # Run system tests only rake time:zones[country_or_offset] # List all time zones, list by two-... rake tmp:clear # Clear cache, socket and screensho... rake tmp:create # Creates tmp directories for cache... rake yarn:install # Install all JavaScript dependenci...
$rake db:migrate --trace rake aborted! Don't know how to build task 'db:migrate' (see --tasks) C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/task_manager.rb:59:in `[]' C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:159:in `invoke_task' C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:116:in `block (2 levels) in top_level' C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:116:in `each' C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:116:in `block in top_level' C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:125:in `run_with_threads' C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:110:in `top_level' C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:83:in `block in run' C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling' C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/lib/rake/application.rb:80:in `run' C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>' C:/Ruby24-x64/bin/rake:23:in `load' C:/Ruby24-x64/bin/rake:23:in `<main>'
どうかご助力お願いします。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/08/03 12:06