mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
credit where it is due
This commit is contained in:
parent
2d0ec364db
commit
1fb160d30f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue