Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

What is with me and my inability to spell?

  • Loading branch information...
commit 43f5fa8f4fa2827a3c4049622e7b9f4bbe1a1bcc 1 parent 9c7ccd9
Wayne E. Seguin authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 scripts/gems
10 scripts/gems
View
@@ -88,8 +88,8 @@ __rvm_gems_empty() {
# Migrate gemsets from ruby X to ruby Y
__rvm_gems_copy() {
- source_ruby="$(echo $gem_args | awk '{print $1}')"
- destination_ruby="$(echo $gem_args | awk '{print $2}')"
+ source_ruby="$(echo $gems_args | awk '{print $1}')"
+ destination_ruby="$(echo $gems_args | awk '{print $2}')"
if [[ -z "$source_ruby" ]] ; then
$rvm_scripts_path/log "error" "Source and destination must be specified: 'rvm gems copy X Y'"
fi
@@ -191,7 +191,7 @@ __rvm_gems_import() {
fi
}
-__rvm_parse_gem_args() {
+__rvm_parse_gems_args() {
gem="$(echo $gems_args | awk -F';' '{print $1}')"
gem_prefix="$(echo $gems_args | awk -F';' '{print $2}')"
if $rvm_scripts_path/match "$gem" "\.gem$" ; then
@@ -225,7 +225,7 @@ __rvm_parse_gem_args() {
# Install a gem
__rvm_gem_install() {
# First we parse the gem args to pick apart the pieces.
- __rvm_parse_gem_args
+ __rvm_parse_gems_args
# Now we determine if a .gem cache file is already installed
if [[ -z "$rvm_force_flag" ]] && [[ -f "${rvm_ruby_gem_home}/specifications/$(basename $gem_file_name)spec" ]] ; then
@@ -312,7 +312,7 @@ if [[ -z "$(which gem 2>/dev/null)" ]] ; then
fi
action="$(echo $* | awk '{print $1}')"
-gem_args=$(echo "$*" | awk '{$1="" ; print}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
+gems_args=$(echo "$*" | awk '{$1="" ; print}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
if [[ "import" = "$action" ]] || [[ "load" = "$action" ]] ; then
__rvm_gems_import
Please sign in to comment.
Something went wrong with that request. Please try again.