From 1fb160d30f10edd0a8918076dc6419ef87add72e Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 5 Aug 2013 14:29:04 +1000 Subject: [PATCH] credit where it is due --- script/profile_db_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/profile_db_generator.rb b/script/profile_db_generator.rb index 8ed8d9f8e..dfd078998 100644 --- a/script/profile_db_generator.rb +++ b/script/profile_db_generator.rb @@ -1,6 +1,6 @@ # can be used to generate a mock db for profiling purposes -# Include this in your .irbrc +# based on https://gist.github.com/zaius/2643079 def unbundled_require(gem) if defined?(::Bundler) spec_path = Dir.glob("#{Gem.dir}/specifications/#{gem}-*.gemspec").last