Sounds like you're on the wrong version of Rails. Please check the README to
see which versions are supported and make sure you're using the correct one.

Thanks,
Bruno

On Sat, May 8, 2010 at 11:59 PM, Utkarsh Sengar <[email protected]>wrote:

> I have created a simple Rails app and installed all the gems required
> and modified the setting as specified in the readme.
>
> When I do this:
>
> ./generate plugin_migration
>
>
> I get this error:
>
> /vendor/plugins/community_engine/config/initializers/
> sessions_middleware.rb:1: undefined method `middleware' for
> ActionController::Dispatcher:Class (NoMethodError)
>        from /vendor/rails/activesupport/lib/active_support/dependencies.rb:
> 142:in `load_without_new_constant_marking'
>        from /vendor/rails/activesupport/lib/active_support/dependencies.rb:
> 142:in `load_without_desert'
>        from /vendor/rails/activesupport/lib/active_support/dependencies.rb:
> 521:in `new_constants_in'
>        from /vendor/rails/activesupport/lib/active_support/dependencies.rb:
> 142:in `load_without_desert'
>        from /var/lib/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/object.rb:
> 18:in `load'
>        from /var/lib/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/object.rb:
> 32:in `__each_matching_file'
>        from /var/lib/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/object.rb:
> 17:in `load'
>        from /vendor/plugins/community_engine/config/boot.rb:5
>        from /vendor/plugins/community_engine/config/boot.rb:4:in `each'
>        from /vendor/plugins/community_engine/config/boot.rb:4
>        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
>        from /vendor/rails/activesupport/lib/active_support/dependencies.rb:
> 153:in `require_without_desert'
>        from /vendor/rails/activesupport/lib/active_support/dependencies.rb:
> 521:in `new_constants_in'
>        from /vendor/rails/activesupport/lib/active_support/dependencies.rb:
> 153:in `require_without_desert'
>        from /var/lib/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/object.rb:
> 8:in `require'
>        from /var/lib/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/object.rb:
> 32:in `__each_matching_file'
>        from /var/lib/gems/1.8/gems/desert-0.5.3/lib/desert/ruby/object.rb:
> 7:in `require'
>        from /config/environment.rb:22
>        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
>        from /vendor/rails/railties/lib/commands/generate.rb:1
>        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
>        from ./generate:3
>
> I get a similar kind of error when i run ./server
>
> Any suggestions?
>
> PS: New to ROR
>
> --
> You received this message because you are subscribed to the Google Groups
> "CommunityEngine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<communityengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/communityengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en.

Reply via email to