Installation Problem

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:inannounce’
from script/setup_database:77:in load_environment' from script/setup_database:17:inrun’
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.

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

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” [email protected] 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.

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/). 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

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 ~

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.

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” [email protected] 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

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs