Looks like you're running vendored Rails anyway, so it doesn't matter what
gem you have (see how the stack trace says /vendor/rails). Look in
vendor/rails and see what version it's using. Also make sure that your
environment.rb file specified Rails 2.3.4



On Sun, May 9, 2010 at 12:57 PM, Utkarsh Sengar <[email protected]>wrote:

> I had ROR 2.3.5 gem, But then I installed 2.3.4 and removed 2.3.5
>
> I also tried to remove 2.3.4 and use 2.3.3., but it did not work.
>
> So, in a chronological order, this is what i did:
>
> 1. sudo gem install rails ---> This installed rails 2.3.5
> 2. sudo gem uninstall rails
> 3. sudo gem install rails -v=2.3.4 ---> I am running 2.3.4 now which
> is supported by CE.
>
> -
> Thanks
> Utkarsh
>
> On May 9, 10:52 am, Bruno Bornsztein <[email protected]>
> wrote:
> > 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]>
> <communityengine%[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]<communityengine%[email protected]>
> .
> > For more options, visit this group athttp://
> 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]<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