Installing Ruby on Windows: Part II
In Part II of this ‘Installing Ruby on Windows’ tutorial, you learn to create a simple app to test your Ruby development environment. To learn more about setting up a Ruby development environment, check out Part I of this tutorial.
Go to your Documents directory:
Once you’re there:
rails new testapp
Go to the testapp directory:
List the files in that directory to make sure everything looks normal:
bundle exec rails server
In the terminal, you’ll see that your Rails application has started development on a specific address beginning with ‘0.0.0.0’. For simplicity’s sake, you can replace that string of 0’s with “localhost:” when you enter it into your browser. You should see a welcome message. You’re ready to go!