Both your rails and gems plugin version are not correct. Make sure you
install the correct version of all gems.

The way I install a specific version is by running a command like this:

sudo gem install rails -v=2.3.4

Here's a list of the CE requirements.

- RAILS VERSION 2.3.4 (higher versions are not yet supported)
- ImageMagick (>6.4)
- Several gems:
desert 0.5.2
  rmagick
  hpricot
  htmlentities
  rake 0.8.3
  haml 2.0.5
  calendar_date_select
  ri_cal
authlogic
searchlogic
  aws-s3 (if using s3 for photos)


--
Levi Rosol
Twitter: @LeviRosol



On Thu, Jan 28, 2010 at 9:59 AM, rubybox <[email protected]> wrote:

> Nobody any clue?
> Havent been able to do anything with CE yet cause of this,
> before it worked okay (version 3) I now use the install line from the
> readme on git
> version 4.x causing these issues.. Maybe its the group plugin
>
>
> On Jan 28, 12:18 pm, rubybox <[email protected]> wrote:
> > When i do
> > rake community_engine:make_admin [email protected]
> >
> > with existing email in the database i get:
> >
> > ** Invoke community_engine:make_admin (first_time)
> > ** Invoke environment (first_time)
> > ** Execute environment
> > ** Execute community_engine:make_admin
> > rake aborted!
> > undefined method `class_name' for nil:NilClass
> > /Library/Ruby/Gems/1.8/gems/activerecord-2.3.5/lib/active_record/
> > reflection.rb:316:in `derive_class_name'
> > /Library/Ruby/Gems/1.8/gems/activerecord-2.3.5/lib/active_record/
> > reflection.rb:112:in `class_name'
> > /Library/Ruby/Gems/1.8/gems/activerecord-2.3.5/lib/active_record/
> > reflection.rb:156:in `klass'
> > /Library/Ruby/Gems/1.8/gems/activerecord-2.3.5/lib/active_record/
> > reflection.rb:187:in `quoted_table_name'
> > /Library/Ruby/Gems/1.8/gems/activerecord-2.3.5/lib/active_record/
> > associations.rb:1416:in `configure_dependency_for_has_many'
> > /Library/Ruby/Gems/1.8/gems/activerecord-2.3.5/lib/active_record/
> > associations.rb:824:in `has_many'
> > (eval):3:in `has_many'
> > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/plugins/
> > community_engine_groups/app/models/user.rb:5
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > dependencies.rb:380:in `load_without_new_constant_marking'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > dependencies.rb:380:in `load_file'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > dependencies.rb:521:in `new_constants_in'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > dependencies.rb:379:in `load_file'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > dependencies.rb:259:in `require_or_load'
> > /Library/Ruby/Gems/1.8/gems/desert-0.5.3/lib/desert/rails/
> > dependencies.rb:67:in `define_constant_from_file'
> > /Library/Ruby/Gems/1.8/gems/desert-0.5.3/lib/desert/rails/
> > dependencies.rb:66:in `each'
> > /Library/Ruby/Gems/1.8/gems/desert-0.5.3/lib/desert/rails/
> > dependencies.rb:66:in `define_constant_from_file'
> > /Library/Ruby/Gems/1.8/gems/desert-0.5.3/lib/desert/rails/
> > dependencies.rb:45:in `define_constant_with_desert_loading'
> > /Library/Ruby/Gems/1.8/gems/desert-0.5.3/lib/desert/rails/
> > dependencies.rb:8:in `load_missing_constant'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > dependencies.rb:80:in `const_missing_not_from_s3_library'
> > /Library/Ruby/Gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:
> > 206:in `const_missing'
> > /Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib/active_support/
> > dependencies.rb:92:in `const_missing'
> > /Users/pascal/Desktop/Actus/apache2/rubydocs/portal/vendor/plugins/
> > community_engine/tasks/community_engine_tasks.rake:27
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
> > `invoke_with_call_chain'
> > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> > 1.8/monitor.rb:242:in `synchronize'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
> > `invoke_with_call_chain'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
> > `invoke_task'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
> > `standard_exception_handling'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
> > `standard_exception_handling'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
> > /Library/Ruby/Gems/1.8/gems/rake-0.8.7/bin/rake:31
> > /usr/bin/rake:19:in `load'
> > /usr/bin/rake:19
> >
> > I tryed several things, cannot solve this.
> > How can this be fixed?
> >
> > I installed the groups plugin and using the latest version of CE
>
> --
> 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