I notice the require for 'desert' in the envrionment.rb is before the
config initialization, which specifies the additional plugin path, but
moving it didn't seem to help. Comments and whitespace trimmed...
RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION
require File.join(File.dirname(__FILE__), 'boot')
require 'desert'
Rails::Initializer.run do |config|
config.plugins = [:community_engine, :white_list, :all]
config.plugin_paths += ["#{RAILS_ROOT}/vendor/plugins/
community_engine/plugins"]
config.gem 'icalendar'
config.gem 'calendar_date_select'
config.gem 'aws-s3', :lib => 'aws/s3'
config.gem 'haml', :lib => 'htmlentities'
config.gem 'htmlentities', :lib => 'htmlentities'
config.gem 'hpricot', :lib => 'hpricot'
config.gem 'rmagick', :lib => 'RMagick'
config.gem 'desert', :lib => 'desert'
config.time_zone = 'UTC'
end
require "#{RAILS_ROOT}/vendor/plugins/community_engine/config/boot.rb"
-Matt
On Dec 16, 9:54 am, Bruno Bornsztein <[email protected]>
wrote:
> Hmm... I'm able to do a clean install from the template without problems (OS
> X 10.6). What does your environment.rb look like?
>
> On Wed, Dec 16, 2009 at 11:30 AM, Matt <[email protected]> wrote:
> > I'm trying to get CommunityEngine up and running on a Windows 7 box.
> > Ruby version 1.8.6, rails 2.3.5. I installed the gem requirements
> > listed. Followed the config steps. It won't allow me to generate the
> > migrations or start the script/server (or script/console) due to the
> > following error (same for all 3 attempts)
>
> > C:/Ruby/lib/ruby/gems/1.8/gems/desert-0.5.2/lib/desert/rails/
> > dependencies.rb:56:
> > in `look_for_constant_in_parent_module': Constant
> > Technoweenie::AttachmentFu::Ba
> > ckends::FileSystemBackend from technoweenie/attachment_fu/backends/
> > file_system_b
> > ackend.rb not found (NameError)
> > Constant Technoweenie::AttachmentFu::FileSystemBackend from
> > technoweenie/attachm
> > ent_fu/file_system_backend.rb not found
> > Constant Technoweenie::FileSystemBackend from technoweenie/
> > file_system_backend.r
> > b not found
> > Constant FileSystemBackend from file_system_backend.rb not found
>
> > I can see the attachment_fu plugin inside the vendors/plugins/
> > community_engine/plugins, so why is it looking at my gems directory?
> > Do I need to do something to "install" the plugin? I tried "ruby
> > script/plugin install community_engine, but that gave the error
> > "plugin not found, cummunity_engine". What am I missing here?
>
> > I tried doing a templated creation of my rails app, but it fails
> > partway through when the it tries to do the plugin_migration, with the
> > error "could not location the following plugins: community_engine and
> > white_list", so, after that I started following the "long"/manual
> > version of the install, and am stuck with the above error.
>
> > regards,
> > Matt
>
> > --
>
> > 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.