1 Star 0 Fork 0

weaver2007/dotfiles

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
profile_init.sh 655 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
[ -d ~/.rbenv ] || git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc && echo 'eval "$(rbenv init -)"' >> ~/.bashrc
. ~/.bashrc
[ -d ~/.rbenv/plugins/ruby-build ] || git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
ruby_install_version=$(rbenv install -l | sed 's/^ *//' | grep ^[[:digit:]] | grep '\.[[:digit:]]$'| tail -1)
echo "Latest matz ruby: $ruby_install_version"
~/.rbenv/bin/rbenv install $ruby_install_version
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
~/.rbenv/bin/rbenv global $ruby_install_version
~/.rbenv/shims/gem install chef
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/weaver2007/dotfiles.git
git@gitee.com:weaver2007/dotfiles.git
weaver2007
dotfiles
dotfiles
master

搜索帮助