From babdffc765cb46721001c6914c10568ab537704e Mon Sep 17 00:00:00 2001 From: Lucas Mendelowski Date: Sun, 9 Jun 2013 19:52:32 +0800 Subject: [PATCH] Updated install instructions for rbenv users. Previous command install hpricot gem into rbenv's gem directory instead of a global. It was caused by improper placement of sudo - RBENV_VERSION was set only for local user so applying sudo ignored it. To fix this problem sudo have to goes before set of environment variable. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 76b483b..33fde12 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ INSTALL ------- * Requires: gem install hpricot * Install with pathogen: clone/submodule into vim/bundle - * **rbenv** users will need to install hpricot using system ruby `RBENV_VERSION=system sudo gem install hpricot` + * **rbenv** users will need to install hpricot using system ruby `sudo RBENV_VERSION=system gem install hpricot` USAGE -----