mortar 0.15.21 → 0.15.22
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mortar/local/python.rb +2 -5
- data/lib/mortar/version.rb +1 -1
- metadata +2 -2
data/lib/mortar/local/python.rb
CHANGED
@@ -201,7 +201,7 @@ class Mortar::Local::Python
|
|
201
201
|
end
|
202
202
|
|
203
203
|
def pip_error_log_path
|
204
|
-
return ENV.fetch('PIP_ERROR_LOG', "
|
204
|
+
return ENV.fetch('PIP_ERROR_LOG', "#{local_install_directory}/pip_dependency_install.log")
|
205
205
|
end
|
206
206
|
|
207
207
|
def virtualenv_error_log_path
|
@@ -291,11 +291,8 @@ class Mortar::Local::Python
|
|
291
291
|
# this limit. This unfortunately leads to very vague errors about pip not existing when
|
292
292
|
# in fact it is the truncated path to the interpreter that does not exist. I would now
|
293
293
|
# like the last day of my life back.
|
294
|
-
pip_output = `. #{local_activate_path} && #{local_python_bin} #{local_pip_bin} #{subcmd}`
|
294
|
+
pip_output = `. #{local_activate_path} && #{local_python_bin} #{local_pip_bin} --log #{pip_error_log_path} #{subcmd}`
|
295
295
|
if 0 != $?.to_i
|
296
|
-
File.open(pip_error_log_path, 'w') { |f|
|
297
|
-
f.write(pip_output)
|
298
|
-
}
|
299
296
|
return false
|
300
297
|
else
|
301
298
|
return true
|
data/lib/mortar/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mortar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.22
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-08-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|