jenkins ruby versioning smarter
This commit is contained in:
parent
a1d2ef70b9
commit
9a68a2d3c1
1 changed files with 5 additions and 2 deletions
|
@ -4,8 +4,11 @@
|
||||||
#sudo aptitude -q -y install libpq-dev
|
#sudo aptitude -q -y install libpq-dev
|
||||||
|
|
||||||
source "$HOME/.rvm/scripts/rvm"
|
source "$HOME/.rvm/scripts/rvm"
|
||||||
rvm install $(cat .ruby-version)
|
rvm use $(cat.ruby-version) || \
|
||||||
rvm gemset use $(cat .ruby-gemset)
|
rvm install $(cat .ruby-version)
|
||||||
|
rvm gemset use $(cat .ruby-gemset) || \
|
||||||
|
rvm gemset create $(cat .ruby-gemset) && \
|
||||||
|
rvm gemset use $(cat .ruby-gemset)
|
||||||
gem install bundler
|
gem install bundler
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
Loading…
Reference in a new issue