Re: [Radiant] Deploying Radiant on Dreamhost - Passenger Won't Start

2009-06-11 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. Right now, I'd really just like to get Radiant up and  
running on my site. So far, it seems like the error comes from when I  
try to freeze my gems.


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

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 > 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 >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 of the Radiant install, froze the gem  
using
Ed

Re: [Radiant] Deploying Radiant on Dreamhost - Passenger Won't Start

2009-06-03 Thread john muhl
On Tue, Jun 2, 2009 at 2:34 PM, Adam Farnsworth  wrote:
> rake ray:restart --trace
> (in /home/adamgotdiana/adamgotdiana.com)
> rake aborted!
> Don't know how to build task 'ray:restart'

there is no ray:restart task.

maybe you wanted the ray:setup:restart server=passenger task which
does not restart the server itself, instead it tries to restart it
when necessary, after successful extension install for example.
___
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-02 Thread Erik Ostrom
>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 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 of the Radiant install, froze the gem using
> Edge, bootstrapped the database, created the first user, but when I goto the
> domain using the browser, it says that Passenger can't be started. I
> installed Ray, and tried restarting Passenger to no avail. I traced the
> results and this is what I got:
>
> rake ray:restart --trace
> (in /home/adamgotdiana/adamgotdiana.com)
> rake aborted!
> Don't know how to build task 'ray:restart'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1706:in `[]'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2018: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
>
> Any and all help would be appreciated...
>
> Adam
> ___
> 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] Deploying Radiant on Dreamhost - Passenger Won't Start

2009-06-02 Thread Adam Farnsworth

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 of the Radiant install, froze the gem  
using Edge, bootstrapped the database, created the first user, but  
when I goto the domain using the browser, it says that Passenger can't  
be started. I installed Ray, and tried restarting Passenger to no  
avail. I traced the results and this is what I got:


rake ray:restart --trace
(in /home/adamgotdiana/adamgotdiana.com)
rake aborted!
Don't know how to build task 'ray:restart'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1706:in `[]'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2018: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

Any and all help would be appreciated...

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