Created
February 18, 2013 04:02
-
-
Save DavidMah/4975050 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
| gem install rails | |
| rails new experiment | |
| cd experiment | |
| gem install therubyracer | |
| echo 'gem "therubyracer", :require => "v8"' >> Gemfile | |
| ifconfig | grep "inet 128" | awk '{ print $2 }' # Your IP | |
| rails server | |
| # Now you can hit <Your Ip>:3000 in the web browser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sweet! I wasn't exactly sure what IP to put in so I ran
ifconfig | grep "inet 128" | awk '{print inet 69.91.156.108}'
Which is just the UW IP and I'm not sure it worked because when I looked at the ifconfig file it wasn't changed and when I looked at it in the browser it was still at the 128 address, but maybe therubyracer was all I needed!