I recently followed this tutorial to setup a ruby on rails server:
https://gorails.com/setup/ubuntu/14.04
But I did it on root.
The server seems to work correctly, as when I type the command rails server it shows me this:
root@pavlos55-SATELLITE-S50-B:/home/pavlos55/myapp# rails server
=> Booting WEBrick
=> Rails 4.2.4 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2015-10-18 14:33:42] INFO WEBrick 1.3.1
[2015-10-18 14:33:42] INFO ruby 2.2.3 (2015-08-18) [x86_64-linux]
[2015-10-18 14:33:42] INFO WEBrick::HTTPServer#start: pid=8462 port=3000
But when I type localhost:3000 on a browser, it says that role "root" doesn't exist. What is the solution here?
How do I access my server from the browser? Thank you.