tasks/mina/rbenv.rb in mina-1.0.0.beta3 vs tasks/mina/rbenv.rb in mina-1.0.0.beta4

- old
+ new

@@ -1,13 +1,13 @@ set :rbenv_path, "$HOME/.rbenv" task :'rbenv:load' do - comment %(Loading rbenv) - command %(export RBENV_ROOT="#{fetch(:rbenv_path)}") - command %(export PATH="#{fetch(:rbenv_path)}/bin:$PATH") - command %(if ! which rbenv >/dev/null; then + comment %{Loading rbenv} + command %{export RBENV_ROOT="#{fetch(:rbenv_path)}"} + command %{export PATH="#{fetch(:rbenv_path)}/bin:$PATH"} + command %{if ! which rbenv >/dev/null; then echo "! rbenv not found" echo "! If rbenv is installed, check your :rbenv_path setting." exit 1 - fi) - command %(eval "$(rbenv init -)") + fi} + command %{eval "$(rbenv init -)"} end