Skip to content

Instantly share code, notes, and snippets.

View reddavis's full-sized avatar
💭
🍕

Red Davis reddavis

💭
🍕
View GitHub Profile
diff --git a/Gemfile b/Gemfile
index fd90d42..9dd0146 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,4 +1,6 @@
source 'http://rubygems.org'
+gem 'perftools.rb', '>= 0.4.4'
+gem 'rack-perftools_profiler'
gem 'rails', '3.0.0.rc'
class MagickIdentify
attr_reader :data
def initialize(image_path)
@image_path = image_path
@data = {}
execute_and_parse
end
def method_missing(method, *args)