sstephenson/rbenv — Issue #127: sudo best practice
Author: grosser
Created: 2011-10-18 09:22:00+00:00
State: open

whats the simples / best way to use the same commands with sudo ?

my current solution is
```
# /root/.bashrc
export PATH="$home/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
```

+

`ln -s /home/micha/.rbenv/ /root/.rbenv`