Last active
August 29, 2015 14:08
-
-
Save matutter/634dba562aa2ffd356b8 to your computer and use it in GitHub Desktop.
Setup RoR
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
| echo '--> Run me with sudo privileges' | |
| echo '--> If an error about a signature occurs add the key holder in the error' | |
| apt-get update | |
| apt-get install curl | |
| \curl -L https://get.rvm.io | bash -s stable --rails | |
| source ~/.rvm/scripts/rvm | |
| rvm install ruby-2.1.4 | |
| rvm use ruby-2.1.4 | |
| rails new sample | |
| cd sample | |
| echo "gem 'therubyracer', platforms: :ruby" >> Gemfile | |
| bundle install | |
| rails s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment