This is a snippet of my code trying to turn on the number of workers on my heroku instances:
heroku = Heroku::Client.new(ENV['HEROKU_USER'], ENV['HEROKU_PASS'])
puts "created the client"
heroku.set_workers(ENV['HEROKU_APP'], 1)
puts "set workers to 1"
I stored all the values, HEROKU_USER, HEROKU_PASS, and HEROKU_APP as a heroku config:add variable
But when I run this cron task, I end up with an error:
"Rake Aborted! Resource Not Found"
What do I need to do? This snippet had worked correctly till I wanted to move the keys out of the repository after changing them and put just into a config var on heroku.