ddollar/rack-debug

README corrections?

sbfaulkner opened this issue · 2 comments

the rails environment example provided in the readme is incorrect and needs a :lib option for the config.gem as follows...

config.gem 'rack-debug', :lib => 'rack/debug', :source => 'http://gemcutter.org'

I had the same issue. Adding the :lib option helped.

I have added a require 'rack/debug' to lib/rack-debug.rb so you should no longer need this :lib option.

(I'm a fan of having require 'gemname' work, so people don't have to guess :)