Skip to content

Instantly share code, notes, and snippets.

@dgmike
Last active December 21, 2016 13:22
Show Gist options
  • Save dgmike/cd3f85d8d1d0cb358c01e6dfca6bca58 to your computer and use it in GitHub Desktop.
Save dgmike/cd3f85d8d1d0cb358c01e6dfca6bca58 to your computer and use it in GitHub Desktop.
put this in your Gemfile, from redmine ;-)
# load Gemfile.local if it exists
local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
eval_gemfile local_gemfile if File.exists?(local_gemfile)
# Load plugins' Gemfiles
Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file|
eval_gemfile file
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment