Commit a02ded99ad2e46f68c1d24357dd7a4855fbf6056
Exists in
master
and in
29 other branches
Merge branch 'deploy-gemfile' into 'master'
Load custom dependencies through Gemfile This allows custom dependencies to be loaded through the Gemfile. See merge request !472
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 | ... | ... |