I installed Resque in Rails 3 using this tutorial .
The problem is that I am trying to use the Resque web interface. When I go to {localhost}/resque/, the browser is redirected to {localhost}/resque/resque/overview/true/false, which essentially does not exist. However {localhost}/resque/overview, it seems to open the correct interface, although it has broken links. (As when clicking on the statistics, it redirects me to {localhost}/resque/resque/stats/resque/true/falsethat again, which does not exist again)
Here is my config.ru file:
require ::File.expand_path('../config/environment', __FILE__)
require 'resque/server'
require 'logger'
AUTH_PASSWORD = 'secret'
if AUTH_PASSWORD
Resque::Server.use Rack::Auth::Basic do |username, password|
password == AUTH_PASSWORD
end
end
run Rack::URLMap.new \
"/" => Marina::Application,
"/resque" => Resque::Server.new
source
share