Skip to content

Instantly share code, notes, and snippets.

@benmacleod
Forked from anonymous/ruby.sh
Last active December 25, 2015 03:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benmacleod/6910642 to your computer and use it in GitHub Desktop.
Save benmacleod/6910642 to your computer and use it in GitHub Desktop.
sudo apt-get --force-yes install build-essential openssl libreadline6 libreadline6-dev curl \
zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev \
libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison
&&
\curl -L https://get.rvm.io | bash -s stable --autolibs=enabled
&&
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >>
~/.bash_profile
&&
source ~/.bash_profile
&&
rvm install 2.0.0-p247
&&
rvm use --default 2.0.0-p247
&&
ruby -v
&&
gem install rails --pre --no-rdoc --no-ri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment