i've created a Digital Ocean Rails Applictaion in my droplet, and did basic commands like:
rails generate scaffold comment name:string comment:string
And i got everything normal.
== CreateComments: migrating =================================================
== CreateComments: migrated (0.0089s) ========================================
But when i try to access the page, that should be http://18.104.22.168/comments, i get a message: "The page you were looking for doesn't exist."
Besides not find the page, the error should be something from Rails
I'm developing rails, and need some help here
I develop normally on my Mavericks, and i have my project on bitbucket
I wanna put it on my DigitalOcean droplet
I get this message from production.log
I, [2014-01-06T17:04:34.412795 #811] INFO -- : Started GET "/comments" for 22.214.171.124 at 2014-01-06 17:04:34 +0000
F, [2014-01-06T17:04:34.415689 #811] FATAL -- :
ActionController::RoutingError (No route matches [GET] "/comments"):
actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.0.2) lib/rails/engine.rb:511:in `call'
railties (4.0.2) lib/rails/application.rb:97:in `call'
unicorn (4.7.0) lib/unicorn/http_server.rb:580:in `process_client'
unicorn (4.7.0) lib/unicorn/http_server.rb:660:in `worker_loop'
unicorn (4.7.0) lib/unicorn/http_server.rb:527:in `spawn_missing_workers'
unicorn (4.7.0) lib/unicorn/http_server.rb:153:in `start'
unicorn (4.7.0) bin/unicorn:126:in `'
Any help? Thanks in advance
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.