Created
March 6, 2015 00:09
-
-
Save abemedia/1fbe7b829b8818c0af16 to your computer and use it in GitHub Desktop.
Install Jekyll on Openshift Jenkins Gear
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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