lichen3 schrieb: > sounds like you don't have rails 2.2 installed. is that true? > I have both installed: D:\foo\bar>gem list
*** LOCAL GEMS *** actionmailer (2.2.2, 2.1.0, 2.0.2) actionpack (2.2.2, 2.1.0, 2.0.2) activerecord (2.2.2, 2.1.0, 2.0.2) activeresource (2.2.2, 2.1.0, 2.0.2) activesupport (2.2.2, 2.1.0, 2.0.2) capistrano (2.5.2, 2.4.3) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) echoe (3.0.2) fastthread (1.0.1) fxri (0.3.7, 0.3.6) fxruby (1.6.16, 1.6.11) gem_plugin (0.2.3) has_many_polymorphs (2.12) highline (1.5.0, 1.4.0) hoe (1.8.2) hpricot (0.6.164, 0.6) libxml-ruby (0.9.5) log4r (1.0.5) maruku (0.5.9, 0.5.8) mongrel (1.1.5, 1.1.4) mongrel_service (0.3.4) mysql (2.7.3) net-scp (1.0.1) net-sftp (2.0.1) net-ssh-gateway (1.0.0) ParseTree (2.2.0) ptools (1.1.6) rails (2.2.2, 2.1.0, 2.0.2) rake (0.8.3, 0.7.3) red (4.1.7) rtmapi (0.6.3) ruby-json (1.1.2) rubyforge (1.0.1) rubygems-update (1.3.1) RubyInline (3.8.1) sexp_processor (3.0.0) sources (0.0.1) syntax (1.0.0) test-unit (2.0.1) tzinfo (0.3.12) win32-api (1.2.2, 1.0.0) win32-clipboard (0.4.4, 0.4.3) win32-dir (0.3.2) win32-eventlog (0.5.0, 0.4.6) win32-file (0.6.0, 0.5.4) win32-file-stat (1.3.2, 1.2.5) win32-process (0.6.0, 0.5.3) win32-sapi (0.1.4) win32-service (0.6.1, 0.5.2) win32-sound (0.4.1) windows-api (0.2.4, 0.2.0) windows-pr (0.9.7, 0.9.6, 0.8.1, 0.7.1) ZenTest (3.11.0) > On Dec 14, 8:19 am, jerik <[email protected]> wrote: > >> Hi, >> >> I tried to install communityengine with rails 2.1.0. Following the >> installation guide (http://sites.google.com/a/curbly.com/ >> communityengine/installation) When creating the migration I get the >> following error: >> >> D:/bar/foo>ruby script\generate plugin_migration >> D:/bar/foo/config/../vendor/plugins/engines/boot.rb: 4: >> This version of the engines plugin requires Rails 2.2.0 or later! >> (RuntimeErr >> or) >> from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: >> 31:in `gem_original_require' >> from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: >> 31:in `require' >> from D:/bar/foo/config/environment.rb:13 >> from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: >> 31:in `gem_original_require' >> from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: >> 31:in `require' >> from C:/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/ >> generate.rb :1 >> from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: >> 31:in `gem_original_require' >> from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: >> 31:in `require' >> from script/generate:3 >> >> With this error message i tried to install it with rails 2.2.0, >> following as well the installation guide. When creating the migration >> I get the following error: >> >> D:/foo/bar>ruby script\generate plugin_migration >> D:/foo/bar/vendor/plugins/community_engine/engine_plugins/globalite/ >> lib/rails/localized_active_record.rb:5: >> uninitialized class variable @@default_error_messages in >> ActiveRecord::Errors (NameError) >> from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: >> 31:in `gem_original_require' >> from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: >> 31:in `require' >> from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ >> active_support/dependencies.rb:153:in `require' >> from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ >> active_support/dependencies.rb:521:in `new_constants_in' >> from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ >> active_support/dependencies.rb:153:in `require' >> from D:/foo/bar/vendor/plugins/community_engine/engine_plugins/ >> globalite/lib/globalite.rb:19 >> from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: >> 31:in `gem_original_require' >> from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: >> 31:in `require' >> ... 19 levels... >> from C:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/ >> generate.rb :1 >> from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: >> 31:in `gem_original_require' >> from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: >> 31:in `require' >> from script/generate:3 >> >> How do I solve this problem? Should I go with rails 2.2.0 or 2.1.0? >> >> Cheers -- jerik >> > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
