Permalink
Browse files

Drop support for GoRuby #3786

  • Loading branch information...
1 parent f913cdd commit 5e9dc4555c0685909a7eee25333a830cb5b16089 @pkuczynski pkuczynski committed Oct 25, 2016
View
@@ -114,7 +114,6 @@ then
(maglev) unicode="" ;;
(ironruby) unicode="" ;;
(system) unicode="" ;;
- (goruby) unicode="" ;; # TODO: what is this? can we use something more fonts support?
(topaz) unicode="🐍" ;; # TODO: what is this? can we use something more fonts support?
(opal) unicode="" ;;
(ruby)
View
@@ -41,9 +41,6 @@ mruby[-head]
ree-1.8.6
ree[-1.8.7][-2012.02]
-# GoRuby
-goruby
-
# Topaz
topaz
View
@@ -357,7 +357,7 @@ __rvm_parse_args()
rvm_ruby_strings="$rvm_token"
;;
- opal*|jruby*|ree*|macruby*|rbx*|rubinius*|goruby|mruby|ironruby*|default*|maglev*|topaz*|ruby*|system|default|all)
+ opal*|jruby*|ree*|macruby*|rbx*|rubinius*|mruby|ironruby*|default*|maglev*|topaz*|ruby*|system|default|all)
rvm_action="${rvm_action:-use}"
rvm_ruby_interpreter="$rvm_token"
rvm_ruby_string="$rvm_token"
@@ -26,7 +26,6 @@ __rvm_db()
{
\typeset value key variable
key="${1:-}"
- key="${key#go}" # Support for goruby - remove the go
variable="${2:-}"
value=""
@@ -402,7 +402,7 @@ https://rvm.io/rubies/named/
__rvm_check_for_compiler || return $?
case "${rvm_ruby_interpreter}" in
- opal|macruby|ree|jruby|maglev|goruby|rubinius|ironruby|ruby|mruby|topaz)
+ opal|macruby|ree|jruby|maglev|rubinius|ironruby|ruby|mruby|topaz)
ruby_install_type=$rvm_ruby_interpreter
;;
rbx) ruby_install_type=rubinius ;;
@@ -1,94 +0,0 @@
-#!/usr/bin/env bash
-
-goruby_install()
-{
- unset GEM_HOME GEM_PATH MY_RUBY_HOME IRBRC
- export PATH
-
- __rvm_remove_rvm_from_path
- __rvm_conditionally_add_bin_path
-
- builtin hash -r
-
- rvm_ruby_home="$rvm_rubies_path/$rvm_ruby_interpreter"
-
- __rvm_fetch_ruby
- __rvm_apply_patches ||
- {
- result=$?
- rvm_error "There has been an error while trying to apply patches to goruby. \nHalting the installation."
- exit $result
- }
-
- #__rvm_cd "${rvm_src_path}/$rvm_ruby_string/configure"
-
- [[ -s "${rvm_src_path}/$rvm_ruby_string/configure" ]] ||
- __rvm_log_command "autoreconf" "$rvm_ruby_string - #autoreconf" __rvm_autoreconf
-
- if
- [[ -s ./Makefile ]]
- then
- if (( ${rvm_debug_flag:=0} > 0 ))
- then
- rvm_debug "Skipping configure step, Makefile exists so configure must have already been run."
- fi
- elif
- [[ -n "$rvm_ruby_configure" ]]
- then
- __rvm_log_command "configure" "$rvm_ruby_string - #configuring" $rvm_ruby_configure ||
- {
- result=$?
- rvm_error "There has been an error while trying to configure the source. \nHalting the installation."
- exit $result
- }
-
- elif
- [[ -s ./configure ]]
- then
- __rvm_log_command "configure" "$rvm_ruby_string - #configuring" \
- "${rvm_configure_env[@]}" ./configure --prefix="$rvm_ruby_home" "${rvm_configure_flags[@]}"
- result=$?
-
- if (( result > 0 ))
- then
- rvm_error "There has been an error while trying to configure the source. \nHalting the installation."
- exit $result
- fi
-
- else
- rvm_error "Skipping configure step, 'configure' script does not exist, did autoreconf not run successfully?"
- fi
-
- : rvm_ruby_make:${rvm_ruby_make:=make}
-
- __rvm_log_command "make" "Compiling $rvm_ruby_string, this may take a while depending on your cpu(s)" \
- $rvm_ruby_make golf "${rvm_make_flags[@]}"
- result=$?
-
- if (( result > 0 ))
- then
- rvm_error "There has been an error while trying to run make. \nHalting the installation."
- exit $result
- fi
-
- [[ -n "${rvm_ruby_make_install:-}" ]] || rvm_ruby_make_install=( __rvm_make install )
-
- __rvm_log_command "install" "$rvm_ruby_string - #installing" "${rvm_ruby_make_install[@]}" ||
- {
- result=$?
- rvm_error "There has been an error while trying to run make install. \nHalting the installation."
- exit $result
- }
-
- rvm_log "Installation of $rvm_ruby_string is complete."
-
- export GEM_HOME="$rvm_ruby_gem_home"
- export GEM_PATH="$rvm_ruby_gem_path"
-
- \command \rm $rvm_ruby_home/bin/ruby
- ln -s $rvm_ruby_home/bin/goruby $rvm_ruby_home/bin/ruby
-
- __rvm_initial_gemsets_create "$rvm_ruby_home/bin/ruby" &&
- __rvm_post_install &&
- __rvm_fetch_ruby_cleanup
-}
@@ -344,12 +344,6 @@ __rvm_select_interpreter_topaz()
__rvm_select_interpreter_common "topaz"
}
-__rvm_select_interpreter_goruby()
-{
- __rvm_select_interpreter_common "goruby"
- rvm_ruby_string="goruby"
-}
-
__rvm_select_interpreter_mruby()
{
rvm_ruby_interpreter="mruby"
@@ -210,7 +210,7 @@ __rvm_ruby_string_parse_()
rvm_ruby_interpreter="rbx"
;;
- (opal|ruby|rbx|jruby|macruby|ree|maglev|ironruby|goruby|mruby|topaz)
+ (opal|ruby|rbx|jruby|macruby|ree|maglev|ironruby|mruby|topaz)
rvm_ruby_interpreter="$string"
;;

0 comments on commit 5e9dc45

Please sign in to comment.