Commit 52bb8ba394ad02ae3da4960998517347d5d35142

Authored by Rodrigo Souto
1 parent c717cb2c

Gemfile: allow custom dependencies to be loaded through Gemfile

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
Gemfile
... ... @@ -41,9 +41,12 @@ group :cucumber do
41 41 gem 'selenium-webdriver', '~> 2.39.0'
42 42 end
43 43  
  44 +# Requires custom dependencies
  45 +eval(File.read('config/Gemfile'), binding) rescue nil
  46 +
44 47 # include gemfiles from enabled plugins
45 48 # plugins in baseplugins/ are not included on purpose. They should not have any
46 49 # dependencies.
47 50 Dir.glob('config/plugins/*/Gemfile').each do |gemfile|
48 51 eval File.read(gemfile)
49 52 -end
  53 +end
50 54 \ No newline at end of file
... ...