Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Jekyll on Openshift Jenkins Gear
#!/bin/bash -l
export HOME="$JENKINS_HOME"
unset GEM_HOME
curl -sSL https://rvm.io/mpapis.asc | gpg --import -
curl -L https://get.rvm.io | bash -s -- --auto-dotfiles --autolibs=0 --ruby
source $JENKINS_HOME/.rvm/scripts/rvm
source $JENKINS_HOME/.profile
rvm get stable --auto-dotfiles
rvm install 2.2.1
rvm use 2.2.1
gem install bundler jekyll jekyll-assets sprockets-less therubyracer uglifier yui-compressor autoprefixer-rails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment