Skip to content

Instantly share code, notes, and snippets.

@asobrien
Last active December 9, 2015 20:44
Show Gist options
  • Save asobrien/a80c2263a264eb2ed4f1 to your computer and use it in GitHub Desktop.
Save asobrien/a80c2263a264eb2ed4f1 to your computer and use it in GitHub Desktop.
verneutil jenkins sample jpb
#!/bin/bash
# create a virtual environment (if it doesn't exist)
# this creates a virtual environment below the "env" dir
# and installs ruby version 2.2.3
# activate it
[ ! -d env ] && verneutil --create env 2.2.3 ;
source env/activate
gem install hello-world
ruby run_all_the_things.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment