From e9a8318dc42146209e4acecc93c4ff62ab6feb7c Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 28 Feb 2013 19:50:53 -0800 Subject: clean up include paths, require newer rake version. --- Gemfile | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index b0b375c..9cf9329 100644 --- a/Gemfile +++ b/Gemfile @@ -1,33 +1,33 @@ source :rubygems gemspec -# -# Specify support gems used that we might also develop locally. -# -# Available options: -# -# :dev_path - the development path of the gem. this path is used if running in 'development mode'. -# -# :vendor_path - where this gem is vendored. this path is used if it exists and we are running in 'production mode' -# -development_gems = { - 'supply_drop' => {:dev_path => '../gems/supply_drop', :vendor_path => 'vendor/supply_drop'}, - 'certificate_authority' => {:dev_path => '../gems/certificate_authority', :vendor_path => 'vendor/certificate_authority'} -} +# # +# # Specify support gems used that we might also develop locally. +# # +# # Available options: +# # +# # :dev_path - the development path of the gem. this path is used if running in 'development mode'. +# # +# # :vendor_path - where this gem is vendored. this path is used if it exists and we are running in 'production mode' +# # +# development_gems = { +# 'supply_drop' => {:dev_path => '../gems/supply_drop', :vendor_path => 'vendor/supply_drop'}, +# 'certificate_authority' => {:dev_path => '../gems/certificate_authority', :vendor_path => 'vendor/certificate_authority'} +# } -# -# A little bit of code to magically pick the correct gem -# +# # +# # A little bit of code to magically pick the correct gem +# # -mode = :production +# mode = :production -gem_root = File.dirname(__FILE__) -path_key = mode == :development ? :dev_path : :vendor_path -development_gems.each do |gem_name, options| - path = File.expand_path(options[path_key], gem_root) - if File.directory?(path) - gem gem_name, :path => path - else - gem gem_name - end -end \ No newline at end of file +# gem_root = File.dirname(__FILE__) +# path_key = mode == :development ? :dev_path : :vendor_path +# development_gems.each do |gem_name, options| +# path = File.expand_path(options[path_key], gem_root) +# if File.directory?(path) +# gem gem_name, :path => path +# else +# gem gem_name +# end +# end \ No newline at end of file -- cgit v1.2.3