File tree 2 files changed +3
-6
lines changed
2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change
1
+ .DS_Store
Original file line number Diff line number Diff line change @@ -21,12 +21,8 @@ apt-get install -y git curl zlib1g-dev build-essential libssl-dev libreadline-de
21
21
user_home=" /home/${WHO} "
22
22
shell=" \
23
23
cd ${user_home}
24
- git clone git://github.com/sstephenson/rbenv.git .rbenv
25
- echo 'export PATH=\"\$ HOME/.rbenv/bin:\$ PATH\" ' >> ${user_home} /${bash_file}
26
- echo 'eval \"\$ (rbenv init -)\" ' >> ${user_home} /${bash_file}
27
- git clone git://github.com/sstephenson/ruby-build.git ${user_home} /.rbenv/plugins/ruby-build
28
- echo 'export PATH=\"\$ HOME/.rbenv/plugins/ruby-build/bin:\$ PATH\" ' >> ${user_home} /${bash_file}
29
- . ~/${bash_file}
24
+ curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
25
+ source ${user_home} /${bash_file}
30
26
${user_home} /.rbenv/bin/rbenv install -v ${RUBY_VERSION}
31
27
${user_home} /.rbenv/bin/rbenv global ${RUBY_VERSION}
32
28
echo \" gem: --no-document\" > ${user_home} /.gemrc
You can’t perform that action at this time.
0 commit comments