kpumuk / meta-tags

Search Engine Optimization (SEO) for Ruby on Rails applications.
MIT License
2.73k stars 275 forks source link

not work in Rails 3.1 #8

Closed marshluca closed 12 years ago

marshluca commented 13 years ago

Below is my trace:

➜  web git:(master) ✗ rails s
/Users/marshluca/Code/Work/web/vendor/bundle/ruby/1.8/gems/actionpack-3.1.0.rc4/lib/action_view/helpers/asset_tag_helpers/asset_paths.rb:66: uninitialized constant ActionView::Helpers::AssetTagHelper::AssetPaths::Mutex (NameError)
    from /Users/marshluca/Code/Work/web/vendor/bundle/ruby/1.8/gems/actionpack-3.1.0.rc4/lib/action_view/helpers/asset_tag_helper.rb:3:in `require'
    from /Users/marshluca/Code/Work/web/vendor/bundle/ruby/1.8/gems/actionpack-3.1.0.rc4/lib/action_view/helpers/asset_tag_helper.rb:3
    from /Users/marshluca/Code/Work/web/vendor/bundle/ruby/1.8/gems/actionpack-3.1.0.rc4/lib/action_view/helpers.rb:38
    from /Users/marshluca/Code/Work/web/vendor/bundle/ruby/1.8/gems/actionpack-3.1.0.rc4/lib/action_view/base.rb:134
    from /Users/marshluca/Code/Work/web/vendor/bundle/ruby/1.8/gems/meta-tags-1.2.4/lib/meta_tags.rb:11
    from /Users/marshluca/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in `require'
    from /Users/marshluca/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in `require'
    from /Users/marshluca/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in `each'
    from /Users/marshluca/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in `require'
    from /Users/marshluca/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in `each'
    from /Users/marshluca/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in `require'
    from /Users/marshluca/.rvm/rubies/ree-1.8.7-2011.03/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler.rb:120:in `require'
    from /Users/marshluca/Code/Work/web/config/application.rb:7
    from /Users/marshluca/Code/Work/web/vendor/bundle/ruby/1.8/gems/railties-3.1.0.rc4/lib/rails/commands.rb:52:in `require'
    from /Users/marshluca/Code/Work/web/vendor/bundle/ruby/1.8/gems/railties-3.1.0.rc4/lib/rails/commands.rb:52
    from /Users/marshluca/Code/Work/web/vendor/bundle/ruby/1.8/gems/railties-3.1.0.rc4/lib/rails/commands.rb:49:in `tap'
    from /Users/marshluca/Code/Work/web/vendor/bundle/ruby/1.8/gems/railties-3.1.0.rc4/lib/rails/commands.rb:49
    from script/rails:6:in `require'
    from script/rails:6
doabit commented 13 years ago

I use rails3.1.rc6,it works well.

tarellel commented 12 years ago

I'm using rails_3.1.3 and works fine for me, it must be something else in your setup that's causing this.

EDIT: I've also confirmed it works in the 3.2rc1 as well, care to elaborate if you're still getting the error?

philbotto commented 12 years ago

I am also using Rails 3.1.3 and have had no problems.

marshluca commented 12 years ago

thanks, I solved the problem after upgrad rails to 3.1.3