[Radiant] Ruby Gems Installation Issue
Tom Cloyd
tomcloyd at comcast.net
Sun Apr 20 09:59:38 CDT 2008
Rufo Sanchez wrote:
> On Sat, Apr 19, 2008 at 8:28 PM, Tom Cloyd <tomcloyd at comcast.net
> <mailto:tomcloyd at comcast.net>> wrote:
>
> "locate" spewed out the files in
> "/var/lib/gems/1.8/doc/radiant-0.6.4/", of course. It also listed
> "/var/lib/gems/1.8/bin/radiant", so, I executed the
>
>
> radiant --database sqlite3 "/home/tom/Ruby projects -
> Toms/radiant-test-CMS"
>
> command I'd tried earlier, from within that dir, and once again got:
>
> bash: radiant: command not found
>
>
> Tom,
> Apologies if you know/tried this already, but sometimes it's the
> simple things... What happens if you run the "radiant" command using
> the absolute path, e.g.
>
> /var/lib/gems/1.8/bin/radiant
>
> ...instead of switching to the /var/lib/gems/1.8/bin directory?
>
> Most UNIX installs don't put the current directory in PATH for
> security reasons, so while that may have been the radiant command you
> tried to launch, the shell may not have found it.
>
> If that works, you can add the /var/lib/gems/1.8/bin directory to your
> PATH, and from that point on you should be good to go.
>
> Hope this helps, and good luck with your Radiant adventures,
> Rufo
Well [expletive deleted - several of them, in fact...]! That appears to
have done it. I got a lot of output from that command, and it sure looks
like the right sort of things happened.
I realize that being rather new to Linux there is much I don't know, but
this latest piece of secret knowledge flabbergasts me. Why can't
radiant use the same path all the other gems seems to successfully use?
How could I ever have figured out this problem without your expert help?
I couldn't, it's a good bet.
Now, my next big problem: it appears that I'm supposed to be
Rails-cognizant, which I surely am not. I wish that had been made clear
at the website. I'd still have come to this point, but would have
studied up a bit beforehand. So...that's next. "You only need to create
the "production" database..." Yeah, sure. I have no idea what that
means. Yet. Onward.
Thanks again. Much appreciated!
T.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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