Sha256: f9369d5e834610ec1d7665d4e0573f169610fdec6d4d1cf9d77be99a325fe596

Contents?: true

Size: 796 Bytes

Versions: 17

Compression:

Stored size: 796 Bytes

Contents

#!/bin/bash

if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
  source "$HOME/.rvm/scripts/rvm"
elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
  source "/usr/local/rvm/scripts/rvm"
else
  printf "ERROR: An RVM installation was not found.\n"
fi

function build_version() {
  echo "Bundling for Rails $1..."
  BUNDLE_GEMFILE=gemfiles/Gemfile.rails-$1 bundle install --quiet
  BUNDLE_GEMFILE=gemfiles/Gemfile.rails-$1 bundle exec rake -t spec
}

function versions() {
  build_version "3.2.x"
  build_version "3.1.x"
  build_version "3.0.x"
  build_version "2.3.x"
}

function use_ruby() {
  rvm use ruby-$1@errplane_gem --create
  versions
}

function run() {
  use_ruby "1.9.3-p194"
  use_ruby "1.9.2-p290"
  use_ruby "1.8.7-p357"
}

function clean() {
  rvm gemset empty errplane_gem --force
}

run

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
errplane-0.5.5 spec/suite.sh
errplane-0.5.4 spec/suite.sh
errplane-0.5.3 spec/suite.sh
errplane-0.5.2 spec/suite.sh
errplane-0.5.1 spec/suite.sh
errplane-0.5.0 spec/suite.sh
errplane-0.4.12 spec/suite.sh
errplane-0.4.11 spec/suite.sh
errplane-0.4.10 spec/suite.sh
errplane-0.4.9 spec/suite.sh
errplane-0.4.8 spec/suite.sh
errplane-0.4.7 spec/suite.sh
errplane-0.4.6 spec/suite.sh
errplane-0.4.5 spec/suite.sh
errplane-0.4.4 spec/suite.sh
errplane-0.4.3 spec/suite.sh
errplane-0.4.2 spec/suite.sh