rails:3766
From: eiichi_maekawa@m...
Date: Thu, 17 May 2012 17:25:44 +0900
Subject: [rails:3766] Re: rails3.2.3 デモ画面表示後にエラーメッセージが出る
前川です。 ruby1.9.3p194 へRails3.2.3をインストールし、i.e.でデモ画面を表示さ せ、ctrl-c でシャットダウンしましたが、 ActiveRecordのエラーが、出ました。ちなみに、ruby1.9.3p0では、エラー無く シャットダウンできました。 よろしくお願いします。 O/S;;Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. Ruby;;1.9.3p194 ;;デモ実施結果 D:\mall323Ruby193p194_DBG>rails s => Booting WEBrick => Rails 3.2.3 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2012-05-17 16:55:50] INFO WEBrick 1.3.1 [2012-05-17 16:55:50] INFO ruby 1.9.3 (2012-04-20) [i386-mingw32] [2012-05-17 16:55:50] INFO WEBrick::HTTPServer#start: pid=3112 port=3000 [2012-05-17 16:58:21] INFO going to shutdown ... Started GET "/assets/rails.png" for 127.0.0.1 at 2012-05-17 16:57:38 +0900 ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished): activerecord (3.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:398:in `retrieve_connection' activerecord (3.2.3) lib/active_record/connection_adapters/abstract/connection_specification.rb:168:in `retrieve_connection' activerecord (3.2.3) lib/active_record/connection_adapters/abstract/connection_specification.rb:142:in `connection' activerecord (3.2.3) lib/active_record/query_cache.rb:67:in `rescue in call' activerecord (3.2.3) lib/active_record/query_cache.rb:61:in `call' activerecord (3.2.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:467:in `call' actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `_run__326593397__call__569970748__callbacks' activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `__run_callback' activesupport (3.2.3) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' activesupport (3.2.3) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (3.2.3) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (3.2.3) lib/action_dispatch/middleware/reloader.rb:65:in `call' actionpack (3.2.3) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' actionpack (3.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' actionpack (3.2.3) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.3) lib/rails/rack/logger.rb:26:in `call_app' railties (3.2.3) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.0) lib/rack/methodoverride.rb:21:in `call' rack (1.4.0) lib/rack/runtime.rb:17:in `call' activesupport (3.2.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.0) lib/rack/lock.rb:15:in `call' actionpack (3.2.3) lib/action_dispatch/middleware/static.rb:62:in `call' railties (3.2.3) lib/rails/engine.rb:479:in `call' railties (3.2.3) lib/rails/application.rb:220:in `call' rack (1.4.0) lib/rack/content_length.rb:14:in `call' railties (3.2.3) lib/rails/rack/log_tailer.rb:14:in `call' rack (1.4.0) lib/rack/handler/webrick.rb:59:in `service' D:/ruby193p194_debugger/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' D:/ruby193p194_debugger/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' D:/ruby193p194_debugger/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered D:/ruby193p194_debugger/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (31.2ms) Rendered D:/ruby193p194_debugger/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (734.3ms ) Rendered D:/ruby193p194_debugger/lib/ruby/gems/1.9.1/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/lay out (2702.8ms) [2012-05-17 16:58:47] INFO WEBrick::HTTPServer#start done. Exiting バッチ ジョブを終了しますか (Y/N)? y 了 eiichi_maekawa@m... wrote on 2012/05/11 07:50:40: > 前川です。 > > 下田さん レス ありがとうございます。 > > D:\mall323Ruby193p194\config には、 ご指摘のファイル ありますが、他に > は、どのようなことがあるのでしょうか? > > よろしくお願いします。 > > > "Jun'ya Shimoda" <jun-shimo@n...> wrote on 2012/05/10 18:57:13: > > > 下田です。 > > > > > ActiveRecord::ConnectionNotEstablished のメッセージは、どのようなと き > に出 > > > るのでしょうか? > > 私が最後にそのエラーメッセージを見たときは > > 単純にdatabase.ymlが無かったです。 > > > > -- > > A A Name : 下田 純也 (Jun'ya Shimoda) > > (o'.'o) _/ e-mail : jun-shimo@nifty.com > > (> ~ <)/ Blog : http://d.hatena.ne.jp/JironBach/ > > Twitter: http://twitter.com/JironBach/ > > > > > > -- > > ML: rails@r... > > 使い方: http://QuickML.com/ > > > > ==== > > > -- > ML: rails@r... > 使い方: http://QuickML.com/ > > ==== -- ML: rails@r... 使い方: http://QuickML.com/
3756 2012-04-24 09:33 ["=?ISO-2022-JP?] rails3.2.3 デモ画面表示後にエラーメッセージが出る 3761 2012-05-10 09:06 ┗[eiichi_maekawa@m... ] 3762 2012-05-10 11:57 ┗[jun-shimo@n... ] 3763 2012-05-11 00:50 ┗[eiichi_maekawa@m... ] -> 3766 2012-05-17 10:25 ┗[eiichi_maekawa@m... ]