Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do i run sneaker worker in rails 6.0 ,ruby '2.6.3' ?

Jassim asked in General

Hello everyone,,
I'm trying to run rails app using command foreman s
https://openweb.vip/whatsapp-web/ https://19216801.onl/
the ProcFile contains these 2 lines :
web: bundle exec passenger start -p 8000 --max-pool-size 1
sneaker_data_publisher: WORKERS=DataPublisher bundle exec rake sneakers:run
The server starts fine. But it cannot execute the sneaker:run command.
https://routerlogin.uno/
16:18:01 sneaker_data_publisher.1 | rake aborted!
16:18:01 sneaker_data_publisher.1 | Don't know how to build task 'sneakers:run' (See the list of available tasks with rake --tasks)

Any help or guidance towards the same will be much appreciated

Reply

add require 'sneakers/tasks' to your Rakefile

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.