Browse files

Remove srcdir since it doesn't work

  • Loading branch information...
1 parent 661d039 commit cdd832e279d1e1823336cdbc11a44e1392612517 @carols10cents carols10cents committed Feb 1, 2014
Showing with 2 additions and 23 deletions.
  1. +0 −1 README
  2. +1 −4 scripts/cli
  3. +1 −1 scripts/extras/completion.bash
  4. +0 −17 scripts/functions/utility
View
1 README
@@ -145,7 +145,6 @@ rubygems :: Switches the installed version of rubygems for the current ruby.
config-get :: display values for RbConfig::CONFIG variables.
gemdir :: display the path to the current gem directory (GEM_HOME).
-srcdir :: display the path to rvm source directory (may be yanked)
fetch :: Performs an archive / src fetch only of the selected ruby.
View
5 scripts/cli
@@ -206,7 +206,7 @@ __rvm_parse_args()
rvm_error_message="Please note that \`rvm $rvm_token ...\` was removed, try \`$rvm_token $next_token $*\` or \`rvm all do $rvm_token $next_token $*\` instead."
;;
- fetch|version|srcdir|reset|debug|reload|update|monitor|notes|implode|seppuku|question|answer|env|unexport|automount|prepare)
+ fetch|version|reset|debug|reload|update|monitor|notes|implode|seppuku|question|answer|env|unexport|automount|prepare)
rvm_action=$rvm_token
;;
@@ -806,9 +806,6 @@ rvm()
then __rvm_switch "${rvm_ruby_args[@]}"
fi
;;
- srcdir)
- __rvm_source_dir
- ;;
inspect|strings|version)
__rvm_${rvm_action}
;;
View
2 scripts/extras/completion.bash
@@ -62,7 +62,7 @@ _rvm_commands ()
version use reload implode update reset info debug\
install uninstall reinstall remove\
ruby gem rake tests specs monitor gemset\
- gemdir srcdir fetch list package notes snapshot\
+ gemdir fetch list package notes snapshot\
help'
case "${cur}" in
View
17 scripts/functions/utility 100644 → 100755
@@ -57,23 +57,6 @@ __rvm_ruby_string_paths_under()
done
}
-# Output the current ruby's rvm source path.
-__rvm_source_dir()
-{
- if [[ ${rvm_ruby_selected_flag:-0} -eq 0 ]]
- then __rvm_select
- fi
-
- if [[ -z "$rvm_ruby_src_path" ]]
- then
- rvm_error "No source directory exists for the default implementation."
- else
- echo "$rvm_ruby_src_path"
- fi
-
- return 0
-}
-
# Strip whitespace and normalize it all.
__rvm_strip()
{

0 comments on commit cdd832e

Please sign in to comment.