Skip to content

Commit 8d2e89c

Browse files
author
Joan Touzet
committed
Conform with pip 1.2+ --src instead of --source
1 parent c40eba6 commit 8d2e89c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

providers/gunicorn.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ def install_requirements
134134
else
135135
pip_cmd = ::File.join(new_resource.virtualenv, 'bin', 'pip')
136136
end
137-
execute "#{pip_cmd} install --source=#{Dir.tmpdir} -r #{new_resource.requirements}" do
137+
execute "#{pip_cmd} install --src=#{Dir.tmpdir} -r #{new_resource.requirements}" do
138138
cwd new_resource.release_path
139139
end
140140
else
141141
Chef::Log.debug("No requirements file found")
142142
end
143-
end
143+
end

0 commit comments

Comments
 (0)