Skip to content

Commit

Permalink
gemsets & hooks.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Feb 25, 2011
1 parent 6792377 commit 7792c23
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/gemsets
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ gemset_initial()
{
local gemsets gemset path paths

rvm_gemsets_path="${rvm_gemsets_path:-"$rvm_path/gemsets"}"
true ${rvm_gemsets_path:="$rvm_path/gemsets"}

rvm_log "Importing initial gemsets for $(__rvm_environment_identifier)."

Expand Down
4 changes: 2 additions & 2 deletions scripts/hook
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ declare rvm_hook=${rvm_hook:-""}

if [[ -n "$rvm_hook" ]] ; then

if [[ -s "$rvm_path/hooks/$rvm_hook" ]] ; then
if [[ -s "$rvm_hooks_path/$rvm_hook" ]] ; then

if [[ ${rvm_verbose_flag:-0} -gt 0 || ${rvm_debug_flag:-0} -gt 0 ]] ; then

rvm_log "running hook $rvm_hook"

fi

source "$rvm_path/hooks/$rvm_hook"
source "$rvm_hooks_path/$rvm_hook"

fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/initialize
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ true ${rvm_examples_path:="$rvm_path/examples"}
true ${rvm_gems_path:="$rvm_path/gems"}
true ${rvm_gemsets_path:="$rvm_path/gemsets"}
true ${rvm_help_path:="$rvm_path/help"}
true ${rvm_hooks_path:="$rvm_hooks_path/help"}
true ${rvm_hooks_path:="$rvm__path/help"}
true ${rvm_lib_path:="$rvm_path/lib"}
true ${rvm_log_path:="$rvm_path/log"}
true ${rvm_patches_path:="$rvm_path/patches"}
Expand Down
2 changes: 1 addition & 1 deletion scripts/manage
Original file line number Diff line number Diff line change
Expand Up @@ -1786,7 +1786,7 @@ __rvm_post_install()
# Import the initial gemsets.
__rvm_run_with_env "gemsets.initial" "$rvm_ruby_string" \
"'$rvm_scripts_path/gemsets' initial" \
"$rvm_ruby_string - #importing default gemsets ($rvm_path/gemsets/)"
"$rvm_ruby_string - #importing default gemsets ($rvm_gemsets_path/)"

__rvm_irbrc

Expand Down

0 comments on commit 7792c23

Please sign in to comment.