Last active
November 12, 2016 18:45
-
-
Save PrakharGarg/208a9e263ec437ef554230873263f1fb to your computer and use it in GitHub Desktop.
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
| ################################################################################ | |
| ## SETUP | |
| ################################################################################ | |
| # Get RVM and ruby | |
| \curl -sSL https://get.rvm.io | bash -s stable --ruby | |
| # Make sure you have ruby dev | |
| sudo apt-get install ruby-dev (linux) | |
| xcode-select --install (mac) | |
| # Install bundler | |
| gem install bundler | |
| # Install Rails | |
| gem install rails | |
| sudo apt-get install rails (linux) | |
| ################################################################################ | |
| ## First App | |
| ################################################################################ | |
| # Create the app | |
| rails new {enter name here} | |
| # Make sure you install the Gemfile | |
| bundler install | |
| # Run the server | |
| rails server (rails s) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment