mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
credit where it is due
This commit is contained in:
parent
2d0ec364db
commit
1fb160d30f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user