[前][次][番号順一覧][スレッド一覧]

rails:3761

From: eiichi_maekawa@m...
Date: Thu, 10 May 2012 16:06:33 +0900
Subject: [rails:3761] Re: rails3.2.3 デモ画面表示後にエラーメッセージが出る


前川です。

ruby187p358 は、rails3.2.3には、対応できない という理解でいいでしょうか?

1.8.7系は、Rails3.1.3までと理解していいでしょうか?

ActiveRecord::ConnectionNotEstablished のメッセージは、どのようなときに出
るのでしょうか?

どなたか、ご教示いただければ、助かります。

1.9.3p194では、エラーなしで、デモ画面を確認できました。

了

>
> 前川です。
>
> rails3.2.3をruby187p358にインストールして、rails s を実行し、
>
> Welcome  aboard画面が、表示した後、以下のメッセージが出ました。
>
> どのように対応すればいいでしょうか。
>
> よろしくお願いします。
>
> O/S;;
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
>
> D:\mall323Ruby187p358>ruby -v
> ruby 1.8.7 (2012-02-08 patchlevel 358) [i386-mingw32]
>
> D:\mall323Ruby187p358>rails -v
> Rails 3.2.3
>
> ※rails s 後のメッセージ
>
> D:\mall323Ruby187p358>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-04-24 16:26:07] INFO  WEBrick 1.3.1
> [2012-04-24 16:26:07] INFO  ruby 1.8.7 (2012-02-08) [i386-mingw32]
> [2012-04-24 16:26:07] INFO  WEBrick::HTTPServer#start: pid=3920 port=3000
>
> ※画面表示後のメッセージ
>
> Started GET "/assets/rails.png" for 127.0.0.1 at Tue Apr 24 16:27:39
+0900
> 2012
>
> 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 `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
> `call'
>   activesupport (3.2.3) lib/active_support/callbacks.rb:405:in
> `_run__717468625__call__4__callbacks'
>   activesupport (3.2.3) lib/active_support/callbacks.rb:405:in `send'
>   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 `send'
>   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:/ruby187p358/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
>   D:/ruby187p358/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
>   D:/ruby187p358/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
>   D:/ruby187p358/lib/ruby/1.8/webrick/server.rb:162:in `start'
>   D:/ruby187p358/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
>   D:/ruby187p358/lib/ruby/1.8/webrick/server.rb:95:in `start'
>   D:/ruby187p358/lib/ruby/1.8/webrick/server.rb:92:in `each'
>   D:/ruby187p358/lib/ruby/1.8/webrick/server.rb:92:in `start'
>   D:/ruby187p358/lib/ruby/1.8/webrick/server.rb:23:in `start'
>   D:/ruby187p358/lib/ruby/1.8/webrick/server.rb:82:in `start'
>   rack (1.4.0) lib/rack/handler/webrick.rb:13:in `run'
>   rack (1.4.0) lib/rack/server.rb:265:in `start'
>   railties (3.2.3) lib/rails/commands/server.rb:70:in `start'
>   railties (3.2.3) lib/rails/commands.rb:55
>   railties (3.2.3) lib/rails/commands.rb:50:in `tap'
>   railties (3.2.3) lib/rails/commands.rb:50
>   script/rails:6:in `require'
>   script/rails:6
>
>
>   Rendered
> D:/ruby187p358/lib/ruby/gems/1.8/gems/actionpack-3.2.
> 3/lib/action_dispatch/middleware/templates/rescues/_trace.erb
>  (0.0ms)
>   Rendered
> D:/ruby187p358/lib/ruby/gems/1.8/gems/actionpack-3.2.
>
3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb

>  (46.9ms)
>   Rendered
> D:/ruby187p358/lib/ruby/gems/1.8/gems/actionpack-3.2.
> 3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb
>  within rescues/layout (421.9ms)
>
> ※CTRL C後のメッセージ
> Exiting
> バッチ ジョブを終了しますか (Y/N)? y
>
> D:\mall323Ruby187p358>
>
> 了
>
>
> --
> 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... ]