Re: [Radiant] Subdomain

2009-06-07 Thread Victor Zuniga
Hello,

A follow up question on the multisite extension. I am trying to install the
extension from 
http://github.com/radiant/radiant-multi-site-extension/tree/master and
getting the following error message when running the migrations:


** Invoke production (first_time)
** Execute production
** Invoke environment (first_time)
** Execute environment
Could not load extension from file: multi_site_extension.
#MissingSourceFile: no such file to load -- application_controller
** Invoke db:migrate:extensions (first_time)
** Invoke environment
** Execute db:migrate:extensions


Any feedback will be greatly appreciated.


Thanks,

Victor




On 6/2/09 4:07 PM, Chaim Kirby chaim.ki...@childrens.harvard.edu wrote:

 Victor,
 The multi-site extension will get you close
 (http://github.com/radiant/radiant-multi-site-extension/tree/master).
 You will still need to define the Kids.westervillelibrary.org domain
 outside of radiant (mongrel config, http.conf etc) but you can use the
 extension to map a new site in the admin interface to that domain.
 
 Chaim Kirby
 chaim.ki...@childrens.harvard.edu
 Children's Hospital Informatics Program
 
 Victor Zuniga wrote:
 Hello,
 
 This is something it might already be possible and I am just not aware of
 it. I would like to set up a portion of our main site  (/kids) to have its
 own domain:
 
 Kids.westervillelibrary.org
 
 However, the site is not big enough to set up a new box for it. I wonder if
 there¹s a way to create some sort of virtual host from the radiant interface
 through an extension?
 
 
 Any feedback will be greatly appreciated.
 
 Thanks,
 
 Victor
 
 
 ___
 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 mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Subdomain

2009-06-07 Thread Mohit Sindhwani

Victor Zuniga wrote:

Hello,

A follow up question on the multisite extension. I am trying to install the
extension from 
http://github.com/radiant/radiant-multi-site-extension/tree/master and

getting the following error message when running the migrations:


** Invoke production (first_time)
** Execute production
** Invoke environment (first_time)
** Execute environment
Could not load extension from file: multi_site_extension.
#MissingSourceFile: no such file to load -- application_controller
** Invoke db:migrate:extensions (first_time)
** Invoke environment
** Execute db:migrate:extensions

  
Check the name of the directory to which you installed the extension.  
It's quite likely that the directory is supposed to called multisite 
rather than multi_site (which is what it sounds like you named it).


See this for help in naming directories: 
http://wiki.github.com/radiant/radiant/installing-extensions#naming


Cheers,
Mohit.
6/7/2009 | 3:24 PM.

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


Re: [Radiant] Subdomain

2009-06-07 Thread Sean Cribbs
Josh and the guys at Digital Pulp have started updating multi_site to 
work with 0.8-RC1.  You will likely need to install an older version of 
the extension for it to work.


Sean

Victor Zuniga wrote:

Hello,

A follow up question on the multisite extension. I am trying to install the
extension from 
http://github.com/radiant/radiant-multi-site-extension/tree/master and

getting the following error message when running the migrations:


** Invoke production (first_time)
** Execute production
** Invoke environment (first_time)
** Execute environment
Could not load extension from file: multi_site_extension.
#MissingSourceFile: no such file to load -- application_controller
** Invoke db:migrate:extensions (first_time)
** Invoke environment
** Execute db:migrate:extensions


Any feedback will be greatly appreciated.


Thanks,

Victor




On 6/2/09 4:07 PM, Chaim Kirby chaim.ki...@childrens.harvard.edu wrote:

  

Victor,
The multi-site extension will get you close
(http://github.com/radiant/radiant-multi-site-extension/tree/master).
You will still need to define the Kids.westervillelibrary.org domain
outside of radiant (mongrel config, http.conf etc) but you can use the
extension to map a new site in the admin interface to that domain.

Chaim Kirby
chaim.ki...@childrens.harvard.edu
Children's Hospital Informatics Program

Victor Zuniga wrote:


Hello,

This is something it might already be possible and I am just not aware of
it. I would like to set up a portion of our main site  (/kids) to have its
own domain:

Kids.westervillelibrary.org

However, the site is not big enough to set up a new box for it. I wonder if
there¹s a way to create some sort of virtual host from the radiant interface
through an extension?


Any feedback will be greatly appreciated.

Thanks,

Victor


___
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 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] Deploying Radiant on Dreamhost - Passenger Won't Start

2009-06-07 Thread Adam Farnsworth
I'm more than happy with switch to 0.7.1, but according to radiant -v  
I am at 0.7.1.


When I run 'rake radiant:freeze:gems' I get the following error:

(in /home/adamgotdiana/blog.adamgotdiana.com)
rake aborted!
undefined method `manage_gems' for Gem:Module

(See full trace by running task with --trace)

With trace:

(in /home/adamgotdiana/blog.adamgotdiana.com)
** Invoke radiant:freeze:gems (first_time)
** Execute radiant:freeze:gems
rake aborted!
undefined method `manage_gems' for Gem:Module
/home/adamgotdiana/.gems/gems/radiant-0.7.1/lib/tasks/framework.rake:9
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute'
	/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in  
`invoke_with_call_chain'

/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
	/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in  
`invoke_with_call_chain'

/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke'
	/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in  
`invoke_task'

/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'
	/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in  
`standard_exception_handling'

/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run'
	/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in  
`standard_exception_handling'

/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'
	/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 /usr/bin/rake: 
19:in `load'

/usr/bin/rake:19

The problem does seem to stem from freezing the gems. I've tried it  
with both a domain created by a Dreamhost bot, and one following the  
Radiant guide on GitHub: http://wiki.github.com/radiant/radiant/installing-on-dreamhost-using-ssh


Adam


On Jun 2, 2009, at 5:12 PM, Erik Ostrom wrote:


That's it, huh? None of those errors mean anything

Okay, I had the bright idea of actually looking at your site. It's  
not an error I know about:


uninitialized constant Rails::Initializer::ResponseCache

Looks like it's coming from line 14 of production.rb.

I've heard there's a new caching mechanism in edge Radiant. My guess  
is your production.rb is out of sync with the new cache.


Your options are (a) try to fix the app to work on edge, or (b)  
switch back to Radiant 0.7.1. If you want to go with route (a), I  
can't help you - I'm not up on the latest changes. If you choose  
(b), well - what happened when you tried 'rake radiant:freeze:gems'?


--Erik


On Tue, Jun 2, 2009 at 2:58 PM, Adam Farnsworth b...@adamfarnsworth.com 
 wrote:
I installed Ray because I wanted to easily restart the server, and I  
figured I was going to do it later anyway, Passenger was jacked up  
before I installed Ray, but maybe I compounded the problem by adding  
Ray to the mix. :-)


Here's the error.log dump:

[Tue Jun 02 12:55:05 2009] [error] [client 99.186.204.191] File does  
not exist: /home/adamgotdiana/adamgotdiana.com/favicon.ico
[Tue Jun 02 12:55:05 2009] [error] [client 99.186.204.191] File does  
not exist: /home/adamgotdiana/adamgotdiana.com/missing.html
[Tue Jun 02 12:57:08 2009] [error] [client 99.186.204.191] File does  
not exist: /home/adamgotdiana/adamgotdiana.com/favicon.ico, referer: http://www.adamgotdiana.com/
[Tue Jun 02 12:57:08 2009] [error] [client 99.186.204.191] File does  
not exist: /home/adamgotdiana/adamgotdiana.com/missing.html,  
referer: http://www.adamgotdiana.com/



Thanks for the help! I really appreciate it,
Adam



On Jun 2, 2009, at 2:50 PM, Erik Ostrom wrote:

From that error message, it doesn't sound like you have Ray properly
installed. I'd take a look at that, but my hunch is it's not related  
to the

Passenger problem.

See if there's any explanation in the Apache error log, which should  
be in

~/logs/adamgotdiana.com/http/error.log

--Erik Ostrom
 e...@echographia.com

On Tue, Jun 2, 2009 at 1:34 PM, Adam Farnsworth b...@adamfarnsworth.com 
wrote:


So-

It's been awhile since I tried to deploy Radiant, so I'm a little  
rusty. I

was following the tutorial in the Radiant docs, Dreamhost won't let me
freeze the gems, but it did let me freeze them using Edge.  
Unfortunately,
the domain had already be created, so I was not able to follow that  
part of
the tutorial exactly. Everything seemed to install correctly, so I  
assumed

Dreamhost had fixed the error in their creation script.

Anyway, I got down to the end 

[Radiant] New to Radiant, Freezing to Edge, ResponseCache problem

2009-06-07 Thread Jeff Casimir
Hi all,

First, thanks to the devs and community for creating Radiant.  It
looks pretty badass!

I am trying to setup my first instance and want to run the edge code.
When I get to the bootstrapping step, here's what I get:

rake aborted!
uninitialized constant Rails::Initializer::ResponseCache

I've messed around and can't figure out what's missing.  I find
references to this error on the mailing list from a few months ago,
but they basically say it's a bug, hold on a few minutes.  Surely
the bug hasn't persisted.  I must have a missing gem, wrong version,
or something.  I am running ruby 1.8.7 and have Rails 2.2.2 and 2.3.2.

Any tips?

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


Re: [Radiant] New to Radiant, Freezing to Edge, ResponseCache problem

2009-06-07 Thread Jim Gay
The move from 0.7.1 to edge is a change that will require that you  
alter your environment.rb (and those in config/environments)

Remove your references to ResponseCache entirely
http://wiki.github.com/radiant/radiant/developer-upgrade-notes

On Jun 7, 2009, at 9:19 PM, Jeff Casimir wrote:


Hi all,

First, thanks to the devs and community for creating Radiant.  It
looks pretty badass!

I am trying to setup my first instance and want to run the edge code.
When I get to the bootstrapping step, here's what I get:

rake aborted!
uninitialized constant Rails::Initializer::ResponseCache

I've messed around and can't figure out what's missing.  I find
references to this error on the mailing list from a few months ago,
but they basically say it's a bug, hold on a few minutes.  Surely
the bug hasn't persisted.  I must have a missing gem, wrong version,
or something.  I am running ruby 1.8.7 and have Rails 2.2.2 and 2.3.2.

Any tips?

Thanks,
Jeff
___
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] New to Radiant, Freezing to Edge, ResponseCache problem

2009-06-07 Thread Jeff Casimir
Jim,

I knew it would be something obvious.  I had looked through several
wiki pages, but not that one.

Maybe this link should be added to The Bleeding Edge section of
http://radiantcms.org/download/?

- Jeff

On Sun, Jun 7, 2009 at 9:37 PM, Jim Gayj...@saturnflyer.com wrote:
 The move from 0.7.1 to edge is a change that will require that you alter
 your environment.rb (and those in config/environments)
 Remove your references to ResponseCache entirely
 http://wiki.github.com/radiant/radiant/developer-upgrade-notes

 On Jun 7, 2009, at 9:19 PM, Jeff Casimir wrote:

 Hi all,

 First, thanks to the devs and community for creating Radiant.  It
 looks pretty badass!

 I am trying to setup my first instance and want to run the edge code.
 When I get to the bootstrapping step, here's what I get:

 rake aborted!
 uninitialized constant Rails::Initializer::ResponseCache

 I've messed around and can't figure out what's missing.  I find
 references to this error on the mailing list from a few months ago,
 but they basically say it's a bug, hold on a few minutes.  Surely
 the bug hasn't persisted.  I must have a missing gem, wrong version,
 or something.  I am running ruby 1.8.7 and have Rails 2.2.2 and 2.3.2.

 Any tips?

 Thanks,
 Jeff
 ___
 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 mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] New to Radiant, Freezing to Edge, ResponseCache problem

2009-06-07 Thread Mohit Sindhwani

Jeff Casimir wrote:

Jim,

I knew it would be something obvious.  I had looked through several
wiki pages, but not that one.

Maybe this link should be added to The Bleeding Edge section of
http://radiantcms.org/download/?

- Jeff

Hi Jeff

Would you please do that?  That said, I'd recommend using 0.7.1 unless 
you specifically need some features from Edge.


Cheers,
Mohit.
6/8/2009 | 9:45 AM.

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