jpmobile/jpmobile — Issue #36: jpmobile と meta_search が衝突する
Author: kikunaga0719
Created: 2012-01-25 03:11:35+00:00
State: open

* rails (3.2.0)
* jpmobile (3.0.0)
* meta_search (1.1.2)

上記の組み合わせで「bundle exec rake -T」実行時にエラーが発生します。
新規プロジェクトでまだ設定が完全に終わっていませんが Gemfile から jpmobile か meta_search のどちらかを外すと「bundle exec rake -T」が正常に走ります。

```
$ bundle exec rake -T --trace
rake aborted!
uninitialized constant ActionDispatch::Session::Compatibility
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/jpmobile-3.0.0/lib/jpmobile/trans_sid.rb:39:in `'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/jpmobile-3.0.0/lib/jpmobile/trans_sid.rb:36:in `'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/jpmobile-3.0.0/lib/jpmobile/trans_sid.rb:5:in `'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/jpmobile-3.0.0/lib/jpmobile/rails.rb:8:in `block in '
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/activesupport-3.2.0/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/activesupport-3.2.0/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/activesupport-3.2.0/lib/active_support/lazy_load_hooks.rb:26:in `on_load'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/jpmobile-3.0.0/lib/jpmobile/rails.rb:2:in `'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/jpmobile-3.0.0/lib/jpmobile.rb:58:in `'
/usr/local/rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `require'
/usr/local/rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
/usr/local/rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `each'
/usr/local/rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `block in require'
/usr/local/rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `each'
/usr/local/rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `require'
/usr/local/rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler.rb:122:in `require'
/home/hk/src/sr/config/application.rb:14:in `'
/home/hk/src/sr/Rakefile:5:in `require'
/home/hk/src/sr/Rakefile:5:in `'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in `load_rakefile'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/rake-0.9.2.2/lib/rake/application.rb:501:in `raw_load_rakefile'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/rake-0.9.2.2/lib/rake/application.rb:82:in `block in load_rakefile'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/rake-0.9.2.2/lib/rake/application.rb:81:in `load_rakefile'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/rake-0.9.2.2/lib/rake/application.rb:65:in `block in run'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/gems/rake-0.9.2.2/bin/rake:33:in `'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/bin/rake:19:in `load'
/usr/local/rvm/gems/ruby-1.9.2-p290@sr/bin/rake:19:in `

'
```
（上記のログのパスやgemset名は編集しています）