There was a problem to load resque:work for me

the rake task didn't recognize the RAILS_ENV variable and instead it should take 'environment' so I added that to the command and removed the RAILS_ENV