Gemfile in tdiary-4.0.0 vs Gemfile in tdiary-4.0.0.20130826

- old
+ new

@@ -1,23 +1,7 @@ source 'https://rubygems.org' -if File.exist?(File.expand_path('../tdiary.gemspec', __FILE__)) - # directly installed (e.g. git clone, archive file) - gemspec -else - # installed by gem - gem 'tdiary' - - # use edge tDiary - # gem 'tdiary', :git => 'git@github.com:tdiary/tdiary-core.git' -end - -# if you use tdiary-contrib gem, uncomment this line. -# gem 'tdiary-contrib' -# use edge tDiary contrib -# gem 'tdiary-contrib', :git => 'git@github.com:tdiary/tdiary-contrib.git' - gem 'rack' gem 'sprockets' gem 'hikidoc' gem 'rdtool' gem 'fastimage' @@ -69,6 +53,13 @@ gem 'sqlite3' gem 'jasmine' gem 'simplecov', :require => false gem 'coveralls', :require => false end +end + +# https://github.com/redmine/redmine/blob/master/Gemfile#L89 +local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local") +if File.exists?(local_gemfile) + puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v` + instance_eval File.read(local_gemfile) end