diff --git a/bundler/spec/support/builders.rb b/bundler/spec/support/builders.rb index 0ece5ba7f654..90e9cbb2422d 100644 --- a/bundler/spec/support/builders.rb +++ b/bundler/spec/support/builders.rb @@ -554,7 +554,6 @@ def _build(options) source = options[:source] || "git@#{libpath}" if branch = options[:branch] - raise "You can't specify `master` as the branch" if branch == "master" @context.git("checkout -b #{Shellwords.shellescape(branch)}", libpath) elsif tag = options[:tag] @context.git("tag #{Shellwords.shellescape(tag)}", libpath)