RoR: Help with Tsohost

Soldato
Joined
25 Jul 2006
Posts
3,877
Does anybody fancy writing a short guide to installing Radiant CMS on Tsohost if they've used before? Or point me in the right direction to get started?

I've never used RoR before and I'm not sure if Tsohost is the standard setup (Ruby on Rails is provided by mod_rails/Phusion Passenger). So the screencast on the Radiant website wasn't much help.
 
The beginning basically. :D

I logged on with Terminal ran "gem install radiant" which gave a couple of errors (don't have the exact error messages sorry) about not being able to install in x directory, so they would be installed to .gem instead because of permissions.

The next command is "radiant --database sqlite3 ~/Sites/example" but it says Radiant isn't a valid command. So I'm guessing it's not installed properly or I need to set up this below first.

I wasn't sure if I was pointing this to the "example" folder after I'd run "radiant --database sqlite3 ~/Sites/example" or if I should be pointing it to the Radiant install.
2rw3msy.png
 
It sounds like the radiant is installed somewhere else other than it's expecting. If you remember where it said it was going to install it to instead, you may need to browse to that directory in your shell/terminal to execute the radiant binary to run the command 'radiant --database sqlite3 ~/Sites/example'. If you're still stuck you should probably give Tsohost a call/email.
 
Just gave that a try and it didn't work. :(

Incase anyone else can help this was the error it gave me.

WARNING: Installing to ~/.gem since /usr/lib/ruby/gems/1.8 and
/usr/bin aren't both writable.
WARNING: You don't have /var/sites/m/domain-name/.gem/ruby/1.8/bin in your PATH,
gem executables will not run.
Successfully installed radiant-0.8.0
1 gem installed
Installing ri documentation for radiant-0.8.0...
Installing RDoc documentation for radiant-0.8.0...

Think I'll give Tsohost an email see if they're willing to point a n00b in the right direction. :)
 
if you part type radiant e.g. rad, and press tab, does it auto complete? I'm just wondering if it's in the $PATH. If not you will have to run radiant command from the direct it resides in e.g. ./radiant
 
Thanks for the help.

Got it to work by running:

.gem/ruby/1.8/bin/radiant --database mysql appfolder

And typing rad then hitting tab didn't work. But that's not working now I've installed it either. So not sure what that means. :D
 
Back
Top Bottom