Skip to content

Instantly share code, notes, and snippets.

@pearofducks
Last active August 29, 2015 14:04
Show Gist options
  • Save pearofducks/676c1d45ad5e18926729 to your computer and use it in GitHub Desktop.
Save pearofducks/676c1d45ad5e18926729 to your computer and use it in GitHub Desktop.
Ruby setup for debian/ubuntu
#!/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