Make sure you have the submodules variable set to true in your cap script.
On Tue, Nov 11, 2008 at 7:59 AM, Carl Fyffe <[EMAIL PROTECTED]> wrote:
>
> It seems that the plugins are not being saved to your repository in a
> way that allows them to be retrieved. How are you installing your
> plugins?
>
> On 11/11/08, Christopher <[EMAIL PROTECTED]> wrote:
> >
> > Creating a vanilla CE project according to the documentation provided
> > runs fine on my local machine (OS X) in development mode. I've created
> > a slice on SliceHost (Ubuntu Hardy) to do a test deployment with
> > capistrano and git and this is kinda where things get a bit stuck. All
> > setup etc works fine up until running "cap deploy:cold", which aborts
> > with the following error:
> >
> > --------
> > * executing "cd /home/deploy/myapp/releases/20081111055938; rake
> > RAILS_ENV=production db:migrate"
> > servers: ["my ip"]
> > [my ip] executing command
> > ** [out :: my ip] (in /home/deploy/myapp/releases/20081111055938)
> > ** [out :: my ip] rake aborted!
> > ** [out :: my ip]
> > ** [out :: my ip] Could not locate the following plugins: engines,
> > community_engine, and white_list
> > ** [out :: my ip]
> > ** [out :: my ip]
> > ** [out :: my ip] (See full trace by running task with --trace)
> > ** [out :: my ip]
> > ---------
> >
> > This is what my environment.rb looks like:
> >
> > ---------
> > RAILS_GEM_VERSION = '2.1.2' unless defined? RAILS_GEM_VERSION
> > require File.join(File.dirname(__FILE__), 'boot')
> > require File.join(File.dirname(__FILE__), '../vendor/plugins/engines/
> > boot')
> >
> > Rails::Initializer.run do |config|
> > #resource_hacks required here to ensure routes like /:login_slug
> > work
> > config.plugins = [:engines, :community_engine, :white_list, :all]
> > config.plugin_paths += ["#{RAILS_ROOT}/vendor/plugins/
> > community_engine/engine_plugins"]
> > .
> > .
> > .
> > end
> >
> > # Include your application configuration below
> > require "#{RAILS_ROOT}/vendor/plugins/community_engine/engine_config/
> > boot.rb"
> > ---------
> >
> > I've created a vanilla CE project on the slice itself and that worked
> > fine. Dumping that into a repo and deploying it caused the same
> > problem.
> >
> > My suspicion is that there might be an issue with symlinks - anybody
> > come across something like this?
> >
> > >
> >
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---