Error Running Ruby on Rails App in Production Mode -


i'm starting use ruby on rails , going through tutorial started. have working testing, can use rails server command in directory make show basic "welcome aboard" page want see; however, when change rails server -e production see "the page looking doesn't exist." page. when happens, command prompt shows:

[2013-08-07 19:54:26] info  webrick 1.3.1 [2013-08-07 19:54:26] info  ruby 1.9.3 (2013-06-27) [i386-mingw32] [2013-08-07 19:54:26] info  webrick::httpserver#start: pid=12664 port=3000 i, [2013-08-07t19:54:26.515238 #12664]  info -- : started "/" 127.0.0.1 @ 2013-08-07 19:54:26 -0700 f, [2013-08-07t19:54:26.752394 #12664] fatal -- : actioncontroller::routingerror (no route matches [get] "/"): actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `c all' actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `ca   ll' railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tag ged' activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0) 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.0) lib/active_support/cache/strategy/local_cache.rb:83:in ` call' railties (4.0.0) lib/rails/engine.rb:511:in `call' railties (4.0.0) lib/rails/application.rb:97:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' c:/ruby193/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' c:/ruby193/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' c:/ruby193/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' 

this may seem similar number of other questions, have tried number of solutions have failed. thank possible help.

indeed, default behaviour application has no routes. "welcome aboard" page introduction developers , shown in development environment.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -