# 0.6.9 gem on site5

**URL:** <https://www.ruby-forum.com/t/0-6-9-gem-on-site5/145142>\
**Category:** Radiant CMS\
**Created:** [August 6, 2008, 12:37pm UTC](https://www.ruby-forum.com/t/0-6-9-gem-on-site5/145142 "2008-08-06T12:37:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![danny\_q](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e95f7d/32.png) [@danny\_q](https://www.ruby-forum.com/u/danny_q)\
**Post date:** [August 6, 2008, 12:37pm UTC](https://www.ruby-forum.com/t/0-6-9-gem-on-site5/145142/1 "2008-08-06T12:37:07Z")

</div>

Hi list,

So I’ve been trying to upgrade from 0.6.7-svn to the 0.6.9 gem using a  
Site5 account, and something’s blocking me. I am running gems 1.1.0,  
ruby 1.8.7 and have the radiant 0.6.9 gem installed locally with the  
binary in my $PATH. Everything runs out of my home directory, including  
the ruby executable.

I was a little unsure of how to switch from svn to gem, so I installed  
gem radiant to a new directory using simply “radiant .” from within that  
dir. I then copied over the .htaccess, database.yml, and vendor/, and  
merged the custom lines of the environment.rb file. I checked  
permissions on the public directory, and everything was identical.

I then ran ‘rake production db:migrate’ and ‘rake radiant:update’ and  
updated all the extensions. I tested using ‘ruby public/dispatch.fcgi’  
in bash, and it spit back the html I was looking for without a hitch.

Finally, I deleted my public\_html symlink to the old svnradiant, and  
made a new public\_html symlink to the new gemradiant. I pkilled the  
distpatch.fcgi’s, and then… nothing: 30 second delay followed by a  
500 error. My error log in siteadmin just said “process failed to stay  
running after n attempts, etc.”, but nothing more specific than that.

After some frustration, I switched the public\_html symlink back to my  
0.6.7-svn public directory, and dispatch.fcgi caught again, no  
problems. This is even using the post-migration database.

Has anyone had an experience like this? Is there some crucial step I  
could be missing here? Some thing just won’t work. My error logs are  
little help.

Here’s the recurring production.log entry:

Processing SiteController#show\_page (for at 2008-08-05 16:17:35) [GET]  
Parameters: {“url”=\>"/", “action”=\>“show\_page”, “controller”=\>“site”}  
Completed in 1.20128 (0 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://:]

And here’s my fastcgi.crash.log:

[05/Aug/2008:14:27:22 :: 15693] starting  
[05/Aug/2008:14:27:23 :: 15693] stopping gracefully  
[05/Aug/2008:14:29:07 :: 16043] starting  
[05/Aug/2008:14:29:07 :: 16043] stopping gracefully  
[05/Aug/2008:16:17:35 :: 9096] starting  
[05/Aug/2008:16:17:36 :: 9096] stopping gracefully  
[…etc…]

I’m not sure what I could be missing here, but I’m hoping someone has  
had a similar experience, or knows another way to help me diagnose this  
stealth error.

Thanks everybody,  
–danny

---

<div class="post-metadata">

**Author:** ![danny\_q](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e95f7d/32.png) [@danny\_q](https://www.ruby-forum.com/u/danny_q)\
**Post date:** [August 6, 2008, 1:04pm UTC](https://www.ruby-forum.com/t/0-6-9-gem-on-site5/145142/2 "2008-08-06T13:04:40Z")

</div>

On Aug 6, 2008, at 6:35 AM, danny q. wrote:

> Hi list,
> 
> So I’ve been trying to upgrade from 0.6.7-svn to the 0.6.9 gem using a  
> Site5 account, and something’s blocking me. I am running gems 1.1.0,  
> ruby 1.8.7

That might be the problem. Radiant is not yet compatible with ruby 1.8.7

[http://radiantcms.org/blog/archives/2008/06/18/ruby-1-8-7-breaks-radiant/](http://radiantcms.org/blog/archives/2008/06/18/ruby-1-8-7-breaks-radiant/)

-Jim

---

<div class="post-metadata">

**Author:** ![danny\_q](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e95f7d/32.png) [@danny\_q](https://www.ruby-forum.com/u/danny_q)\
**Post date:** [August 6, 2008, 1:14pm UTC](https://www.ruby-forum.com/t/0-6-9-gem-on-site5/145142/3 "2008-08-06T13:14:05Z")

</div>

I thought we fixed that in 0.6.9  
That was a bug in 0.6.8 and we quickly put out the current release.  
[http://radiantcms.org/blog/archives/2008/07/28/minor-bug-and-workaround-for-0-6-8-upgrades/](http://radiantcms.org/blog/archives/2008/07/28/minor-bug-and-workaround-for-0-6-8-upgrades/)

Is it possible that you actually have the 0.6.8 gem installed?

---

<div class="post-metadata">

**Author:** ![danny\_q](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e95f7d/32.png) [@danny\_q](https://www.ruby-forum.com/u/danny_q)\
**Post date:** [August 6, 2008, 1:19pm UTC](https://www.ruby-forum.com/t/0-6-9-gem-on-site5/145142/4 "2008-08-06T13:19:21Z")

</div>

Jim G. wrote:

> I thought we fixed that in 0.6.9  
> That was a bug in 0.6.8 and we quickly put out the current release.  
> [http://radiantcms.org/blog/archives/2008/07/28/minor-bug-and-workaround-for-0-6-8-upgrades/](http://radiantcms.org/blog/archives/2008/07/28/minor-bug-and-workaround-for-0-6-8-upgrades/)
> 
> Is it possible that you actually have the 0.6.8 gem installed?  
> I don’t think so. 0.6.9 (gem) is listed on the admin page, the  
> executable shows 0.6.9, and I never installed the 0.6.8 gem. So I’m  
> pretty sure I’ve got 0.6.9. Hope that helps.

–Daniel

---

<div class="post-metadata">

**Author:** ![danny\_q](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/e95f7d/32.png) [@danny\_q](https://www.ruby-forum.com/u/danny_q)\
**Post date:** [August 6, 2008, 1:09pm UTC](https://www.ruby-forum.com/t/0-6-9-gem-on-site5/145142/5 "2008-08-06T13:09:58Z")

</div>

Wait, just figured it out.

Had to add:

Page.load\_subclasses

to the very last line of config/environment.rb. Now everything works  
fine. Dug through the list a bit and found this as an error in the gem  
version (but apparently fixed in git). As for ruby 1.8.7, so far so  
good.

Thanks, hopefully this thread will help someone down the road.  
–Daniel
