summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColby <colby@taplaboratories.com.au>2016-07-14 16:58:27 +1000
committerColby <colby@taplaboratories.com.au>2016-07-14 16:58:27 +1000
commit150cb828cf7305950c870e8e43d2d1f9c7e461f7 (patch)
tree5b00f390403630aa9f5342f66ffe6c59747a42dc
parentc90329aef3d0ff4b5e3d4434fd522c4e626c109c (diff)
downloadbundler-150cb828cf7305950c870e8e43d2d1f9c7e461f7.tar.gz
update path already exists error message to not be specific to symlinks
-rw-r--r--lib/bundler/installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index c19b2edbc0..c002daf58c 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -196,7 +196,7 @@ module Bundler
end unless Bundler.bundle_path.exist?
rescue Errno::EEXIST
raise PathError, "Could not install to path `#{Bundler.settings[:path]}` " \
- "because of an invalid symlink. Remove the symlink so the directory can be created."
+ "because a file already exists at that same path. Either remove or rename the file so the directory can be created."
end
def resolve_if_need(options)