credit where it is due

This commit is contained in:
Sam 2013-08-05 14:29:04 +10:00
parent 2d0ec364db
commit 1fb160d30f

View file

@ -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