Sha256: acbb4597be945b8271c8bfdb1a5bccae605e1307fa731b9b37d30bd8fd8052ea
Contents?: true
Size: 950 Bytes
Versions: 127
Compression:
Stored size: 950 Bytes
Contents
#!/bin/bash if hash rbenv 2>/dev/null; then eval "$(rbenv init -)" echo "Running tests under Ruby 1.9.3" rbenv shell 1.9.3-p194 gem install pivotal-github bundle rspec spec echo "Running tests under Ruby 2.0.0" rbenv shell 2.0.0-p0 gem instsll pivotal-github bundle rspec spec rbenv shell --unset else # 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" else printf "ERROR: An RVM installation was not found.\n" fi echo "Running tests under Ruby 1.9.3" rvm use 1.9.3@polytexnic gem install pivotal-github bundle rspec spec echo "Running tests under Ruby 2.0.0" rvm use 2.0.0@polytexnic gem install pivotal-github bundle rspec spec fi
Version data entries
127 entries across 127 versions & 1 rubygems