Last active
October 3, 2015 07:58
-
-
Save KazW/2420692 to your computer and use it in GitHub Desktop.
CentOS rbenv install for each user. (if they clone it)
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
# Consider putting this file in /etc/skel | |
# Avoid installing rdoc and ri by default | |
:update_sources: true | |
:sources: | |
- https://rubygems.org | |
:benchmark: false | |
:bulk_threshold: 1000 | |
:backtrace: false | |
:verbose: true | |
gem: --no-ri --no-rdoc |
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
# /etc/profile.d/rbenv.sh | |
# rbenv setup | |
if [ -d $HOME/.rbenv ] | |
then | |
export RBENV_ROOT="$HOME/.rbenv" | |
export PATH="$RBENV_ROOT/bin:$PATH" | |
eval "$(rbenv init -)" | |
fi |
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
# This includes some dependencies needed for Rails and some related gems (libxml2-devel, libxslt-devel, boost-devel and sqlite-devel) | |
yum install gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel \ | |
make bzip2 autoconf automake libtool bison psiconv-devel git libxml2-devel libxslt-devel boost-devel sqlite-devel bzip2-devel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment