diff --git a/Gemfile b/Gemfile index f31fa2f..1c7986a 100644 --- a/Gemfile +++ b/Gemfile @@ -8,20 +8,20 @@ group :development do gem "rspec", "~> 3.0" end -# temporarily we only support building against master -gem "chef", github: "chef/chef", branch: "master" -gem "ohai", github: "chef/ohai", branch: "master" # Allow Travis to run tests with different dependency versions -# if ENV["GEMFILE_MOD"] -# puts ENV["GEMFILE_MOD"] -# instance_eval(ENV["GEMFILE_MOD"]) -# else -# group :development do -# gem "chef", "~> 16" -# gem "ohai", "~> 16" -# end -# end +if ENV["GEMFILE_MOD"] + puts ENV["GEMFILE_MOD"] + instance_eval(ENV["GEMFILE_MOD"]) +else + group :development do + # temporarily we only support building against master + gem "chef", github: "chef/chef", branch: "master" + gem "ohai", github: "chef/ohai", branch: "master" + # gem "chef", "~> 16" + # gem "ohai", "~> 16" + end +end group :docs do gem "yard"