- sudo apt-get install rbenv
- rbenv install [Ruby version]
This step takes a while...It took 5 minutes on my i7 machine - add system variable to your startup script
~/.bashrc in Ubuntu
add these two lines
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
That's it. Easier than I expected....
沒有留言:
張貼留言