Duke Yin's Technology database

[FIXED] bash: rbenv: command not found

Just copy paste these commands as they are in a new Terminal.

cd ~
rm -rf .rbenv/
git clone git://github.com/sstephenson/rbenv.git .rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
source ~/.bashrc

# #

引用关闭,但你能发布评论.

评论

标注 * 的为必填项。