# Release of how to set up on DreamHost the proper way coming

**URL:** <https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487>\
**Category:** Radiant CMS\
**Created:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487 "2007-01-19T16:30:51Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487/1 "2007-01-19T16:30:51Z")

</div>

This is my first post here, so bear with me. 🙂

I felt, as since there has been previous interest and current interest,  
and that current ‘methods’ of this are not working AT ALL. _shiver_ I  
spent a few days fighting to get Radiant running; it is exactly what I  
need; I hate PHP CMS setups (mostly cause they are unwieldy at best,)  
and other CMSs (Ruby and otherwise) do not fit my needs well. Granted  
Radiant doesn’t fit it perfectly, it does pretty good.

Anyways, off topic; as since all the other sites (not JUST Radiant’s)  
for setup on Dreamhost are incorrect (Some of them are so far off it’s  
pathetic,) I am assembling a set of instructions on proper setup (And  
moreso especially FastCGI support – Evil to work with, to say the  
least) and will be releasing them within the week.

As well, I may assemble a tarball for an unpacked site as since I’m not  
overly graceful with the setup of this package yet that people can just  
tar -xvf it and follow a much shorter set of instructions. For this, it  
would be nice to see if someone else is on a different Dreamhost server  
to test this idea (IE:- ruby/etc in same location on each server)

Anyways, cheers all!  
BladedThoth

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487/2 "2007-01-19T16:31:00Z")

</div>

Andrew,

I’ll be interested in giving that a read. I have an account with them  
and am surprised so many people have had problems installing Radiant  
there. Maybe my experience is an anomaly, but I was up and running  
with Radiant in about 5-7 minutes.

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [September 25, 2007, 10:38pm UTC](https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487/3 "2007-09-25T22:38:33Z")

</div>

Well, if you insist in intalling from gem, then I suggest you first  
set Radiant in _development_ mode, and kill all FGCI/Rails/Ruby  
pocesses associated with Radiant. a good way is to run the command  
“top” in the shell and see which FCGI/Rails/Ruby are owned by Radiant.  
Then very ungracefully kill them (kill -9 pid). Once you’ve killed all  
related pid’s, then fix whatever you need to fix and then point your  
browser to our Radiant install.

I cannot emphasize enough how easy it was to install from source though.

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [September 25, 2007, 10:42pm UTC](https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487/4 "2007-09-25T22:42:10Z")

</div>

May have a fix for this: Waiting for my backup site to come online on  
DreamHost. DreamHost’s DNS servers seem to be having issues ATM again.

BladedThoth

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [September 25, 2007, 10:42pm UTC](https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487/5 "2007-09-25T22:42:44Z")

</div>

Okay, got source to work with minor modifications. Looks like  
essentially like radiant --unpack. It seems that the instanced version  
is not liking the detection of bluecloth on --some-- hosts, and also  
looks like it might be a gem issue moreso than anything else.

I am going to write on how to use the source on installing, because for  
all I know, gem installations which are instanced are bugged on  
DreamHost and elsewhere, and I do not want to encourage this, even if  
theoretically easier to upgrade.

Thanks again!  
Andy

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [September 25, 2007, 10:44pm UTC](https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487/6 "2007-09-25T22:44:11Z")

</div>

> This could sound stupid: tried RAILS\_ROOT/lib ?
> 
> They are added at the beginning of environment loading…

Tried that too. No avail.

> Maybe adjusting your .htaccess file instead?  
> SetEnv GEM\_HOME /usr/lib/ruby/gems/1.8  
> SetEnv GEM\_PATH /usr/lib/ruby/gems/1.8:/home/bladedthoth/.gems
> 
> Maybe this wiki page could help you on your quest:
> 
> [Peak Obsession](http://wiki.rubyonrails.com/rails/pages/HowToUseMultipleGemRepositories)

Tried this too  
. Reading more online; It seems that Dreamhost isn’t the only site  
plagued with the bluecloth bug, and not the only sourcecode bugged by  
this glitch either (Search bluecloth on Google; More specifically that  
error) – I am about to try from the source itself; I have a suspicion  
it’s gonna be about the same, if not the same…

Thanks all for helping. I was going to be content posting how to do this  
with --unpack, but seeing there is a really good chance --unpack is  
going away, I need to figure this out for myself and others (With your  
help) 🙂

Andy

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [September 25, 2007, 10:43pm UTC](https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487/7 "2007-09-25T22:43:42Z")

</div>

Okay. Got the fix started. Here’s the problem (Again) – It nags that  
bluecloth does not exist. I’ve dropped bluecloth.rb in RAILS\_ROOT, no  
avail. vendor/, nope. vendor/plugins/, nope again. GEM\_PATH, nope again.  
Can’t access GEM\_HOME. I’ve ran out of ideas. radiant and radius is  
seen, as is everything else. Just not seeing bluecloth. My previous fix  
by tossing bluecloth into RAILS\_ROOT isn’t working now. Ideas?

Just as an FYI, I’ve tossed the following two lines into my dispatch.cgi  
and dispatch.fcgi. No luck:

ENV[‘GEM\_HOME’]=’/usr/lib/ruby/gems/1.8’  
ENV[‘GEM\_PATH’]=’/usr/lib/ruby/gems/1.8:/home/bladedthoth/.gems’

It made it so that ruby would see my gem folder.

Ideas on how to make radiant see bluecloth?

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [September 25, 2007, 10:45pm UTC](https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487/8 "2007-09-25T22:45:08Z")

</div>

I am guessing it may be server-related then.

Yeah, I know what you mean. Windows; seconds (Under Instant Rails) - my  
home Fedora server. All goes fine. Get onto DreamHost, try to do it  
‘vanilla’, no luck. Try to follow all the sites out there; no luck. Part  
of the problem is that the shebang of all the dispatches point to  
something totally different, for one. Part two, is that the gems  
(locally installed) are not seen by the global ruby app for processing,  
even when made fully visible. (chmod)

Anyways, got to go to work. TTFN  
BladedThoth

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [September 25, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487/9 "2007-09-25T22:49:06Z")

</div>

Yes I am. Had to check myself to make sure. 🙂

This DreamHost thing is whoppin’ my butt. I got radiant --unpack working  
fine with a buncha small changes, but without --unpack, it refuses to  
run. The error is as such:

/usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:18:in  
`require\_\_’: no such file to load – bluecloth (MissingSourceFile)

It picks up Radiant and everything now, but when I try the bluecloth mod  
as desribed on the Wiki, no luck. Doesn’t seem to make a lick of  
difference, no matter where I put that. I don’t know what would make the  
unpack and the instance version is any different really (Looking through  
it all. Tons of sifting)

Thanks again!

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [September 25, 2007, 10:49pm UTC](https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487/10 "2007-09-25T22:49:31Z")

</div>

Andrew,

I _HIGHLY_ suggest you install from source. Will make your life much  
easier.

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [September 25, 2007, 10:45pm UTC](https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487/11 "2007-09-25T22:45:23Z")

</div>

Andrew,

Are you running on production mode?

---

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [September 25, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/release-of-how-to-set-up-on-dreamhost-the-proper-way-coming/82487/12 "2007-09-25T22:52:13Z")

</div>

On 1/16/07, Andrew K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Okay. Got the fix started. Here’s the problem (Again) – It nags that  
> bluecloth does not exist. I’ve dropped bluecloth.rb in RAILS\_ROOT, no  
> avail. vendor/, nope. vendor/plugins/, nope again. GEM\_PATH, nope again.  
> Can’t access GEM\_HOME. I’ve ran out of ideas. radiant and radius is  
> seen, as is everything else. Just not seeing bluecloth. My previous fix  
> by tossing bluecloth into RAILS\_ROOT isn’t working now. Ideas?

This could sound stupid: tried RAILS\_ROOT/lib ?

They are added at the beginning of environment loading…

> Just as an FYI, I’ve tossed the following two lines into my dispatch.cgi  
> and dispatch.fcgi. No luck:
> 
> ENV[‘GEM\_HOME’]=‘/usr/lib/ruby/gems/1.8’  
> ENV[‘GEM\_PATH’]=‘/usr/lib/ruby/gems/1.8:/home/bladedthoth/.gems’

Maybe adjusting your .htaccess file instead?

SetEnv GEM\_HOME /usr/lib/ruby/gems/1.8  
SetEnv GEM\_PATH /usr/lib/ruby/gems/1.8:/home/bladedthoth/.gems

Maybe this wiki page could help you on your quest:

[http://wiki.rubyonrails.com/rails/pages/HowToUseMultipleGemRepositories](http://wiki.rubyonrails.com/rails/pages/HowToUseMultipleGemRepositories)

## – Luis L. Multimedia systems

Leaders are made, they are not born. They are made by hard effort,  
which is the price which all of us must pay to achieve any goal that  
is worthwhile.  
Vince Lombardi
