[Radiant] Ruby Gems Installation Issue

Tom Cloyd tomcloyd at comcast.net
Fri Apr 18 07:36:06 CDT 2008


1842759193 wrote:
> Tom,
>
> You can follow the suggestion that Aitor mentioned: installing all the
> relevant Ruby (Debian) packages which in my experience does cause some
> problems with common Gems, they require 1.8.6 plus, Debian provides 1.8.6.
> and as Aitor stated, places them in unusual places.
>
> Alternately, do not install any Ruby packages using
> Synaptic/Apt-get/Aptitude, instead download, configure and install the Ruby
> latest source package. This works for my Debian systems, desktop and server
> everytime. It is not difficult to do, just requires some logic and a bit of
> command line confidence.
>
> If you want to go with Ruby source, let me know and I'll give you some
> instructions.
>
> On 3/13/08, Aitor Garay-Romero <me at aitor.name> wrote:
>   
>> Hi Tom!,
>>
>>    I can't assure this, but for me your trouble seems to be a Ruby Gems
>> issue, not Radiant's.
>>
>>    I have installed Radiant from gem in different machines and
>> environments
>> (Linux, OS X, Windows-Cygwin) and never had any issues with the
>> installation.  Except with sqlite3, but i believe that this is not your
>> case.
>>
>>    Ubuntu is Debian based, and this distro has been critiqued by the
>> packaging policy of Ruby and associated tools.  The problems is that the
>> Ruby interpreter/tools is scattered across many packages, and you must
>> install all of them to avoid problems.
>>
>>    More info in:
>> http://paulgoscicki.com/archives/2005/09/ruby-on-rails-on-ubuntu/ and
>> http://del.icio.us/tag/ruby%2Bdebian
>>
>>    /AITOR
OK - back on this project now. I have now what appears to be a good 
install of radiant - meaning that the gem is installed, via the command 
line, with no errors. I'm working in Kubuntu Linux 7.10

My next problem is the second instruction on this page:
http://radiantcms.org/download/
which is "Once you have the gem installed, use the “radiant” command to 
create a new project:

|radiant --database [mysql|postresql|sqlite3] path/to/project
|

Didn't work for me. More likely I simply don't know what I'm doing.

My initial problem is the IDEA of the "radiant" command. What is that? 
The command, as given on the page, doesn't seem to work on the command 
line. Thinking that I'm having problems with starting in the right 
working directory, I tried "radiant help" (just guessing that that's 
possible) in:
/var/lib/gems/1.8/gems/radiant-0.6.4
/var/lib/gems/1.8/gems
and in both cases got just "bash: radiant: command not found"

I also got that to this: "radiant --database sqlite3 "/home/tom/Ruby 
projects - Toms/radiant-test-CMS"" (no surprise)

Something is apparently obvious to everyone but me, so I'm blowing it. 
Can someone tell me what it is?

I'm reasonably familiar with a couple of CMSs, reasonably familiar with 
Ruby and Linux, and hardly at all with Rails. I've been assuming I could 
work fruitfully with Radiant simply as a CMS, with a little Ruby thrown 
in at times. Am I being overly optimistic? (I do have a couple of Rails 
books for references, but I'm really really hoping not to have to dig 
into Rails at this time. My dance card's quite
full right now.)

Any and all help will be very much appreciated.

Tom

-- 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC
Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< tc at tomcloyd.com >> (email)
<< TomCloyd.com >> (website & psychotherapy weblog) 
<< sleightmind.wordpress.com >> (mental health issues weblog)
<< directpathdesign.com >> (web site design & consultation)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Radiant mailing list