Commit a35d61bf authored by Eric Davis's avatar Eric Davis

[#506] Read Gemfile.local for local gem inclusions.

Contributed by Holger Just
parent 9c47208e
......@@ -26,4 +26,5 @@
doc/app
/.bundle
/Gemfile.lock
/Gemfile.local
/.rvmrc*
......@@ -71,6 +71,13 @@ platforms :jruby do
end
end
# Load a "local" Gemfile
gemfile_local = File.join(File.dirname(__FILE__), "Gemfile.local")
if File.readable?(gemfile_local)
puts "Loading #{gemfile_local} ..." if $DEBUG
instance_eval(File.read(gemfile_local))
end
# Load plugins' Gemfiles
Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file|
puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment