Hi,
I am trying to run ruby-prof on a rails 2.3.10 application, and after adding
config.middleware.use Rack::RubyProf, :path => '/home/deploy/profile', :min_percent => 0
to production.rb I get an error when accessing the application via the browser:
- Error message:
- uninitialized constant Rack::RubyProf
- Exception class:
- NameError
Rubyprof is installed correctly on the system, it is added to the gemfile and "bundle install" lists it as installed. I installed it the same way on a Rails 3 deployment and it worked fine. Is there any difference how I should configure it in Rails 2?
Regards,
Holger