Skip to content

Instantly share code, notes, and snippets.

@franciscoj
Created March 27, 2011 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save franciscoj/889606 to your computer and use it in GitHub Desktop.
Save franciscoj/889606 to your computer and use it in GitHub Desktop.
How to use rack-debug gem on rails
# config/environments/development.rb
require "rack/debug"
config.middleware.use "Rack::Debug"
# Gemfile
# For ruby 1.8
gem "rack-debug", "~> 1.4", :group => :development
# For ruby 1.9.2
gem "rack-debug", :group => :development
# Rakefile
require 'rack-debug/tasks' if Rails.env.development?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment