Skip to content

Commit

Permalink
1797 Update Ruby to v2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
id774 committed Mar 9, 2018
1 parent 61c04ff commit d93719a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions installer/install_ruby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,18 @@ setup_environment() {
install_ruby() {
setup_environment $*
case "$1" in
250)
install_stable3 2.5.0 2.5 $2
;;
243)
install_stable3 2.4.3 2.4 $2
;;
241)
install_stable3 2.4.1 2.4 $2
;;
236)
install_stable3 2.3.6 2.3 $2
;;
234)
install_stable3 2.3.4 2.3 $2
;;
Expand Down Expand Up @@ -317,6 +326,9 @@ install_ruby() {
186-420)
install_stable 1.8.6-p420 1.8 $2
;;
25-svn)
install_branch ruby_2_4 $2
;;
24-svn)
install_branch ruby_2_4 $2
;;
Expand Down
2 changes: 1 addition & 1 deletion installer/install_ruby_and_rails.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ operation() {
test -n "$SCRIPTS" || export SCRIPTS=$HOME/scripts
test -n "$PRIVATE" || export PRIVATE=$HOME/private/scripts
$SCRIPTS/installer/purge_obsolete_sources.sh
install_ruby 234 /opt/ruby/2.3
install_ruby 250 /opt/ruby/2.5
}

operation $*

0 comments on commit d93719a

Please sign in to comment.