Skip to content
This repository
Browse code

Revert "Merge pull request #1416 from stuartherbert/non-interactive-rvm"

This reverts commit 1e9716d, reversing
changes made to 85a830a.
  • Loading branch information...
commit 848ef50f1b32c87e853f21e801f167a39e8c9c66 1 parent 54c5258
Michal Papis mpapis authored

Showing 1 changed file with 7 additions and 24 deletions. Show diff stats Hide diff stats

  1. +7 24 scripts/cli
31 scripts/cli
@@ -1068,21 +1068,13 @@ To reinstall use:
1068 1068 rvm_is_a_shell_function no_warning
1069 1069 then
1070 1070 {
1071   - if [[ -t 1 ]]
1072   - then
1073   - echo "Ruby (and needed base gems) for your selection will be installed shortly."
1074   - echo "Before it happens, please read and execute the instructions below."
1075   - echo "Please use a separate terminal to execute any additional commands."
1076   - echo "(use keyboard arrows to navigate)"
1077   - "$rvm_scripts_path"/requirements
1078   - echo "Press 'q' to continue."
1079   - else
1080   - echo "Ruby (and needed base gems) for your selection will now be installed."
1081   - echo "If you encounter any problems, please read and execute the instructions"
1082   - echo "below before trying again."
1083   - "$rvm_scripts_path"/requirements
1084   - fi
1085   - } | rvm_less
  1071 + echo "Ruby (and needed base gems) for your selection will be installed shortly."
  1072 + echo "Before it happens, please read and execute the instructions below."
  1073 + echo "Please use a separate terminal to execute any additional commands."
  1074 + echo "(use keyboard arrows to navigate)"
  1075 + "$rvm_scripts_path"/requirements
  1076 + echo "Press 'q' to continue."
  1077 + } | less
1086 1078 fi
1087 1079 __rvm_manage_wrapper install "${rvm_ruby_strings}"
1088 1080 fi
@@ -1174,12 +1166,3 @@ To reinstall use:
1174 1166
1175 1167 return ${result:-0}
1176 1168 }
1177   -
1178   -# deal with things when we're not running interactively
1179   -rvm_less() {
1180   - if [[ -t 1 ]] ; then
1181   - less
1182   - else
1183   - cat
1184   - fi
1185   -}

0 comments on commit 848ef50

Please sign in to comment.
Something went wrong with that request. Please try again.