diff options
author | Phil Monroe <phil@philmonroe.com> | 2012-06-12 17:36:33 -0700 |
---|---|---|
committer | Phil Monroe <phil@philmonroe.com> | 2012-06-12 17:36:33 -0700 |
commit | 15e0519b8c52f28d81a9e067e4c39cb1e5470b2d (patch) | |
tree | 6ff1fd168d2f1cf3b3d9abe869081f6f02e85a4a /lib/bundler/source.rb | |
parent | 4fde3e50dbe011dbaf6054cac25c07b86b07d8a0 (diff) | |
download | bundler-15e0519b8c52f28d81a9e067e4c39cb1e5470b2d.tar.gz |
remove all requirements for local override.
Diffstat (limited to 'lib/bundler/source.rb')
-rw-r--r-- | lib/bundler/source.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb index 1609db65..c708791d 100644 --- a/lib/bundler/source.rb +++ b/lib/bundler/source.rb @@ -716,12 +716,6 @@ module Bundler path = Pathname.new(path) path = path.expand_path(Bundler.root) unless path.relative? - unless options["branch"] || options["tag"] || options["ref"] - raise GitError, "Cannot use local override for #{name} at #{path} because " \ - ":branch, :tag, or :ref is not specified in Gemfile. Specify a commit reference or check " \ - "`bundle config --delete` to remove the local override" - end - unless path.exist? raise GitError, "Cannot use local override for #{name} because #{path} " \ "does not exist. Check `bundle config --delete` to remove the local override" |