# Installation Problem

**URL:** <https://www.ruby-forum.com/t/installation-problem/96218>\
**Category:** Radiant CMS\
**Created:** [June 27, 2006, 12:36pm UTC](https://www.ruby-forum.com/t/installation-problem/96218 "2006-06-27T12:36:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harvey\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Post date:** [June 27, 2006, 12:36pm UTC](https://www.ruby-forum.com/t/installation-problem/96218/1 "2006-06-27T12:36:41Z")

</div>

Morning,

I’ve been keeping an eye on Radiant for a while and this morning I found  
I  
actually had some time to play with it.

I have a Mac Mini running OS 10.4.6 and I have been using Locomotive  
which  
has Rails 1.1.2 and Ruby 1.8.4.

I have setup three databases namely radiant\_dev, radiant\_test and  
radiant\_live.

The problem I have is when I run the ruby script/setup\_database  
development  
command I get the following error.

## Loading development environment…FAILED ./script/…/config/environment.rb:10:in `require’: no such file to load

radius (LoadError)  
from ./script/…/config/environment.rb:10  
from script/setup\_database:78:in `load_environment' from script/setup_database:251:in`announce’  
from script/setup\_database:77:in `load_environment' from script/setup_database:17:in`run’  
from script/setup\_database:9:in `run’  
from script/setup\_database:290

Does anybody have any ideas of what I am doing wrong?

Thanks  
Harvey

This e-mail has been scanned for all viruses by MessageLabs.

---

<div class="post-metadata">

**Author:** ![Harvey\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Post date:** [June 27, 2006, 3:24pm UTC](https://www.ruby-forum.com/t/installation-problem/96218/2 "2006-06-27T15:24:55Z")

</div>

Harvey B. wrote:

> Does anybody have any ideas of what I am doing wrong?

Did you install Radiant from the subversion repository or the Gem?

The error above is an indication that Radius (the tag parsing library)  
is not installed. If you are using the gem try:

% gem install radius

If you’ve checked it out via Subversion there is something else wrong.  
Check to see if vendor/radius exists.

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![Harvey\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Post date:** [June 27, 2006, 3:27pm UTC](https://www.ruby-forum.com/t/installation-problem/96218/3 "2006-06-27T15:27:56Z")

</div>

John  
I installed from the subversion repository. All I have in my vendor dir  
is  
bluecloth, plugins and a rails folder. Is it better to install Radiant  
through Gem? If so, you don’t happen to have a link to instructions for  
doing so?

Thanks for your help  
Harvey

On 27/6/06 14:23, “John W. Long” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > ```
> > from script/setup_database:290
> > 
> > ```
> 
> If you’ve checked it out via Subversion there is something else wrong.
> 
> This e-mail has been scanned for all viruses by MessageLabs.

This e-mail has been scanned for all viruses by MessageLabs.

---

<div class="post-metadata">

**Author:** ![Harvey\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Post date:** [June 27, 2006, 9:01pm UTC](https://www.ruby-forum.com/t/installation-problem/96218/4 "2006-06-27T21:01:11Z")

</div>

Harvey B. wrote:

> I installed from the subversion repository. All I have in my vendor dir is  
> bluecloth, plugins and a rails folder.

Ok, something is wrong then. You should have:

$ ls -l vendor/  
total 0  
drwxr-xr-x 12 jlong jlong 408 Jun 19 16:13 bluecloth  
drwxr-xr-x 3 jlong jlong 102 Jun 19 16:13 plugins  
drwxr-xr-x 10 jlong jlong 340 Jun 20 20:06 radius  
drwxr-xr-x 12 jlong jlong 408 Jun 19 16:15 rails  
drwxr-xr-x 10 jlong jlong 340 Jun 19 16:16 redcloth

Perhaps the svn command was interrupted when you checked out? Try `svn update vendor` or if that doesn’t work, try checking it out again.

> Is it better to install Radiant  
> through Gem? If so, you don’t happen to have a link to instructions for  
> doing so?

I didn’t know if you were using the beta gem or not  
([http://radiantcms.org/beta-gem/](http://radiantcms.org/beta-gem/)). The beta gem isn’t recommended for  
production use yet, but if you just want to get something going quickly  
it’s highly recommended.

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![Harvey\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Post date:** [June 27, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/installation-problem/96218/5 "2006-06-27T20:52:00Z")

</div>

Harvey,

I’ve successfully setup radiant using Locomotive 2.06 on Mac OS X  
10.4.6 from the subversion server a number of times. Honestly, I’d  
try doing another checkout or even try updating your existing  
checkout. Every once in a while. I experience weirdness with  
subversion like this.

Also, here is a list of gotchas you should watch out for:

1. If you plan on using ANY rails or application specific command-  
line scripts, you MUST load the Locomotive bundle path into the  
Terminal app. Right click the name of your rails project in  
Locomotive and select “Open in Terminal”. You should see something  
like this when Terminal launches:

Spike:~ jsobol$ source /private/var/tmp/folders.501/TemporaryItems/  
D263A150-05FF-11DB-  
AD67-000D936BC702-10169-00000A211927652F.environment.bash

1. Make sure your Locomotive project is synced with your app’s  
development or production environment. Click the Info button while  
your project is selected and choose either development or production  
from the Run Mode drop down list.

2. Don’t forget to restart your rails app when you change ANYTHING in  
config/database.yml. Select your project in Locomotive and hit the  
restart / run button.

Also, Locomotive has a pretty comprehensive guide that’s found by  
selecting “Locomotive Help” from the Help menu.

~ ryan ~

---

<div class="post-metadata">

**Author:** ![Harvey\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Post date:** [June 28, 2006, 1:33am UTC](https://www.ruby-forum.com/t/installation-problem/96218/6 "2006-06-28T01:33:14Z")

</div>

> I installed from the subversion repository. All I have in my  
> vendor dir is  
> bluecloth, plugins and a rails folder. Is it better to  
> install Radiant  
> through Gem? If so, you don’t happen to have a link to  
> instructions for  
> doing so?

Your problem is probably that you’re sitting behind a firewall and you  
can’t get to the radius repository (which is served over the svn://  
protocol rather than http:// like the other externals).

If you can’t get around your firewall, then doing a “gem install radius”  
will also get you through.

Daniel.

---

<div class="post-metadata">

**Author:** ![Harvey\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/13edae/32.png) [@Harvey\_B](https://www.ruby-forum.com/u/Harvey_B)\
**Post date:** [June 28, 2006, 10:36am UTC](https://www.ruby-forum.com/t/installation-problem/96218/7 "2006-06-28T10:36:17Z")

</div>

John, Dan and Ryan

I now have a working copy of Radiant on Mac. Thanks Guys for the help.

In case anybody has a similar problem, the issue I had was with  
Subversion  
and the SVN:EXTERNAL command. Daniel correctly guessed that it was a  
firewall issue. To quickly get round the problem I just downloaded  
Radius  
and Redcloth.

Now the fun begins

Harvey

On 27/6/06 19:59, “John W. Long” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> drwxr-xr-x 10 jlong jlong 340 Jun 20 20:06 radius  
> I didn’t know if you were using the beta gem or not  
> [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)
> 
> This e-mail has been scanned for all viruses by MessageLabs.

This e-mail has been scanned for all viruses by MessageLabs.
