-
-
Save kaarolch/52347c58f11aae31af36ba2083e3d4f1 to your computer and use it in GitHub Desktop.
Install FPM on centos 6.5
This file contains 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
# install ruby, rubygems and all requirements, then install FPM (effing package manager) | |
# fpm: https://github.com/jordansissel/fpm | |
# as root | |
# update system, install requirements | |
yum update -y | |
yum install ruby-devel gcc curl libyaml-devel | |
# get the ruby version manager and install | |
curl -L get.rvm.io | bash -s stable | |
source /etc/profile.d/rvm.sh | |
# install ruby 1.9.3 | |
rvm requirements | |
rvm install 1.9.3 | |
rvm use 1.9.3 --default | |
# install rubygems | |
rvm rubygems current | |
# install effing package manager | |
gem install fpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment