discourse update: add symlink for .ruby-version
This commit is contained in:
parent
09e533da0a
commit
714f6017bb
@ -40,6 +40,8 @@ rubyver=$(< $basedir/.ruby-version.sample)
|
||||
# uses newer ruby because they don't seem to use release
|
||||
#rubyver=$(curl -s https://raw.githubusercontent.com/discourse/discourse_docker/main/image/base/slim.Dockerfile | grep -oP '(?<=RUBY_VERSION=)[0-9]+\.[0-9]+\.[0-9]+')
|
||||
|
||||
[ ! -L $basedir/.ruby-version ] && ln -sv $basedir/.ruby-version.sample $basedir/.ruby-version
|
||||
|
||||
if [[ ! -e ~/.rbenv/versions/$rubyver ]]
|
||||
then
|
||||
git -C $HOME/.rbenv/plugins/ruby-build pull
|
||||
|
Loading…
Reference in New Issue
Block a user