lib/capistrano-pyenv.rb in capistrano-pyenv-1.0.3 vs lib/capistrano-pyenv.rb in capistrano-pyenv-1.0.4
- old
+ new
@@ -8,11 +8,11 @@
def self.extended(configuration)
configuration.load {
namespace(:pyenv) {
_cset(:pyenv_root, "$HOME/.pyenv")
_cset(:pyenv_path) {
- # expand to actual path to use this value since pyenv may be executed by users other than `:user`.
+ # expand to actual path since pyenv may be executed by users other than `:user`.
capture("echo #{pyenv_root.dump}").strip
}
_cset(:pyenv_bin_path) { File.join(pyenv_path, "bin") }
_cset(:pyenv_shims_path) { File.join(pyenv_path, "shims") }
_cset(:pyenv_bin) {
@@ -254,11 +254,11 @@
_cset(:pyenv_platform) { fetch(:platform_identifier) }
_cset(:pyenv_python_dependencies) {
case pyenv_platform.to_sym
when :debian, :ubuntu
%w(git-core build-essential libreadline6-dev zlib1g-dev libssl-dev)
- when :redhat, :fedora, :centos, :amazon
- %w(git-core autoconf glibc-devel patch readline readline-devel zlib zlib-devel openssl)
+ when :redhat, :fedora, :centos, :amazon, :amazonami
+ %w(git-core autoconf gcc-c++ glibc-devel patch readline readline-devel zlib zlib-devel openssl)
else
[]
end
}
task(:dependencies, :except => { :no_release => true }) {