Last active
June 1, 2018 17:11
-
-
Save pilinux/bacbf63b6b11d975e7e401e813fe0a5c to your computer and use it in GitHub Desktop.
Install ruby and rails - simplest procedure for Ubuntu OS
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
#!/bin/bash | |
sudo apt install build-essential ruby liblzma-dev patch ruby-dev zlib1g-dev libsqlite3-dev nodejs | |
sudo gem update --system | |
sudo gem install bundler | |
sudo gem install nokogiri -v 1.8.2 | |
sudo gem install rails -v 5.2.0 | |
sudo gem install sqlite3 -v 1.3.13 | |
sudo gem install execjs | |
# To create an app inside a directory, | |
# $rails _5.2.0_ new hello_app | |
# and when asked, provide password to run with sudo command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment