Ruby on Rails アプリケーションで resque を使用しようとしています。
lib/tasks フォルダーに resque.rake ファイルを作成しました
require 'resque/tasks'
task 'resque:setup' => :environment
次の行でredisサーバーを起動しました
redis-server /usr/local/etc/redis.conf
アプリケーションに次の RakeFile があります。
require_relative 'config/application'
Rails.application.load_tasks
しかし、次のコマンドを実行してrakeを開始すると
rake resque:work QUEUE='*'
次のエラーが表示されます。
LoadError: cannot load such file -- resque/tasks
欠けているものが見えない
助言がありますか ?
ありがとう。
注:レール5.0.1を使用しています