Re: [Radiant] Could not load extension from file:

2008-11-20 Thread Michael Krisher
think I may have it, needed to do `git add vendor/extensions/ray` instead of
`git add .` for some reason.
-- mike
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Could not load extension from file:

2008-11-20 Thread Sean Cribbs
In general, I would use git submodules.  However, you need to make sure 
that you have this in the config/deploy.rb file:


set :git_enable_submodules, true

That will force capistrano to run `git submodule init && git submodule 
update` when checking out the project.


If your extensions have submodules of their own (i.e. plugins like 
attachment_fu), it's a good idea to manually install those in your 
project's vendor/plugins as submodules.  (We may add this in the near 
future to script/extension).


Bear in mind that if you're using 0.6.7 or later (which I hope you are), 
you don't need the 'shards' extension.


I've had submodules blow up on me, but that happened only when people 
were working on separate branches in parallel, changed the submodules in 
a branch, and later merged.


Sean

Michael Krisher wrote:

I've now gone back and removed the extensions and am starting over.
I have installed ray using `./script/extension install ray`, added the ray
directory in git, did a deploy_via :copy and checked and sure enough the
files are missing from the ray directory on production. I'm also noticing
the shards directory in extensions is not being copied over either.
Obviously this is all caused by Git. Anyone know how I add the files to my
git repo so cap deploys them?

-- Mike
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

  


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Could not load extension from file:

2008-11-20 Thread Michael Krisher
I've now gone back and removed the extensions and am starting over.
I have installed ray using `./script/extension install ray`, added the ray
directory in git, did a deploy_via :copy and checked and sure enough the
files are missing from the ray directory on production. I'm also noticing
the shards directory in extensions is not being copied over either.
Obviously this is all caused by Git. Anyone know how I add the files to my
git repo so cap deploys them?

-- Mike
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Could not load extension from file:

2008-11-19 Thread john

On 2008/11/19, at 20:20, Michael Krisher wrote:


John,
I hadn't thought of that. I cloned them to install them. I may need  
to make

them submodules and then add them?


If you cloned them then I can't imagine what the problem might be. ray  
will default to using submodules if the project you're adding the  
extension to is managed with git, so I thought maybe that behavior  
might be tripping things up.


Do you see equivalent content in the directories for your local  
version of the extension and the one in the production environment? It  
seems like you're missing the ext_name_extension.rb files that should  
in the root of the extension directories.


If I setup a new project and `./script/extension install ray` then  
delete everything from vendor/extensions/ray I get the exact same  
error you're getting.


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Could not load extension from file:

2008-11-19 Thread Michael Krisher
John,
I hadn't thought of that. I cloned them to install them. I may need to make
them submodules and then add them?

Thanks,
-- Mike
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Could not load extension from file:

2008-11-19 Thread john

Are you managing your extensions as submodules? Did you run

git submodule init
git submodule update

on the production environment?


On 2008/11/19, at 19:45, Michael Krisher wrote:


yes, db:migrate fails with same extension errors.
In trying to figure it out, I've tried installing the Ray extension  
and
trying to manage the extensions that way. However, it is now failing  
on

production as well:

bash$ script/console production
Loading production environment (Rails 2.0.2)
Could not load extension from file: fckeditor_extension.
#
Could not load extension from file: mailer_extension.
#
Could not load extension from file: ray_extension.
#

I'm adding some output to the extensions_loader to try and figure  
out why it

is failing, guessing it is a pathing issue at this point, not sure why
though, possibly due to freezing Radiant?
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Could not load extension from file:

2008-11-19 Thread Michael Krisher
yes, db:migrate fails with same extension errors.
In trying to figure it out, I've tried installing the Ray extension and
trying to manage the extensions that way. However, it is now failing on
production as well:

bash$ script/console production
Loading production environment (Rails 2.0.2)
Could not load extension from file: fckeditor_extension.
#
Could not load extension from file: mailer_extension.
#
Could not load extension from file: ray_extension.
#

I'm adding some output to the extensions_loader to try and figure out why it
is failing, guessing it is a pathing issue at this point, not sure why
though, possibly due to freezing Radiant?
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Could not load extension from file:

2008-11-19 Thread Jim Gay

I've run into this before, and if I'm correct, this is thanks to GIT.

Are these extensions submodules, and if so have they been initialized  
and updated?
Is there anything in the mailer and fckeditor directories on  
production or are they empty?




On Nov 19, 2008, at 5:10 PM, Michael Krisher wrote:


Hello,
I am trying deploying my first Radiant site and am running into  
issues when
trying to start the server/console/whatever and running the rake  
task to

migrate the extensions fails as well:


Could not load extension from file: fckeditor_extension.
#
Could not load extension from file: mailer_extension.
#


The directory names do not have _extension on them.

vendor
  extensions
 fckeditor
 mailer

I've tried renaming the directories, etc I've installed them  
locally no
problem, but on production this is not the case. Radiant is frozen,  
if that
makes a difference. I'm deploying from a git repo. Anyone have any  
thoughts.

This is being deployed via capistrano to a Joyent Shared Accelerator.

Thanks,
-- Mike
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Could not load extension from file:

2008-11-19 Thread Mohit Sindhwani

Michael Krisher wrote:

Hello,
I am trying deploying my first Radiant site and am running into issues when
trying to start the server/console/whatever and running the rake task to
migrate the extensions fails as well:


Could not load extension from file: fckeditor_extension.
#
Could not load extension from file: mailer_extension.
#


The directory names do not have _extension on them.

vendor
   extensions
  fckeditor
  mailer

I've tried renaming the directories, etc I've installed them locally no
problem, but on production this is not the case. Radiant is frozen, if that
makes a difference. I'm deploying from a git repo. Anyone have any thoughts.
This is being deployed via capistrano to a Joyent Shared Accelerator.
  

Silly question, this, but have you done rake production db:migrate first?

Cheers,
Mohit.
11/20/2008 | 10:26 AM.


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Could not load extension from file:

2008-11-19 Thread Michael Krisher
Thanks for the reply Manuel, here is the output:
** Invoke production (first_time)
** Execute production
** Invoke environment (first_time)
** Execute environment
Could not load extension from file: Fckeditor_extension.
#
Could not load extension from file: Mailer_extension.
#
** Invoke db:migrate:extensions (first_time)
** Invoke environment
** Execute db:migrate:extensions

-- Mike
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Could not load extension from file:

2008-11-19 Thread Manuel Meurer
Hi Michael,

Could you run the rake task with --trace and post the output?

Manuel

On Wed, Nov 19, 2008 at 11:10 PM, Michael Krisher <[EMAIL PROTECTED]> wrote:
> Hello,
> I am trying deploying my first Radiant site and am running into issues when
> trying to start the server/console/whatever and running the rake task to
> migrate the extensions fails as well:
>
>
> Could not load extension from file: fckeditor_extension.
> #
> Could not load extension from file: mailer_extension.
> #
>
>
> The directory names do not have _extension on them.
>
> vendor
>   extensions
>  fckeditor
>  mailer
>
> I've tried renaming the directories, etc I've installed them locally no
> problem, but on production this is not the case. Radiant is frozen, if that
> makes a difference. I'm deploying from a git repo. Anyone have any thoughts.
> This is being deployed via capistrano to a Joyent Shared Accelerator.
>
> Thanks,
> -- Mike
> ___
> Radiant mailing list
> Post:   Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Could not load extension from file:

2008-11-19 Thread Michael Krisher
Hello,
I am trying deploying my first Radiant site and am running into issues when
trying to start the server/console/whatever and running the rake task to
migrate the extensions fails as well:


Could not load extension from file: fckeditor_extension.
#
Could not load extension from file: mailer_extension.
#


The directory names do not have _extension on them.

vendor
   extensions
  fckeditor
  mailer

I've tried renaming the directories, etc I've installed them locally no
problem, but on production this is not the case. Radiant is frozen, if that
makes a difference. I'm deploying from a git repo. Anyone have any thoughts.
This is being deployed via capistrano to a Joyent Shared Accelerator.

Thanks,
-- Mike
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant