diff options
author | elijah <elijah@riseup.net> | 2015-04-20 16:10:19 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-04-20 16:10:19 -0700 |
commit | 73fd6f5ef05adf5abdb31bcca4377c0ee7ca052b (patch) | |
tree | 92223c7d35087044330adde57892b88977800108 /Gemfile | |
parent | ae40e577458fbe4bbde73ada24f670b8e94bdc82 (diff) |
fixed warnings that gems are defined multiple times in Gemfile
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 22 |
1 files changed, 4 insertions, 18 deletions
@@ -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 |