Skip to content

Instantly share code, notes, and snippets.

@abemedia
Created March 6, 2015 00:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abemedia/1fbe7b829b8818c0af16 to your computer and use it in GitHub Desktop.
Save abemedia/1fbe7b829b8818c0af16 to your computer and use it in GitHub Desktop.
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