if ! [ -e ~/.nvm/nvm.sh ]; then
  curl https://raw.githubusercontent.com/creationix/nvm/v0.17.2/install.sh | bash
fi
source ~/.nvm/nvm.sh

nvm list 0.10 || nvm install 0.10
nvm exec 0.10 which grunt || nvm exec 0.10 npm install -g grunt-cli jasmine

nvm list 0.11 || nvm install 0.11
nvm exec 0.11 which grunt || nvm exec 0.11 npm install -g grunt-cli jasmine

nvm alias default 0.10

if ! [ -e ~/.nvm/nvm.sh ]; then
  curl https://raw.githubusercontent.com/creationix/nvm/v0.17.2/install.sh | bash
fi
source ~/.nvm/nvm.sh

nvm list 0.10 || nvm install 0.10
nvm exec 0.10 which grunt || nvm exec 0.10 npm install -g grunt-cli

nvm list 0.11 || nvm install 0.11
nvm exec 0.11 which grunt || nvm exec 0.11 npm install -g grunt-cli

nvm alias default 0.10

--- 
+++ 
@@ -4,9 +4,9 @@
 source ~/.nvm/nvm.sh
 
 nvm list 0.10 || nvm install 0.10
-nvm exec 0.10 which grunt || nvm exec 0.10 npm install -g grunt-cli
+nvm exec 0.10 which grunt || nvm exec 0.10 npm install -g grunt-cli jasmine
 
 nvm list 0.11 || nvm install 0.11
-nvm exec 0.11 which grunt || nvm exec 0.11 npm install -g grunt-cli
+nvm exec 0.11 which grunt || nvm exec 0.11 npm install -g grunt-cli jasmine
 
 nvm alias default 0.10
Provision global installation of jasmine
