Created
April 10, 2017 14:27
-
-
Save michaelbarkdoll/4c6b64e2bfca08481b0d4c6ed6b18bec to your computer and use it in GitHub Desktop.
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
sudo apt-get update | |
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs-legacy | |
cd | |
wget http://ftp.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.gz | |
tar -xzvf ruby-2.4.0.tar.gz | |
sudo mv ruby-2.4.0 /usr/ | |
cd /usr/ruby-2.4.0/ | |
sudo ./configure | |
sudo make | |
sudo make install | |
ruby -v | |
# install Bundler | |
sudo gem install bundler | |
# Choose the version of Rails you want to install: | |
# Recommended 5.0.1 | |
sudo gem install rails -v 5.0.1 | |
rails -v | |
# Rails 5.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment