Sha256: 6ee591293b184cf2df03f130e63df007d4b7ac797eeff87ddb95a69e363d5ec5
Contents?: true
Size: 1.35 KB
Versions: 7
Compression:
Stored size: 1.35 KB
Contents
=CodeBuddy CodeBuddy makes it easy for you to understand the code behind each line of a Ruby exception stack. When something goes wrong during development and you get an exception do you read through the stack trace and start opening files in VIM or TextMate? With CodeBuddy the stack trace and source files are all available in your browser making it easy to understand what's going on. == Use it in your Rails app Simply add one line to your app's Gemfile and the Rails exception page just got better. gem 'code_buddy' And install it: $ bundle install Now when you're running in development (or any environment with config.consider_all_requests_local=true) whenever you see a exception page you'll be able to click on the stack and see it inside CodeBuddy. == Run as a Sinatra app $ gem install code_buddy $ code_buddy == Sinatra/1.1.0 has taken the stage on 4567 for development with backup from Mongrel Now open http://localhost:4567 and paste your stack. == Caveats This should also work as Rack middleware in Rails 2.3.x or any Rack app soon, but we haven't tried it yet. We also haven't tested viewing a stack with Internet Explorer or running the Sinatra app on Windows. == Contributors {Alex Rothenberg}[http://www.alexrothenberg.com/], {Daniel Higginbotham}[http://www.flyingmachinestudios.com/], {Pat Shaughnessy}[http://patshaughnessy.net/]
Version data entries
7 entries across 7 versions & 1 rubygems