Skip to content

Commit

Permalink
Support Gemfile.local
Browse files Browse the repository at this point in the history
  • Loading branch information
k-tsj committed Jul 18, 2015
1 parent fe82fa8 commit 4b2a575
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,4 +1,5 @@
.bundle
Gemfile.local
Gemfile.lock
coverage
pkg/*
Expand Down
6 changes: 6 additions & 0 deletions Gemfile
@@ -1,3 +1,9 @@
source "http://rubygems.org"

gemspec

# https://github.com/redmine/redmine/blob/3.0.4/Gemfile#L101
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
if File.exist?(local_gemfile)
eval_gemfile local_gemfile
end

0 comments on commit 4b2a575

Please sign in to comment.