Permalink
Browse files

Add comment to clarify that resque/server must be required at the top…

… of the Rails routes file. If you don't do this, you get an uninitialized constant error.
  • Loading branch information...
1 parent df89630 commit 87970a936272bacf5c952fe41a08307187d1ee24 @subelsky subelsky committed with defunkt Sep 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.markdown
View
@@ -475,7 +475,7 @@ HTTP basic auth).
### Rails 3
-You can also easily mount Resque on a subpath in your existing Rails 3 app by adding this to your `routes.rb`:
+You can also mount Resque on a subpath in your existing Rails 3 app by adding `require resque/server` to the top of your routes file or in an initializer then adding this to `routes.rb`:
``` ruby
mount Resque::Server.new, :at => "/resque"

0 comments on commit 87970a9

Please sign in to comment.