I created a new user in CentOS 6.3 using this commands
useradd deployer
passwd deployer
visudo
then I added this line to file:
deployer ALL=(ALL) ALL
Fine!
Now I trying to install rbenv, to deploy an RoR application. I followed this steps:
cd /home/deployer
su deployer
curl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash
It worked. After, I added rbenv to .bashrc and tried to reload .bashrc file and get this error:
[deployer@mycentos ~]$ . ~/.bashrc
bash: /home/deployer/.rbenv/bin/rbenv: Permission denied
Anyone know why?