Report this

What is the reason for this report?

Ruby On Rails Where's my app?

Posted on July 21, 2014

I’m using ruby on rails one click installer

What I’ve done so far is

1.rvm use 2.0.0

2.rails new website

3.rails generate scaffold status name:string content:text

4.rake db:migrate

5.rails server

Goto my digital ocean I.P

http://165.233.62.89/statuses/

But I get message

"The page you were looking for doesn’t exist.

You may have mistyped the address or the page may have moved."

Where can I find my app I’ve just started please?

Thanks for your help



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Where did you get that IP address 112.0.0.1? That should probably be 127.0.0.1.

Thank you for your help :)

this is my first time with ruby

I went to

nano /home/unicorn/unicorn.conf

listen "112.0.0.1:8080"
worker_processes 2
user "rails"
working_directory "/home/**mysite**"
pid "/home/unicorn/pids/unicorn.pid"
stderr_path "/home/unicorn/log/unicorn.log"
stdout_path "/home/unicorn/log/unicorn.log"

and

server {
        listen   80;
        root /home/**mysite**/public;
        server_name _;
        index index.htm index.html;

        location / {
                try_files $uri/index.html $uri.html $uri @app;
        }

then I did

rails server

Then I went to

http://112.0.0.1:8080

But the page was blank?

Many thanks for your help

Sorry I changed the IP address in this forum post 127.0.0.1 because I thought might be a security risk

The I.P address is 127.0.0.1

but the IP address 127.0.0.1:8080

still shows a blank page

Many thanks for your help

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.