summaryrefslogtreecommitdiff
path: root/chef/Gemfile
diff options
context:
space:
mode:
authorHo-Sheng Hsiao <hosheng.hsiao@gmail.com>2012-04-16 14:00:13 -0400
committerBryan McLellan <btm@opscode.com>2012-04-24 10:16:16 -0700
commit3a7fcd9424ed80a070458c91e20df724be859abb (patch)
treedffcdd198ff466fe6f063c9336e7ed05699cd6f0 /chef/Gemfile
parent650edff3448629bb133d59dd6acc4349655a27e8 (diff)
downloadchef-3a7fcd9424ed80a070458c91e20df724be859abb.tar.gz
[CHEF-3020][GEMS] Removed debugging tools from dependencies in chef
If you want to use something like pry or awesome_print: (1) Add these gem dependencies to Gemfile.local (This file should not be versioned) (2) Load the gems by adding it to chef/spec/support/local_gems.rb Everything should run even if those two files do not exist.
Diffstat (limited to 'chef/Gemfile')
-rw-r--r--chef/Gemfile8
1 files changed, 6 insertions, 2 deletions
diff --git a/chef/Gemfile b/chef/Gemfile
index 794a17fd75..f1e92f16bf 100644
--- a/chef/Gemfile
+++ b/chef/Gemfile
@@ -8,8 +8,8 @@ gem "activesupport", :group => :compat_testing, :platform => "ruby"
group(:development, :test) do
gem 'rack'
gem 'thin'
- gem 'awesome_print'
- gem 'pry'
+# gem 'awesome_print'
+# gem 'pry'
end
platforms :mswin, :mingw do
@@ -28,3 +28,7 @@ end
platforms :mingw_18 do
gem "win32-open3", "0.3.2"
end
+
+# If you want to load debugging tools into the bundle exec sandbox,
+# add these additional dependencies into chef/Gemfile.local
+eval(IO.read(__FILE__ + '.local'), binding) if File.exists?(__FILE__ + '.local')