Last active
October 1, 2020 17:50
-
-
Save afahitech/84f9713344255091a3079fec904fca7f to your computer and use it in GitHub Desktop.
How to install Ruby on Rails on Ubuntu 18.04
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/sh | |
| # Install Rails & Ruby | |
| gem install rails | |
| gem update --system | |
| sudo apt-get install ruby-dev zlib1g-dev liblzma-dev | |
| gem install rails | |
| apt install ruby | |
| rails new myapp | |
| cd myapp/ | |
| bundle install | |
| apt install ruby-bundler | |
| bundle install | |
| bin/rails server | |
| exit | |
| # Go to http://localhost:3000 | |
| # Youtube https://youtu.be/OzZp4Ps-8lo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment