Last active
August 29, 2015 14:04
-
-
Save pearofducks/676c1d45ad5e18926729 to your computer and use it in GitHub Desktop.
Ruby setup for debian/ubuntu
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 | |
apt-get update -y | |
apt-get install -y build-essential | |
wget -O ruby-install-0.5.0.tar.gz https://github.com/postmodern/ruby-install/archive/v0.5.0.tar.gz | |
tar -xzvf ruby-install-0.5.0.tar.gz | |
cd ruby-install-0.5.0/ | |
make install | |
ruby-install -i /usr/local/ ruby -- --disable-install-doc && rm -rf /usr/local/src/*ruby* | |
echo 'gem: --no-rdoc --no-ri' >> /.gemrc | |
gem install foreman bundler --no-rdoc --no-ri |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment