summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-04-20 16:10:19 -0700
committerelijah <elijah@riseup.net>2015-04-20 16:10:19 -0700
commit73fd6f5ef05adf5abdb31bcca4377c0ee7ca052b (patch)
tree92223c7d35087044330adde57892b88977800108 /Gemfile
parentae40e577458fbe4bbde73ada24f670b8e94bdc82 (diff)
fixed warnings that gems are defined multiple times in Gemfile
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile22
1 files changed, 4 insertions, 18 deletions
diff --git a/Gemfile b/Gemfile
index 9d18704..a545dd6 100644
--- a/Gemfile
+++ b/Gemfile
@@ -95,24 +95,10 @@ end
## OPTIONAL GEMS AND ENGINES
##
-group :test do
- enabled_engines('test').each do |gem_name, gem_dir|
- gem gem_name, :path => gem_dir
- end
-end
-
-group :development do
- enabled_engines('development').each do |gem_name, gem_dir|
- gem gem_name, :path => gem_dir
- end
-end
-
-group :production do
- enabled_engines('production').each do |gem_name, gem_dir|
- gem gem_name, :path => gem_dir
- end
+enabled_engines.each do |name, gem_info|
+ gem gem_info[:name], :path => gem_info[:path], :groups => gem_info[:env]
end
-custom_gems.each do |gem_name, gem_dir|
- gem gem_name, :path => gem_dir
+custom_gems.each do |name, gem_info|
+ gem gem_info[:name], :path => gem_info[:path]
end