Also, here is my environment.rb:

# Be sure to restart your server when you modify this file

# Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION

# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')

#require File.join(File.dirname(__FILE__), '../vendor/plugins/engines/boot')

require 'desert'

Rails::Initializer.run do |config|
  config.plugins = [:engines, :community_engine, :white_list, :all]
  config.plugin_paths +=
["#{RAILS_ROOT}/vendor/plugins/community_engine/engine_plugins"]

   config.gem 'calendar_date_select'
   config.gem 'icalendar'
   config.gem 'authlogic'
   config.gem 'searchlogic'

   config.action_controller.session = { :key => 'myapp_session', :secret =>
'random md5 hash' }




  # Settings in config/environments/* take precedence over those specified
here.
  # Application configuration should go into files in config/initializers
  # -- all .rb files in that directory are automatically loaded.

  # Add additional load paths for your own custom dirs
  # config.load_paths += %W( #{RAILS_ROOT}/extras )

  # Specify gems that this application depends on and have them installed
with rake gems:install
  # config.gem "bj"
  # config.gem "hpricot", :version => '0.6', :source => "
http://code.whytheluckystiff.net";
  # config.gem "sqlite3-ruby", :lib => "sqlite3"
  # config.gem "aws-s3", :lib => "aws/s3"

  # Only load the plugins named here, in the order given (default is
alphabetical).
  # :all can be used as a placeholder for all plugins not explicitly named
  # config.plugins = [ :exception_notification, :ssl_requirement, :all ]

  # Skip frameworks you're not going to use. To use Rails without a
database,
  # you must remove the Active Record framework.
  # config.frameworks -= [ :active_record, :active_resource, :action_mailer
]

  # Activate observers that should always be running
  # config.active_record.observers = :cacher, :garbage_collector,
:forum_observer

  # Set Time.zone default to the specified zone and make Active Record
auto-convert to this zone.
  # Run "rake -D time" for a list of tasks for finding time zone names.
  config.time_zone = 'UTC'

  # The default locale is :en and all translations from
config/locales/*.rb,yml are auto loaded.
  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales',
'*.{rb,yml}')]
  # config.i18n.default_locale = :de

end
require "#{RAILS_ROOT}/vendor/plugins/community_engine/config/boot.rb"


On Sun, May 29, 2011 at 1:15 PM, Matt <[email protected]> wrote:

> I'm trying to install but keep running into errors that have left me
> banging my head for days. Here is the printout when I run "script/
> generate plugin_migration" from a few days ago:
>
>
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/
> gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is
> deprecated and will be removed on or after August 2010.  Use
> #requirement
> /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/
> base.rb:1959:in `method_missing': undefined method `class_attribute'
> for ActiveRecord::Base:Class (NoMethodError)
>        from
> /usr/local/lib/ruby/gems/1.8/gems/authlogic-3.0.3/lib/authlogic/
> acts_as_authentic/base.rb:7:in `included'
>        from
> /usr/local/lib/ruby/gems/1.8/gems/authlogic-3.0.3/lib/authlogic/
> acts_as_authentic/base.rb:6:in `class_eval'
>        from
> /usr/local/lib/ruby/gems/1.8/gems/authlogic-3.0.3/lib/authlogic/
> acts_as_authentic/base.rb:6:in `included'
>        from
> /usr/local/lib/ruby/gems/1.8/gems/authlogic-3.0.3/lib/authlogic/
> acts_as_authentic/base.rb:97:in `include'
>        from
> /usr/local/lib/ruby/gems/1.8/gems/authlogic-3.0.3/lib/authlogic/
> acts_as_authentic/base.rb:97:in `send'
>        from
> /usr/local/lib/ruby/gems/1.8/gems/authlogic-3.0.3/lib/authlogic/
> acts_as_authentic/base.rb:97
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 29:in `gem_original_require'
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 29:in `require'
>        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
> active_support/dependencies.rb:156:in `require_without_desert'
>        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
> active_support/dependencies.rb:521:in `new_constants_in'
>        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
> active_support/dependencies.rb:156:in `require_without_desert'
>        from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/ruby/
> object.rb:8:in `require'
>        from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/ruby/
> object.rb:32:in `__each_matching_file'
>        from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/ruby/
> object.rb:7:in `require'
>        from /usr/local/lib/ruby/gems/1.8/gems/authlogic-3.0.3/lib/
> authlogic.rb:59
>        from /usr/local/lib/ruby/gems/1.8/gems/authlogic-3.0.3/lib/
> authlogic.rb:6:in `each'
>        from /usr/local/lib/ruby/gems/1.8/gems/authlogic-3.0.3/lib/
> authlogic.rb:6
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 29:in `gem_original_require'
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 29:in `require'
>        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
> active_support/dependencies.rb:156:in `require_without_desert'
>        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
> active_support/dependencies.rb:521:in `new_constants_in'
>        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
> active_support/dependencies.rb:156:in `require_without_desert'
>        from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/ruby/
> object.rb:8:in `require'
>        from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/ruby/
> object.rb:28:in `__each_matching_file'
>        from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/ruby/
> object.rb:27:in `each'
>        from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/ruby/
> object.rb:27:in `__each_matching_file'
>        from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/ruby/
> object.rb:7:in `require'
>        from
> /usr/local/lib/ruby/gems/1.8/gems/authlogic-3.0.3/rails/init.rb:
> 1:in `evaluate_init_rb'
>        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/
> plugin.rb:158:in `evaluate_init_rb'
>        from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/
> active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
>        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/
> plugin.rb:154:in `evaluate_init_rb'
>        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/
> plugin.rb:48:in `load_without_desert'
>        from
> /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/rails/
> 2.0.0/plugin.rb:16:in `load'
>        from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/
> manager.rb:46:in `register_plugin'
>        from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/
> manager.rb:11:in `__send__'
>        from /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/
> manager.rb:11:in `method_missing'
>        from
> /usr/local/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/rails/
> 2.0.0/plugin.rb:15:in `load'
>        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/plugin/
> loader.rb:38:in `load_plugins'
>        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/plugin/
> loader.rb:37:in `each'
>        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/plugin/
> loader.rb:37:in `load_plugins'
>        from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:
> 369:in `load_plugins'
>        from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:
> 165:in `process'
>        from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:
> 113:in `send'
>        from
> /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:
> 113:in `run'
>        from /home/mydirectory/myproject/config/environment.rb:13
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 29:in `gem_original_require'
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 29:in `require'
>        from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/
> generate.rb:1
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 29:in `gem_original_require'
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 29:in `require'
>        from script/generate:3
>
>
> I fixed this by freezing my rails gems. Now I get this error:
>
>
> /home/project/project/config/../vendor/rails/railties/lib/rails/
> gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is
> deprecated and will be removed on or after August 2010.  Use
> #requirement
> /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:232:in `activate':
> undefined method `map' for nil:NilClass (NoMethodError)
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:258:in `activate'
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:257:in `each'
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:257:in `activate'
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:1146:in `gem'
>        from
> /home/project/project/config/../vendor/rails/railties/lib/rails/
> gem_dependency.rb:73:in `add_load_paths'
>        from /home/project/project/config/../vendor/rails/railties/lib/
> initializer.rb:301:in `add_gem_load_paths'
>        from /home/project/project/config/../vendor/rails/railties/lib/
> initializer.rb:301:in `each'
>        from /home/project/project/config/../vendor/rails/railties/lib/
> initializer.rb:301:in `add_gem_load_paths'
>        from /home/project/project/config/../vendor/rails/railties/lib/
> initializer.rb:132:in `process'
>        from /home/project/project/config/../vendor/rails/railties/lib/
> initializer.rb:113:in `send'
>        from /home/project/project/config/../vendor/rails/railties/lib/
> initializer.rb:113:in `run'
>        from /home/project/project/config/environment.rb:13
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 29:in `gem_original_require'
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 29:in `require'
>        from /home/project/project/vendor/rails/activesupport/lib/
> active_support/dependencies.rb:156:in `require'
>        from /home/project/project/vendor/rails/activesupport/lib/
> active_support/dependencies.rb:521:in `new_constants_in'
>        from /home/project/project/vendor/rails/activesupport/lib/
> active_support/dependencies.rb:156:in `require'
>        from /home/project/project/vendor/rails/railties/lib/commands/
> server.rb:84
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 29:in `gem_original_require'
>        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 29:in `require'
>        from ./script/server:3
>
> Here are my versions of everything:
>
>
> [mydir ~]$ ruby -v
> ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-linux]
> [mydir ~]$ rails -v
> Rails 2.3.4
> [mydir ~]$ gem -v
> 1.4.2
> [mydir ~]$ gem list
>
> *** LOCAL GEMS ***
>
> abstract (1.0.0)
> actionmailer (3.0.7, 2.3.4)
> actionpack (3.0.7, 2.3.4)
> activemodel (3.0.7)
> activerecord (3.0.7, 2.3.11, 2.3.4)
> activeresource (3.0.7, 2.3.4)
> activesupport (3.0.7, 2.3.11, 2.3.4)
> arel (2.0.10)
> authlogic (3.0.3)
> builder (2.1.2)
> bundler (1.0.13)
> calendar_date_select (1.16.2)
> desert (0.5.2)
> erubis (2.6.6)
> haml (2.0.5)
> hpricot (0.8.4)
> htmlentities (4.3.0)
> i18n (0.5.0)
> mail (2.2.19)
> mime-types (1.16)
> polyglot (0.3.1)
> rack (1.2.3, 1.1.2, 1.0.1)
> rack-mount (0.6.14)
> rack-test (0.5.7)
> radiant (0.9.1)
> rails (2.3.4)
> railties (3.0.7)
> rake (0.8.3)
> RedCloth (4.2.7)
> ri_cal (0.8.8)
> rmagick (2.13.1)
> rubygems-update (1.8.4, 1.4.2, 1.3.7)
> searchlogic (2.5.6)
> thor (0.14.6)
> treetop (1.4.9)
> tzinfo (0.3.27)
> will_paginate (2.3.15)
>
>
> Does anyone have any clue what's going on? Google hasn't turned up
> much and I'm lost and new to rails. Thank you for your help.

-- 
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