Sha256: 49902ddc2608944801046f9116087b51721e93274a2eab9fc8a53bf1ecee9cb3

Contents?: true

Size: 734 Bytes

Versions: 11

Compression:

Stored size: 734 Bytes

Contents

#!/bin/zsh --login

set -e
set -a

rvm_ruby_and_gemset_set() {
  case $1 in
  api)
    RORO_RVM_RUBY="jruby-9.2.9.0"
    RORO_RVM_GEMSET="api"
    ;;
  client-api)
    RORO_RVM_RUBY="ruby-3.0.1"
    RORO_RVM_GEMSET="client-api"
    ;;
  public-api)
    RORO_RVM_RUBY="2.7.2"
    RORO_RVM_GEMSET="public-api"
    ;;
  tokenizer-rails)
    RORO_RVM_RUBY="2.6.5"
    RORO_RVM_GEMSET="tokenizer-rails"
    ;;
  esac

  RORO_RVM_RUBY_AND_GEMSET="${RORO_RVM_RUBY}@${RORO_RVM_GEMSET}"
}

rvm_ruby_and_gemset_use() {
  rvm_ruby_and_gemset_set $1
  rvm use "${RORO_RVM_RUBY_AND_GEMSET}" --create
}

rvm_ruby_and_gemset_create() {
  rvm_ruby_and_gemset_set $1
  rvm install "${RORO_RVM_RUBY}"
  rvm use "${RORO_RVM_RUBY_AND_GEMSET}" --create
}

Version data entries

11 entries across 6 versions & 1 rubygems

Version Path
roro-0.3.30 lib/roro/stacks/stories_v1/templates/roro/scripts/base/rvm.sh
roro-0.3.28 lib/roro/stacks/stories_v1/templates/roro/scripts/base/rvm.sh
roro-0.3.28 lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base/rvm.sh
roro-0.3.27 lib/roro/stacks/stories_v1/templates/roro/scripts/base/rvm.sh
roro-0.3.27 lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base/rvm.sh
roro-0.3.25 lib/roro/stacks/stories_v1/templates/roro/scripts/base/rvm.sh
roro-0.3.25 lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base/rvm.sh
roro-0.3.24 lib/roro/stacks/stories_v1/templates/roro/scripts/base/rvm.sh
roro-0.3.24 lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base/rvm.sh
roro-0.3.23 lib/roro/stacks/catalog/unstoppable/developer_styles/sashimi/stories/roro/templates/scripts/base/rvm.sh
roro-0.3.23 lib/roro/stacks/stories_v1/templates/roro/scripts/base/rvm.sh