Module: Glimmer::RakeTask

Defined in:
lib/glimmer/rake_task.rb,
lib/glimmer/rake_task/list.rb,
lib/glimmer/rake_task/package.rb,
lib/glimmer/rake_task/scaffold.rb

Defined Under Namespace

Modules: Package Classes: List, Scaffold

Constant Summary collapse

RVM_FUNCTION =
<<~MULTI_LINE_STRING
  # Load RVM into a shell session *as a function*
  if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
  
    # First try to load from a user install
    source "$HOME/.rvm/scripts/rvm"
  
  elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
  
    # Then try to load from a root install
    source "/usr/local/rvm/scripts/rvm"
  
  fi
MULTI_LINE_STRING