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 # 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) def unbundled_require(gem)
if defined?(::Bundler) if defined?(::Bundler)
spec_path = Dir.glob("#{Gem.dir}/specifications/#{gem}-*.gemspec").last spec_path = Dir.glob("#{Gem.dir}/specifications/#{gem}-*.gemspec").last