To start the native server of Ruby on Rails, WEBrick, you have to open a shell and go until the path of your website and write "rails server" to start it. Example on Windows:
$ C:/rubyOnRails/site1> rails server
Same for GNU/Linux:
$ home/name/rubyOnRails/site1> rails server
You will see the server start and show all what is happening when there is activity on your website. To display something on your server, just go on http://localhost/3000/ and some information will be displayed.
© Badprog - I want to change the world. And I will.
Add new comment