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

rails:3285

From: 榊祐介 <sakaki@t...>
Date: Thu, 5 Nov 2009 12:47:20 +0900
Subject: [rails:3285] Re: ruby1.9.2devとrailsについて

榊です。こんにちは。

Railsは現在Ruby1.9系には対応していません。
業務で使用するならRuby1.8.7系でしょう。

人柱orRailsのRuby1.9対応に協力したい!という趣旨ならごめんなさい。

2009年11月5日12:38 前川 映一 <eiichi_maekawa@m...>:
>
> Rails参考ページ
> http://www.rubylife.jp/rails/ini/index.html
>
> Ruby1.9.2で、実行しましたが、以下のエラーとなりました。
> 解決方法について、ご指導いただきたく、よろしくお願いします。
>
> ちなみに、1.9.1p129では、問題なく動作しました。
> 1.9.1と1.9.2の違いについては、十分把握できていません(お叱り、覚悟していま
> す)。
>
> rails関連は、以下のとおりです。(1.9.2dev、1.9.1p129とも同じです。)
> D:\railsapp\hello>gem list --local
>
> *** LOCAL GEMS ***
>
> actionmailer (2.3.4)
> actionpack (2.3.4)
> activerecord (2.3.4)
> activeresource (2.3.4)
> activesupport (2.3.4)
> minitest (1.4.2)
> mysql (2.8.1)
> rack (1.0.0)
> rails (2.3.4)
> rake (0.8.4)
> rdoc (2.2.2)
> sinatra (0.9.4)
> sqlite3-ruby (1.2.5)
>
> 1)1.9.2devでの実行結果
>
> D:\railsapp\hello>ruby script/server
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support/core_ext/try.rb:29: [BUG] rb_add_method: unsupported
> method type (8)
>
> ruby 1.9.2dev (2009-07-18) [i386-mswin32]
>
> -- control frame ----------
> c:0020 p:---- s:0063 b:0063 l:000062 d:000062 CFUNC  :alias_method
> c:0019 p:0044 s:0058 b:0058 l:000057 d:000057 CLASS
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support/core_ext/try.rb:29
> c:0018 p:0009 s:0056 b:0056 l:000055 d:000055 TOP
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support/core_ext/try.rb:1
> c:0017 p:---- s:0054 b:0054 l:000053 d:000053 FINISH
> c:0016 p:---- s:0052 b:0052 l:000051 d:000051 CFUNC  :require
> c:0015 p:0040 s:0048 b:0048 l:000038 d:000047 BLOCK
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support/core_ext.rb:3
> c:0014 p:---- s:0044 b:0044 l:000043 d:000043 FINISH
> c:0013 p:---- s:0042 b:0042 l:000041 d:000041 CFUNC  :each
> c:0012 p:0040 s:0039 b:0039 l:000038 d:000038 TOP
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support/core_ext.rb:1
> c:0011 p:---- s:0037 b:0037 l:000036 d:000036 FINISH
> c:0010 p:---- s:0035 b:0035 l:000034 d:000034 CFUNC  :require
> c:0009 p:0033 s:0031 b:0031 l:000030 d:000030 TOP
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support.rb:55
> c:0008 p:---- s:0029 b:0029 l:000028 d:000028 FINISH
> c:0007 p:---- s:0027 b:0027 l:000026 d:000026 CFUNC  :require
> c:0006 p:0011 s:0023 b:0023 l:000022 d:000022 TOP
> D:/Ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.4/lib/commands/server.rb:1
> c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH
> c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :require
> c:0003 p:0038 s:0006 b:0006 l:002504 d:001404 EVAL   script/server:3
> c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
> c:0001 p:0000 s:0002 b:0002 l:002504 d:002504 TOP
> ---------------------------
> script/server:3:in `<main>'
> script/server:3:in `require'
> D:/Ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.4/lib/commands/server.rb:1:in
> `<top (required)>'
> D:/Ruby/lib/ruby/gems/1.9.1/gems/rails-2.3.4/lib/commands/server.rb:1:in
> `require'
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support.rb:55:in `<top (required)>'
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support.rb:55:in `require'
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support/core_ext.rb:1:in `<top (required)>'
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support/core_ext.rb:1:in `each'
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support/core_ext.rb:3:in `block in <top (required)>'
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support/core_ext.rb:3:in `require'
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support/core_ext/try.rb:1:in `<top (required)>'
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support/core_ext/try.rb:29:in `<class:Object>'
> D:/Ruby/lib/ruby/gems/1.9.1/gems/activesupport-2.3.4
> /lib/active_support/core_ext/try.rb:29:in `alias_method'
>
> [NOTE]
> You may have encountered a bug in the Ruby interpreter or extension
> libraries.
> Bug reports are welcome.
> For details: http://www.ruby-lang.org/bugreport.html
>
>
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.*
>
>
> 2)Ruby1.9.1p129での実行結果
>
> D:\railsapp\hello>ruby script/server
> => Booting WEBrick
> => Rails 2.3.4 application starting on http://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server
> [2009-11-04 17:21:18] INFO  WEBrick 1.3.1
> [2009-11-04 17:21:18] INFO  ruby 1.9.1 (2009-05-12) [i386-mswin32]
> [2009-11-04 17:21:18] INFO  WEBrick::HTTPServer#start: pid=568 port=3000
>
>
> Processing MainController#hello (for 127.0.0.1 at 2009-11-04 17:21:39)
> [GET]
> Rendering main/hello
> Completed in 78ms (View: 78, DB: 0) | 200 OK [http://localhost/main/hello]
>
>
> Processing MainController#bye (for 127.0.0.1 at 2009-11-04 17:21:54) [GET]
> Rendering main/bye
> Completed in 31ms (View: 31, DB: 0) | 200 OK [http://localhost/main/bye]
> ain/bye]
>
>
> Processing MainController#hello (for 127.0.0.1 at 2009-11-04 17:22:19)
> [GET]
> Rendering main/hello
> Completed in 16ms (View: 16, DB: 0) | 200 OK [http://localhost/main/hello]
> llo]
>
>
> Processing MainController#bye (for 127.0.0.1 at 2009-11-04 17:22:26) [GET]
> Rendering main/bye
> Completed in 16ms (View: 0, DB: 0) | 200 OK [http://localhost/main/bye]
> [2009-11-04 17:22:39] INFO  going to shutdown ...
> [2009-11-04 17:22:39] INFO  WEBrick::HTTPServer#start done.
> Exiting
>
> 以上、ご指導のほど、よろしく、お願いします。
>
>
> --
> ML: rails@r...
> 使い方: http://QuickML.com/
>

--
ML: rails@r...
使い方: http://QuickML.com/

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

      3284 2009-11-05 04:38 [eiichi_maekawa@m... ] ruby1.9.2devとrailsについて             
->    3285 2009-11-05 04:47 ┣[sakaki@t...         ]                                       
      3286 2009-11-05 05:18 ┃┗[eiichi_maekawa@m... ]                                     
      3288 2009-11-05 21:47 ┗[ronnie@d...         ]                                       
      3289 2009-11-05 23:52  ┗[eiichi_maekawa@m... ]                                     
      3290 2009-11-05 23:59   ┗[shintaro.kakutani@g.]                                   
      3291 2009-11-06 00:53    ┗[eiichi_maekawa@m... ]