I installed Rack-Bug for my application on Rails, but cannot display panels.
project: http://github.com/brynary/rack-bug
additional instructions: https://github.com/brynary/rack-bug/wiki/security
even more instructions: Rack Bug Setting the question. Server does not start
(documents really suck for this)
Above:
I added config.middleware.use 'Rack :: Bug' to config / environment / development.rb. I added a config / initializers / rack_bug.rb file containing the following:
require 'rack/bug'
require 'ipaddr'
ActionController::Dispatcher.middleware.use Rack::Bug,
:ip_masks => [IPAddr.new('192.168.2.2')],
:secret_key => 'epT5uCIchlsHCeR9dloOeAPG66PtHd9K8l0q9avitiaA/KUrY7DE52hD4yWY+8z1',
:password => 'password'
(I specified the IP address for my desktop. The application runs on my Linux linux server on .2.3)
/rack_bug/bookmarklet.html "Toggle Rack :: Bug" Firefox. Rails, "Toggle Rack :: Bug", , "", - Rack-Bug.
, , IRC, Google.
: . - Firefox Windows. Firefox Linux-, , . , 500. :
Status: 500 Internal Server Error
undefined method 'length' for
/usr/lib/ruby/gems/1.8/gems/ruby-openid-2.1.7/lib/openid/extras.rb:3:in 'starts_with?'
/home/ofer/src/ssp3/vendor/plugins/rack-bug/lib/rack/bug/panels/sql_panel/query.rb:65:in 'filtered_backtrace'
, , , , . , -, , Firefox dev , , -, ruby-openid.
, .