derailed/rackamole

uninitialized constant Rack::Mole::OrderedHash with Ruby 1.8.7

rmoriz opened this issue · 1 comments

rackmole v0.3.6

[2010-05-19 00:25:15] INFO WEBrick 1.3.1
[2010-05-19 00:25:15] INFO ruby 1.8.7 (2010-01-10) [i686-darwin10]
[2010-05-19 00:25:15] INFO WEBrick::HTTPServer#start: pid=2902 port=3000
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : !! MOLE RECORDING CRAPPED OUT !! -- uninitialized constant Rack::Mole::OrderedHash
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:105:in const_missing' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rackamole-0.3.6/lib/rackamole/mole.rb:294:inmole_info'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rackamole-0.3.6/lib/rackamole/mole.rb:167:in mole_feature' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rackamole-0.3.6/lib/rackamole/mole.rb:112:incall'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in call' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:incall'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in call' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:incall'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in call' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:incall'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in call' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:insynchronize'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in call' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:incall'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in run' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:incall'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in call' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:incall'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in each' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:incall'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in call' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:incall'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in service' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/1.8/webrick/httpserver.rb:104:inservice'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/1.8/webrick/httpserver.rb:65:in run' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/1.8/webrick/server.rb:173:instart_thread'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/1.8/webrick/server.rb:162:in start' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/1.8/webrick/server.rb:162:instart_thread'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/1.8/webrick/server.rb:95:in start' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/1.8/webrick/server.rb:92:ineach'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/1.8/webrick/server.rb:92:in start' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/1.8/webrick/server.rb:23:instart'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/1.8/webrick/server.rb:82:in start' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:14:inrun'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' 2010-05-19 00:25:34 2902 ERROR RACKAMOLE : /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire'
2010-05-19 00:25:34 2902 ERROR RACKAMOLE : script/server:3

1.8.7 has no OrderedHash...

Hi - Tx for reporting back! Which version of mongo are you running? - They changed the API's in 1.0 and I am guessing this might be the issue.

Tx!!