2011年2月17日

[ruby-list:47892] rails3, mysql2, twitterで落ちる

杉森といいます。

現在、rails3, mysql2, twitter(gemライブラリ)の構成で開発を進めています。

このとき、twitter gemにあるの以下のメソッドを実行すると、
最後にあるようなログをはいてインタープリタごと落ちます。
Twitter.client.home_timeline

技術不足で問題の切り分けができません。
これはRubyの問題でしょうか、外部ライブラリの問題でしょうか?

助言頂けないでしょうか。


■試したこと

・以下のようなコードをコマンドラインから実行する場合は問題ありません。
---- 動くケース ----
require 'mysql2'
require 'twitter'

options = {
:encoding => "utf8" # and so on...
}
client = Mysql2::Client.new(options)
p client.query("select * from users;").each

# twitter
Twitter.configure do |config|
config.consumer_key = 'xxxx'
config.consumer_secret = 'xxxx'
config.oauth_token = 'xxxx'
config.oauth_token_secret = 'xxxx'
end

c = Twitter.client
p c.home_timeline
---

・空のRailsプロジェクトでmysql2, twitterをGemfileに追加し、
 mysqlへの接続は行わないでTwitter.client.hometimlineメソッドを実行すると
 インタープリタごと落ちます。
(上記 #twitter 以下のコードをコントローラーに記述)
 Gemfileからmysql2を抜くとうまく動きます。

■環境
MacOSX 10.6.6
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.5.0]
mysql5 @5.1.54 (macports)
mysql5-server @5.1.54 (macports)
Rails 3.0.3
mysql2 (0.2.6)
twitter (1.0.0)

■ログ

/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:677:
[BUG] Segmentation fault
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.5.0]

-- control frame ----------
c:0082 p:---- s:0456 b:0456 l:000455 d:000455 CFUNC :connect
c:0081 p:0440 s:0453 b:0453 l:000808 d:000808 METHOD
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:677
c:0080 p:0011 s:0446 b:0446 l:000445 d:000445 METHOD
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:637
c:0079 p:0048 s:0443 b:0443 l:000442 d:000442 METHOD
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:626
c:0078 p:0025 s:0440 b:0440 l:000439 d:000439 METHOD
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:1160
c:0077 p:0504 s:0433 b:0433 l:000432 d:000432 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/faraday-0.5.3/lib/faraday/adapter/net_http.rb:45
c:0076 p:0123 s:0421 b:0421 l:000420 d:000420 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/twitter-1.0.0/lib/faraday/oauth.rb:15
c:0075 p:0053 s:0414 b:0414 l:000413 d:000413 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/twitter-1.0.0/lib/faraday/multipart.rb:16
c:0074 p:0041 s:0410 b:0410 l:000409 d:000409 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/faraday-0.5.3/lib/faraday/request.rb:84
c:0073 p:0044 s:0403 b:0403 l:000402 d:000402 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/faraday-0.5.3/lib/faraday/request.rb:26
c:0072 p:0065 s:0397 b:0397 l:000396 d:000396 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/faraday-0.5.3/lib/faraday/connection.rb:169
c:0071 p:0026 s:0390 b:0390 l:000389 d:000389 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/faraday-0.5.3/lib/faraday/connection.rb:64
c:0070 p:0021 s:0384 b:0384 l:000ee0 d:000ee0 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/twitter-1.0.0/lib/twitter/request.rb:28
c:0069 p:0027 s:0376 b:0376 l:000375 d:000375 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/twitter-1.0.0/lib/twitter/request.rb:6
c:0068 p:0019 s:0370 b:0370 l:000369 d:000369 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/twitter-1.0.0/lib/twitter/client/timeline.rb:42
c:0067 p:0045 s:0365 b:0365 l:000364 d:000364 METHOD
/Users/username/Documents/project/projectname/tmp/twitter_test/app/controllers/twitter_controller.rb:20
c:0066 p:0012 s:0361 b:0360 l:000359 d:000359 METHOD
/Users/username/Documents/project/projectname/tmp/twitter_test/app/controllers/twitter_controller.rb:4
c:0065 p:0012 s:0357 b:0357 l:000356 d:000356 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/implicit_render.rb:4
c:0064 p:0015 s:0352 b:0352 l:000351 d:000351 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:151
c:0063 p:0041 s:0347 b:0347 l:000346 d:000346 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/rendering.rb:11
c:0062 p:0010 s:0343 b:0343 l:002050 d:000342 BLOCK
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:18
c:0061 p:0063 s:0341 b:0341 l:000340 d:000340 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:435
c:0060 p:0113 s:0335 b:0335 l:000334 d:000334 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:409
c:0059 p:0024 s:0326 b:0326 l:000325 d:000325 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:93
c:0058 p:0015 s:0320 b:0320 l:002050 d:002050 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:17
c:0057 p:0012 s:0316 b:0316 l:000297 d:000315 BLOCK
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:30
c:0056 p:0017 s:0312 b:0312 l:000302 d:000311 BLOCK
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52
c:0055 p:0032 s:0310 b:0310 l:000309 d:000309 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21
c:0054 p:0036 s:0303 b:0303 l:000302 d:000302 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52
c:0053 p:0152 s:0298 b:0298 l:000297 d:000297 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:29
c:0052 p:0012 s:0292 b:0292 l:000291 d:000291 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/rescue.rb:17
c:0051 p:0093 s:0287 b:0287 l:000286 d:000286 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:120
c:0050 p:0084 s:0281 b:0281 l:000280 d:000280 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:40
c:0049 p:0048 s:0276 b:0276 l:000275 d:000275 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal.rb:138
c:0048 p:0086 s:0271 b:0271 l:000270 d:000270 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/rack_delegation.rb:14
c:0047 p:0030 s:0265 b:0265 l:001078 d:000264 BLOCK
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal.rb:178
c:0046 p:---- s:0262 b:0262 l:000261 d:000261 FINISH
c:0045 p:---- s:0260 b:0260 l:000259 d:000259 CFUNC :call
c:0044 p:0022 s:0256 b:0256 l:000255 d:000255 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:62
c:0043 p:0094 s:0250 b:0250 l:000249 d:000249 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:27
c:0042 p:0097 s:0244 b:0244 l:000216 d:000243 BLOCK
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:148
c:0041 p:0014 s:0238 b:0238 l:000222 d:000237 BLOCK
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:93
c:0040 p:0189 s:0233 b:0233 l:000232 d:000232 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:68
c:0039 p:0125 s:0223 b:0223 l:000222 d:000222 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:92
c:0038 p:0092 s:0217 b:0217 l:000216 d:000216 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:139
c:0037 p:0025 s:0211 b:0211 l:000210 d:000210 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:492
c:0036 p:0015 s:0207 b:0207 l:000206 d:000206 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/best_standards_support.rb:17
c:0035 p:0093 s:0200 b:0200 l:000199 d:000199 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/head.rb:14
c:0034 p:0155 s:0193 b:0193 l:000192 d:000192 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/methodoverride.rb:24
c:0033 p:0046 s:0187 b:0187 l:000186 d:000186 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/params_parser.rb:21
c:0032 p:0054 s:0182 b:0182 l:000181 d:000181 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/flash.rb:182
c:0031 p:0027 s:0175 b:0175 l:000174 d:000174 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/session/abstract_store.rb:149
c:0030 p:0015 s:0164 b:0164 l:000163 d:000163 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/cookies.rb:295
c:0029 p:0014 s:0156 b:0156 l:001630 d:000155 BLOCK
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:32
c:0028 p:0019 s:0154 b:0154 l:000153 d:000153 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/query_cache.rb:28
c:0027 p:0051 s:0150 b:0150 l:000149 d:000149 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:12
c:0026 p:0019 s:0146 b:0146 l:001630 d:001630 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:31
c:0025 p:0015 s:0142 b:0142 l:000141 d:000141 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.r
c:0024 p:0029 s:0138 b:0138 l:000e00 d:000137 BLOCK
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:46
c:0023 p:0155 s:0136 b:0136 l:000135 d:000135 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:415
c:0022 p:0011 s:0126 b:0126 l:000e00 d:000e00 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:44
c:0021 p:0015 s:0122 b:0122 l:000121 d:000121 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/sendfile.rb:107
c:0020 p:0049 s:0112 b:0112 l:000111 d:000111 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/remote_ip.rb:48
c:0019 p:0015 s:0108 b:0108 l:000107 d:000107 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/show_exceptions.rb:46
c:0018 p:0027 s:0100 b:0100 l:000099 d:000099 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/rack/logger.rb:13
c:0017 p:0032 s:0096 b:0096 l:000095 d:000095 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/runtime.rb:17
c:0016 p:0052 s:0087 b:0087 l:000086 d:000086 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/cache/strategy/local_cache.rb:72
c:0015 p:0014 s:0083 b:0083 l:000077 d:000082 BLOCK
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/lock.rb:11
c:0014 p:0019 s:0081 b:0081 l:000080 d:000080 METHOD <internal:prelude>:10
c:0013 p:0054 s:0078 b:0078 l:000077 d:000077 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/lock.rb:11
c:0012 p:0193 s:0073 b:0073 l:000072 d:000072 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/static.rb:30
c:0011 p:0032 s:0066 b:0066 l:000065 d:000065 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/application.rb:168
c:0010 p:0021 s:0062 b:0062 l:000061 d:000061 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/application.rb:77
c:0009 p:---- s:0057 b:0057 l:000056 d:000056 FINISH
c:0008 p:0015 s:0055 b:0055 l:000054 d:000054 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/rack/log_tailer.rb:14
c:0007 p:0015 s:0050 b:0050 l:000049 d:000049 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/content_length.rb:13
c:0006 p:0338 s:0042 b:0042 l:000041 d:000041 METHOD
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52
c:0005 p:0257 s:0030 b:0030 l:000029 d:000029 METHOD
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:111
c:0004 p:0393 s:0020 b:0020 l:000019 d:000019 METHOD
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:70
c:0003 p:0126 s:0009 b:0009 l:001e78 d:000008 BLOCK
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:183
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP
---------------------------
-- Ruby level backtrace information ----------------------------------------
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:183:in
`block in start_thread'
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:70:in
`run'
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/webrick/httpserver.rb:111:in
`service'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/handler/webrick.rb:52:in
`service'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/content_length.rb:13:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/rack/log_tailer.rb:14:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/application.rb:77:in
`method_missing'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/application.rb:168:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/static.rb:30:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/lock.rb:11:in
`call'
<internal:prelude>:10:in `synchronize'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/lock.rb:11:in
`block in call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/cache/strategy/local_cache.rb:72:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/runtime.rb:17:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.3/lib/rails/rack/logger.rb:13:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/show_exceptions.rb:46:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/remote_ip.rb:48:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/sendfile.rb:107:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:44:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:415:in
`_run_call_callbacks'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/callbacks.rb:46:in
`block in call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:353:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:31:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:12:in
`cache'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in
`cache'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/query_cache.rb:32:in
`block in call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/cookies.rb:295:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/session/abstract_store.rb:149:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/flash.rb:182:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/params_parser.rb:21:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-1.2.1/lib/rack/methodoverride.rb:24:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/head.rb:14:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:492:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:139:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:92:in
`recognize'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:68:in
`optimized_each'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/code_generation.rb:93:in
`block in recognize'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/rack-mount-0.6.13/lib/rack/mount/route_set.rb:148:in
`block in call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:27:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:62:in
`dispatch'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/routing/route_set.rb:62:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal.rb:178:in
`block in action'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/rack_delegation.rb:14:in
`dispatch'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal.rb:138:in
`dispatch'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/rendering.rb:40:in
`process'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:120:in
`process'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/rescue.rb:17:in
`process_action'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:29:in
`process_action'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in
`instrument'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications/instrumenter.rb:21:in
`instrument'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/notifications.rb:52:in
`block in instrument'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/instrumentation.rb:30:in
`block in process_action'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:17:in
`process_action'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:93:in
`run_callbacks'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:409:in
`_run_process_action_callbacks'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/callbacks.rb:435:in
`_run__2405284579593913355__process_action__3694739359826283456__callbacks'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/callbacks.rb:18:in
`block in process_action'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/rendering.rb:11:in
`process_action'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/abstract_controller/base.rb:151:in
`process_action'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_controller/metal/implicit_render.rb:4:in
`send_action'
/Users/username/Documents/project/projectname/tmp/twitter_test/app/controllers/twitter_controller.rb:4:in
`timeline'
/Users/username/Documents/project/projectname/tmp/twitter_test/app/controllers/twitter_controller.rb:20:in
`fetch_timeline'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/twitter-1.0.0/lib/twitter/client/timeline.rb:42:in
`home_timeline'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/twitter-1.0.0/lib/twitter/request.rb:6:in
`get'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/twitter-1.0.0/lib/twitter/request.rb:28:in
`request'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/faraday-0.5.3/lib/faraday/connection.rb:64:in
`get'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/faraday-0.5.3/lib/faraday/connection.rb:169:in
`run_request'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/faraday-0.5.3/lib/faraday/request.rb:26:in
`run'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/faraday-0.5.3/lib/faraday/request.rb:84:in
`run'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/twitter-1.0.0/lib/faraday/multipart.rb:16:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/twitter-1.0.0/lib/faraday/oauth.rb:15:in
`call'
/Users/username/.rvm/gems/ruby-1.9.2-p0/gems/faraday-0.5.3/lib/faraday/adapter/net_http.rb:45:in
`call'
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:1160:in
`request'
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:626:in
`start'
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:637:in
`do_start'
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:677:in
`connect'
/Users/username/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/http.rb:677:in
`connect'

-- C level backtrace information -------------------------------------------

[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

Abort trap


以上


投稿者 xml-rpc : 2011年2月17日 11:48
役に立ちました?:
過去のフィードバック 平均:(0) 総合:(0) 投票回数:(0)
本記事へのTrackback: http://hoop.euqset.org/blog/mt-tb2006.cgi/102060
トラックバック
コメント
コメントする




画像の中に見える文字を入力してください。